mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-05-04 12:07:02 +00:00
pythonPackages.genzshcomp: refactor move to python-modules
This commit is contained in:
parent
f7b0a11dd8
commit
7771d40c05
2 changed files with 25 additions and 16 deletions
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 { };
|
gevent-websocket = callPackage ../development/python-modules/gevent-websocket { };
|
||||||
|
|
||||||
genzshcomp = buildPythonPackage {
|
genzshcomp = callPackage ../development/python-modules/genzshcomp { };
|
||||||
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";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
gflags = callPackage ../development/python-modules/gflags { };
|
gflags = callPackage ../development/python-modules/gflags { };
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue