mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
34 lines
720 B
Nix
34 lines
720 B
Nix
{ buildPythonPackage
|
|
, fetchPypi
|
|
, lib
|
|
, serpent
|
|
, pythonOlder
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "Pyro5";
|
|
version = "5.7";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "08n9jqm81pjw9hvzk6kgxwqvh29q3glgccf77kxih5nn77pwdnni";
|
|
};
|
|
|
|
propagatedBuildInputs = [ serpent ];
|
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
# ignore network related tests, which fail in sandbox
|
|
disabledTests = [ "StartNSfunc" "Broadcast" "GetIP" ];
|
|
|
|
meta = with lib; {
|
|
description = "Distributed object middleware for Python (RPC)";
|
|
homepage = "https://github.com/irmen/Pyro5";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
};
|
|
}
|