nixpkgs/pkgs/development/python-modules/zeroc-ice/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

40 lines
735 B
Nix

{ stdenv
, lib
, buildPythonPackage
, fetchPypi
, setuptools
, bzip2
, openssl
}:
buildPythonPackage rec {
pname = "zeroc-ice";
version = "3.7.10";
pyproject = true;
src = fetchPypi {
inherit version pname;
hash = "sha256-Bwn2Y/Bbu6O89iaSNWvMpXBhyJRmj6eL8j6HiPpbQbM=";
};
nativeBuildInputs = [
setuptools
];
buildInputs = [
bzip2
openssl
];
pythonImportsCheck = [ "Ice" ];
meta = with lib; {
broken = stdenv.isDarwin;
homepage = "https://zeroc.com/";
license = licenses.gpl2;
description = "Comprehensive RPC framework with support for Python, C++, .NET, Java, JavaScript and more.";
mainProgram = "slice2py";
maintainers = with maintainers; [ abbradar ];
};
}