at 23.05-pre 827 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.14"; 13 14 disabled = pythonOlder "3.6"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "sha256-ZP3OE3sP5TLohhTSRrfJi74KT0JnhsUkU5rNxeaUCGo="; 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}