blob: f79d92ecffc8a976353d128f8bc8288cd13ff168 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
{
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 = with lib; {
description = "Add or enhance bash, fish, zsh and powershell completion in Click";
homepage = "https://github.com/click-contrib/click-completion";
license = licenses.mit;
maintainers = with maintainers; [ mbode ];
};
}
|