nixpkgs/pkgs/development/python-modules/pyro5/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
842 B
Nix
Raw Normal View History

2019-12-02 11:39:42 +00:00
{ buildPythonPackage
, fetchPypi
, lib
, stdenv
2019-12-02 11:39:42 +00:00
, serpent
, pythonOlder
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "Pyro5";
2021-12-24 15:53:59 +00:00
version = "5.13.1";
2019-12-02 11:39:42 +00:00
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
2021-12-24 15:53:59 +00:00
sha256 = "2be9da379ae0ec4cf69ffb3c5c589b698eea00e614a9af7945b87fa9bb09baf2";
2019-12-02 11:39:42 +00:00
};
propagatedBuildInputs = [ serpent ];
checkInputs = [ pytestCheckHook ];
# ignore network related tests, which fail in sandbox
disabledTests = [ "StartNSfunc" "Broadcast" "GetIP" "TestNameServer" "TestBCSetup" ]
++ lib.optionals stdenv.hostPlatform.isDarwin [
"Socket"
];
2019-12-02 11:39:42 +00:00
meta = with lib; {
description = "Distributed object middleware for Python (RPC)";
homepage = "https://github.com/irmen/Pyro5";
license = licenses.mit;
maintainers = with maintainers; [ peterhoeg ];
};
}