2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy3k,
|
2018-09-22 08:42:20 +01:00
|
|
|
click, jinja2, shellingham, six
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "click-completion";
|
2019-10-16 10:43:04 +01:00
|
|
|
version = "0.5.2";
|
2018-09-22 08:42:20 +01:00
|
|
|
disabled = (!isPy3k);
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-16 10:43:04 +01:00
|
|
|
sha256 = "5bf816b81367e638a190b6e91b50779007d14301b3f9f3145d68e3cade7bce86";
|
2018-09-22 08:42:20 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ click jinja2 shellingham six ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-09-22 08:42:20 +01:00
|
|
|
description = "Add or enhance bash, fish, zsh and powershell completion in Click";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/click-contrib/click-completion";
|
2018-09-22 08:42:20 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ mbode ];
|
|
|
|
};
|
|
|
|
}
|