nixpkgs/pkgs/development/python-modules/rpyc/default.nix

35 lines
756 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
, fetchFromGitHub
, nose
, plumbum
}:
buildPythonPackage rec {
pname = "rpyc";
2019-10-16 10:43:14 +01:00
version = "4.1.2";
src = fetchFromGitHub {
owner = "tomerfiliba";
repo = pname;
rev = version;
sha256 = "1xvrcik1650r1412fg79va0kd0fgg1ml241y1ai429qwy87dil1k";
};
propagatedBuildInputs = [ plumbum ];
checkInputs = [ nose ];
checkPhase = ''
cd tests
# some tests have added complexities and some tests attempt network use
nosetests -I test_deploy -I test_gevent_server -I test_ssh -I test_registry
'';
meta = with stdenv.lib; {
description = "Remote Python Call (RPyC), a transparent and symmetric RPC library";
homepage = https://rpyc.readthedocs.org;
license = licenses.mit;
};
}