pythonPackages.genzshcomp: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 16:30:17 -04:00 committed by Frederik Rietdijk
parent f7b0a11dd8
commit 7771d40c05
2 changed files with 25 additions and 16 deletions

View 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;
};
}

View File

@ -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 { };