1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, nose
5, plumbum
6, pytestCheckHook
7}:
8
9buildPythonPackage rec {
10 pname = "rpyc";
11 version = "5.0.1";
12
13 src = fetchFromGitHub {
14 owner = "tomerfiliba";
15 repo = pname;
16 rev = version;
17 sha256 = "1g75k4valfjgab00xri4pf8c8bb2zxkhgkpyy44fjk7s5j66daa1";
18 };
19
20 propagatedBuildInputs = [ plumbum ];
21
22 checkInputs = [ pytestCheckHook ];
23
24 # Disable tests that requires network access
25 disabledTests = [
26 "test_api"
27 "test_pruning"
28 "test_rpyc"
29 ];
30 pythonImportsCheck = [ "rpyc" ];
31
32 meta = with lib; {
33 description = "Remote Python Call (RPyC), a transparent and symmetric RPC library";
34 homepage = "https://rpyc.readthedocs.org";
35 license = with licenses; [ mit ];
36 maintainers = with maintainers; [ fab ];
37 };
38}