mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
38 lines
827 B
Nix
38 lines
827 B
Nix
{ buildPythonPackage
|
|
, fetchPypi
|
|
, lib
|
|
, stdenv
|
|
, serpent
|
|
, pythonOlder
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "Pyro5";
|
|
version = "5.14";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-ZP3OE3sP5TLohhTSRrfJi74KT0JnhsUkU5rNxeaUCGo=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ serpent ];
|
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
# ignore network related tests, which fail in sandbox
|
|
disabledTests = [ "StartNSfunc" "Broadcast" "GetIP" "TestNameServer" "TestBCSetup" ]
|
|
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
|
"Socket"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Distributed object middleware for Python (RPC)";
|
|
homepage = "https://github.com/irmen/Pyro5";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
};
|
|
}
|