pythonPackges.rpyc: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-26 12:49:58 -04:00 committed by Frederik Rietdijk
parent 7eb396609b
commit 0f7de34c6a
2 changed files with 26 additions and 17 deletions

View File

@ -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;
};
}

View File

@ -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}";