1{ lib 2, buildPythonPackage 3, fetchPypi 4, isPy27 5 6# propagates 7, click 8, jinja2 9, shellingham 10, six 11}: 12 13buildPythonPackage rec { 14 pname = "click-completion"; 15 version = "0.5.2"; 16 disabled = isPy27; 17 18 src = fetchPypi { 19 inherit pname version; 20 sha256 = "5bf816b81367e638a190b6e91b50779007d14301b3f9f3145d68e3cade7bce86"; 21 }; 22 23 propagatedBuildInputs = [ 24 click 25 jinja2 26 shellingham 27 six 28 ]; 29 30 pythonImportsCheck = [ 31 "click_completion" 32 ]; 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}