Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 44 lines 774 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, lib 5, python 6, serpent 7, dill 8, cloudpickle 9, msgpack 10, isPy27 11, isPy33 12, selectors34 13}: 14 15buildPythonPackage rec { 16 pname = "Pyro4"; 17 version = "4.75"; 18 19 src = fetchPypi { 20 inherit pname version; 21 sha256 = "1dfpp36imddx19yv0kd28gk1l71ckhpqy6jd590wpm2680jw15rq"; 22 }; 23 24 propagatedBuildInputs = [ 25 serpent 26 ] ++ lib.optionals (isPy27 || isPy33) [ selectors34 ]; 27 28 buildInputs = [ 29 dill 30 cloudpickle 31 msgpack 32 ]; 33 34 checkPhase = '' 35 ${python.interpreter} setup.py test 36 ''; 37 38 meta = with stdenv.lib; { 39 description = "Distributed object middleware for Python (RPC)"; 40 homepage = https://github.com/irmen/Pyro4; 41 license = licenses.mit; 42 maintainers = with maintainers; [ prusnak ]; 43 }; 44}