Files
nixpkgs/pkgs/development/python-modules/click-completion/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
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>
2025-12-10 18:09:49 +01:00

44 lines
792 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
isPy27,
# propagates
click,
jinja2,
shellingham,
six,
}:
buildPythonPackage rec {
pname = "click-completion";
version = "0.5.2";
format = "setuptools";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "5bf816b81367e638a190b6e91b50779007d14301b3f9f3145d68e3cade7bce86";
};
propagatedBuildInputs = [
click
jinja2
shellingham
six
];
pythonImportsCheck = [ "click_completion" ];
# has no tests
doCheck = false;
meta = {
description = "Add or enhance bash, fish, zsh and powershell completion in Click";
homepage = "https://github.com/click-contrib/click-completion";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ mbode ];
};
}