567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
27 lines
571 B
Nix
27 lines
571 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "genzshcomp";
|
|
version = "0.6.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "b582910d36f9ad0992756d7e9ccbe3e5cf811934b1002b51f25b99d3dda9d573";
|
|
};
|
|
|
|
buildInputs = [ setuptools ];
|
|
|
|
meta = {
|
|
description = "Automatically generated zsh completion function for Python's option parser modules";
|
|
mainProgram = "genzshcomp";
|
|
homepage = "https://bitbucket.org/hhatto/genzshcomp/";
|
|
license = lib.licenses.bsd0;
|
|
};
|
|
}
|