pythonPackages.ppft: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-25 21:50:06 -04:00 committed by Frederik Rietdijk
parent 96d92cf9ed
commit 80e9523d4c
2 changed files with 25 additions and 17 deletions

View file

@ -0,0 +1,24 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, six
}:
buildPythonPackage rec {
pname = "ppft";
version = "1.6.4.6";
src = fetchPypi {
inherit pname version;
sha256 = "6f99c861822884cb00badbd5f364ee32b90a157084a6768040793988c6b92bff";
};
propagatedBuildInputs = [ six ];
meta = with stdenv.lib; {
description = "Distributed and parallel python";
homepage = https://github.com/uqfoundation;
license = licenses.bsd3;
};
}

View file

@ -3205,23 +3205,7 @@ in {
pox = callPackage ../development/python-modules/pox { };
ppft = buildPythonPackage rec {
name = "ppft-${version}";
version = "1.6.4.6";
src = pkgs.fetchurl {
url = "mirror://pypi/p/ppft/${name}.tgz";
sha256 = "6f99c861822884cb00badbd5f364ee32b90a157084a6768040793988c6b92bff";
};
propagatedBuildInputs = with self; [ six ];
meta = {
description = "Distributed and parallel python";
homepage = https://github.com/uqfoundation;
license = licenses.bsd3;
};
};
ppft = callPackage ../development/python-modules/ppft { };
praw = callPackage ../development/python-modules/praw { };