about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/rpyc/default.nix
blob: e549a00c894805c096a129028a6a4dcd0fd2a454 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{ lib
, buildPythonPackage
, fetchFromGitHub
, nose
, plumbum
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "rpyc";
  version = "5.0.1";

  src = fetchFromGitHub {
    owner = "tomerfiliba";
    repo = pname;
    rev = version;
    sha256 = "1g75k4valfjgab00xri4pf8c8bb2zxkhgkpyy44fjk7s5j66daa1";
  };

  propagatedBuildInputs = [ plumbum ];

  checkInputs = [ pytestCheckHook ];

  # Disable tests that requires network access
  disabledTests = [
    "test_api"
    "test_pruning"
    "test_rpyc"
  ];
  pythonImportsCheck = [ "rpyc" ];

  meta = with lib; {
    description = "Remote Python Call (RPyC), a transparent and symmetric RPC library";
    homepage = "https://rpyc.readthedocs.org";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ fab ];
  };
}