nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 37 lines 842 B view raw
1{ buildPythonPackage 2, fetchPypi 3, lib 4, stdenv 5, serpent 6, pythonOlder 7, pytestCheckHook 8}: 9 10buildPythonPackage rec { 11 pname = "Pyro5"; 12 version = "5.13.1"; 13 14 disabled = pythonOlder "3.6"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "2be9da379ae0ec4cf69ffb3c5c589b698eea00e614a9af7945b87fa9bb09baf2"; 19 }; 20 21 propagatedBuildInputs = [ serpent ]; 22 23 checkInputs = [ pytestCheckHook ]; 24 25 # ignore network related tests, which fail in sandbox 26 disabledTests = [ "StartNSfunc" "Broadcast" "GetIP" "TestNameServer" "TestBCSetup" ] 27 ++ lib.optionals stdenv.hostPlatform.isDarwin [ 28 "Socket" 29 ]; 30 31 meta = with lib; { 32 description = "Distributed object middleware for Python (RPC)"; 33 homepage = "https://github.com/irmen/Pyro5"; 34 license = licenses.mit; 35 maintainers = with maintainers; [ peterhoeg ]; 36 }; 37}