pythonPackages.pox: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-25 21:48:10 -04:00 committed by Frederik Rietdijk
parent c0c9392ce7
commit 96d92cf9ed
2 changed files with 22 additions and 15 deletions

View File

@ -0,0 +1,21 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "pox";
version = "0.2.2";
src = fetchPypi {
inherit pname version;
sha256 = "22e97ac6d2918c754e65a9581dbe02e9d00ae4a54ca48d05118f87c1ea92aa19";
};
meta = with stdenv.lib; {
description = "Utilities for filesystem exploration and automated builds";
license = licenses.bsd3;
homepage = http://www.cacr.caltech.edu/~mmckerns/pox.htm;
};
}

View File

@ -3203,21 +3203,7 @@ in {
powerline = callPackage ../development/python-modules/powerline { };
pox = buildPythonPackage rec {
name = "pox-${version}";
version = "0.2.2";
src = pkgs.fetchurl {
url = "mirror://pypi/p/pox/${name}.tgz";
sha256 = "22e97ac6d2918c754e65a9581dbe02e9d00ae4a54ca48d05118f87c1ea92aa19";
};
meta = {
description = "Utilities for filesystem exploration and automated builds";
license = licenses.bsd3;
homepage = http://www.cacr.caltech.edu/~mmckerns/pox.htm;
};
};
pox = callPackage ../development/python-modules/pox { };
ppft = buildPythonPackage rec {
name = "ppft-${version}";