pythonPackages.genzshcomp: refactor move to python-modules
This commit is contained in:
parent
f7b0a11dd8
commit
7771d40c05
24
pkgs/development/python-modules/genzshcomp/default.nix
Normal file
24
pkgs/development/python-modules/genzshcomp/default.nix
Normal file
@ -0,0 +1,24 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "genzshcomp";
|
||||
version = "0.5.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "c77d007cc32cdff836ecf8df6192371767976c108a75b055e057bb6f4a09cd42";
|
||||
};
|
||||
|
||||
buildInputs = [ setuptools ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Automatically generated zsh completion function for Python's option parser modules";
|
||||
homepage = http://bitbucket.org/hhatto/genzshcomp/;
|
||||
license = licenses.bsd0;
|
||||
};
|
||||
|
||||
}
|
@ -2374,22 +2374,7 @@ in {
|
||||
|
||||
gevent-websocket = callPackage ../development/python-modules/gevent-websocket { };
|
||||
|
||||
genzshcomp = buildPythonPackage {
|
||||
name = "genzshcomp-0.5.1";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/g/genzshcomp/genzshcomp-0.5.1.tar.gz";
|
||||
sha256 = "c77d007cc32cdff836ecf8df6192371767976c108a75b055e057bb6f4a09cd42";
|
||||
};
|
||||
|
||||
buildInputs = with self; [ setuptools ];
|
||||
|
||||
meta = {
|
||||
description = "Automatically generated zsh completion function for Python's option parser modules";
|
||||
license = "BSD";
|
||||
};
|
||||
};
|
||||
|
||||
genzshcomp = callPackage ../development/python-modules/genzshcomp { };
|
||||
|
||||
gflags = callPackage ../development/python-modules/gflags { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user