1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 isPy27,
6
7 # propagates
8 click,
9 jinja2,
10 shellingham,
11 six,
12}:
13
14buildPythonPackage rec {
15 pname = "click-completion";
16 version = "0.5.2";
17 format = "setuptools";
18 disabled = isPy27;
19
20 src = fetchPypi {
21 inherit pname version;
22 sha256 = "5bf816b81367e638a190b6e91b50779007d14301b3f9f3145d68e3cade7bce86";
23 };
24
25 propagatedBuildInputs = [
26 click
27 jinja2
28 shellingham
29 six
30 ];
31
32 pythonImportsCheck = [ "click_completion" ];
33
34 # has no tests
35 doCheck = false;
36
37 meta = with lib; {
38 description = "Add or enhance bash, fish, zsh and powershell completion in Click";
39 homepage = "https://github.com/click-contrib/click-completion";
40 license = licenses.mit;
41 maintainers = with maintainers; [ mbode ];
42 };
43}