Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 23 lines 634 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, isPy3k, 2 click, jinja2, shellingham, six 3}: 4 5buildPythonPackage rec { 6 pname = "click-completion"; 7 version = "0.5.0"; 8 disabled = (!isPy3k); 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "0k3chs301cnyq2jfl12lih5fa6r06nmxmbyp9dwvjm09v8f2c03n"; 13 }; 14 15 propagatedBuildInputs = [ click jinja2 shellingham six ]; 16 17 meta = with stdenv.lib; { 18 description = "Add or enhance bash, fish, zsh and powershell completion in Click"; 19 homepage = https://github.com/click-contrib/click-completion; 20 license = licenses.mit; 21 maintainers = with maintainers; [ mbode ]; 22 }; 23}