pythonPackages.piep: refactor move to python-modules
This commit is contained in:
parent
bb37de46d4
commit
6b55d16315
27
pkgs/development/python-modules/piep/default.nix
Normal file
27
pkgs/development/python-modules/piep/default.nix
Normal 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;
|
||||
};
|
||||
|
||||
}
|
@ -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 { };
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user