diff --git a/pkgs/development/python-modules/rpyc/default.nix b/pkgs/development/python-modules/rpyc/default.nix new file mode 100644 index 000000000000..42176b134eca --- /dev/null +++ b/pkgs/development/python-modules/rpyc/default.nix @@ -0,0 +1,25 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, nose +, plumbum +}: + +buildPythonPackage rec { + pname = "rpyc"; + version = "3.3.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "43fa845314f0bf442f5f5fab15bb1d1b5fe2011a8fc603f92d8022575cef8b4b"; + }; + + propagatedBuildInputs = [ nose plumbum ]; + + meta = with stdenv.lib; { + description = "Remote Python Call (RPyC), a transparent and symmetric RPC library"; + homepage = http://rpyc.readthedocs.org; + license = licenses.mit; + }; + +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 819ad5241de8..00ccb29469ea 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3646,23 +3646,7 @@ in { rpy2 = callPackage ../development/python-modules/rpy2 {}; - rpyc = buildPythonPackage rec { - name = "rpyc-${version}"; - version = "3.3.0"; - - src = pkgs.fetchurl { - url = "mirror://pypi/r/rpyc/${name}.tar.gz"; - sha256 = "43fa845314f0bf442f5f5fab15bb1d1b5fe2011a8fc603f92d8022575cef8b4b"; - }; - - propagatedBuildInputs = with self; [ nose plumbum ]; - - meta = { - description = "Remote Python Call (RPyC), a transparent and symmetric RPC library"; - homepage = http://rpyc.readthedocs.org; - license = licenses.mit; - }; - }; + rpyc = callPackage ../development/python-modules/rpyc { }; rsa = buildPythonPackage rec { name = "rsa-${version}";