depot/third_party/nixpkgs/pkgs/development/python-modules/zeroc-ice/default.nix

40 lines
735 B
Nix
Raw Normal View History

{ 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 ];
};
}