2021-01-12 18:33:02 +00:00
|
|
|
{ lib
|
2018-10-26 17:49:58 +01:00
|
|
|
, buildPythonPackage
|
2019-10-11 22:11:15 +01:00
|
|
|
, fetchFromGitHub
|
2018-10-26 17:49:58 +01:00
|
|
|
, nose
|
|
|
|
, plumbum
|
2021-01-12 18:33:02 +00:00
|
|
|
, pytestCheckHook
|
2018-10-26 17:49:58 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "rpyc";
|
2021-01-12 18:29:39 +00:00
|
|
|
version = "5.0.1";
|
2018-10-26 17:49:58 +01:00
|
|
|
|
2019-10-11 22:11:15 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tomerfiliba";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-01-12 18:29:39 +00:00
|
|
|
sha256 = "1g75k4valfjgab00xri4pf8c8bb2zxkhgkpyy44fjk7s5j66daa1";
|
2018-10-26 17:49:58 +01:00
|
|
|
};
|
|
|
|
|
2019-10-11 22:11:15 +01:00
|
|
|
propagatedBuildInputs = [ plumbum ];
|
|
|
|
|
2021-01-12 18:33:02 +00:00
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
|
|
|
|
# Disable tests that requires network access
|
|
|
|
disabledTests = [
|
|
|
|
"test_api"
|
|
|
|
"test_pruning"
|
|
|
|
"test_rpyc"
|
|
|
|
];
|
|
|
|
pythonImportsCheck = [ "rpyc" ];
|
2018-10-26 17:49:58 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-26 17:49:58 +01:00
|
|
|
description = "Remote Python Call (RPyC), a transparent and symmetric RPC library";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://rpyc.readthedocs.org";
|
2021-01-12 18:35:40 +00:00
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
2018-10-26 17:49:58 +01:00
|
|
|
};
|
|
|
|
}
|