depot/third_party/nixpkgs/pkgs/development/python-modules/rpyc/default.nix
Default email ce641f4048 Project import generated by Copybara.
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
2021-12-06 17:07:01 +01:00

37 lines
789 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, 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 ];
};
}