pythonPackages.pathos: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-25 20:56:00 -04:00 committed by Frederik Rietdijk
parent 35bbea5c41
commit c11f847e24
2 changed files with 31 additions and 20 deletions

View file

@ -0,0 +1,30 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, dill
, pox
, ppft
, multiprocess
}:
buildPythonPackage rec {
pname = "pathos";
version = "0.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "e35418af733bf434da83746d46acca94375d6e306b3df330b2a1808db026a188";
};
propagatedBuildInputs = [ dill pox ppft multiprocess ];
# Require network
doCheck = false;
meta = with stdenv.lib; {
description = "Parallel graph management and execution in heterogeneous computing";
homepage = http://www.cacr.caltech.edu/~mmckerns/pathos.htm;
license = licenses.bsd3;
};
}

View file

@ -3097,26 +3097,7 @@ in {
patch = callPackage ../development/python-modules/patch { };
pathos = buildPythonPackage rec {
name = "pathos-${version}";
version = "0.2.0";
src = pkgs.fetchurl {
url = "mirror://pypi/p/pathos/${name}.tgz";
sha256 = "e35418af733bf434da83746d46acca94375d6e306b3df330b2a1808db026a188";
};
propagatedBuildInputs = with self; [ dill pox ppft multiprocess ];
# Require network
doCheck = false;
meta = {
description = "Parallel graph management and execution in heterogeneous computing";
homepage = http://www.cacr.caltech.edu/~mmckerns/pathos.htm;
license = licenses.bsd3;
};
};
pathos = callPackage ../development/python-modules/pathos { };
patsy = callPackage ../development/python-modules/patsy { };