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

40 lines
753 B
Nix
Raw Normal View History

{
stdenv,
lib,
buildPythonPackage,
fetchPypi,
setuptools,
bzip2,
openssl,
}:
buildPythonPackage rec {
pname = "zeroc-ice";
version = "3.7.10.1";
pyproject = true;
src = fetchPypi {
pname = "zeroc_ice";
inherit version;
hash = "sha256-sGOq/aNg33EfdpRVKbtUFXbyZr5B5dWi3Xf10yDBhmQ=";
};
build-system = [ 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 ];
};
}