2018-10-26 17:49:58 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
2019-10-11 22:11:15 +01:00
|
|
|
, fetchFromGitHub
|
2018-10-26 17:49:58 +01:00
|
|
|
, nose
|
|
|
|
, plumbum
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "rpyc";
|
2019-10-16 10:43:14 +01:00
|
|
|
version = "4.1.2";
|
2018-10-26 17:49:58 +01:00
|
|
|
|
2019-10-11 22:11:15 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tomerfiliba";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1xvrcik1650r1412fg79va0kd0fgg1ml241y1ai429qwy87dil1k";
|
2018-10-26 17:49:58 +01:00
|
|
|
};
|
|
|
|
|
2019-10-11 22:11:15 +01:00
|
|
|
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
|
|
|
|
'';
|
2018-10-26 17:49:58 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Remote Python Call (RPyC), a transparent and symmetric RPC library";
|
2019-04-22 09:24:21 +01:00
|
|
|
homepage = https://rpyc.readthedocs.org;
|
2018-10-26 17:49:58 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|