Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 758 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchFromGitHub 4, nose 5, plumbum 6}: 7 8buildPythonPackage rec { 9 pname = "rpyc"; 10 version = "4.1.3"; 11 12 src = fetchFromGitHub { 13 owner = "tomerfiliba"; 14 repo = pname; 15 rev = version; 16 sha256 = "145mi8p37x9cbfm5117g4ng7b5rmghjjwgm319qqhwgzvqg3y4j9"; 17 }; 18 19 propagatedBuildInputs = [ plumbum ]; 20 21 checkInputs = [ nose ]; 22 checkPhase = '' 23 cd tests 24 # some tests have added complexities and some tests attempt network use 25 nosetests -I test_deploy -I test_gevent_server -I test_ssh -I test_registry 26 ''; 27 28 meta = with stdenv.lib; { 29 description = "Remote Python Call (RPyC), a transparent and symmetric RPC library"; 30 homepage = "https://rpyc.readthedocs.org"; 31 license = licenses.mit; 32 }; 33 34}