pythonPackages.piep: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-25 21:29:07 -04:00 committed by Frederik Rietdijk
parent bb37de46d4
commit 6b55d16315
2 changed files with 28 additions and 19 deletions

View file

@ -0,0 +1,27 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pygments
, isPy3k
}:
buildPythonPackage rec {
version = "0.8.0";
pname = "piep";
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "1wgkg1kc28jpya5k4zvbc9jmpa60b3d5c3gwxfbp15hw6smyqirj";
};
propagatedBuildInputs = [ pygments ];
meta = with stdenv.lib; {
description = "Bringing the power of python to stream editing";
homepage = https://github.com/timbertson/piep;
maintainers = with maintainers; [ timbertson ];
license = licenses.gpl3;
};
}

View file

@ -3143,25 +3143,7 @@ in {
pickleshare = callPackage ../development/python-modules/pickleshare { };
piep = buildPythonPackage rec {
version = "0.8.0";
name = "piep-${version}";
disabled = isPy3k;
src = pkgs.fetchurl {
url = "mirror://pypi/p/piep/piep-${version}.tar.gz";
sha256 = "1wgkg1kc28jpya5k4zvbc9jmpa60b3d5c3gwxfbp15hw6smyqirj";
};
propagatedBuildInputs = with self; [pygments];
meta = {
description = "Bringing the power of python to stream editing";
homepage = https://github.com/timbertson/piep;
maintainers = with maintainers; [ timbertson ];
license = licenses.gpl3;
};
};
piep = callPackage ../development/python-modules/piep { };
piexif = callPackage ../development/python-modules/piexif { };