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