forked from mirrors/nixpkgs
24 lines
634 B
Nix
24 lines
634 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, isPy3k,
|
|
click, jinja2, shellingham, six
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "click-completion";
|
|
version = "0.4.1";
|
|
disabled = (!isPy3k);
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1fjm22dyma26jrx4ki2z4dwbhcah4r848fz381x64sz5xxq3xdrk";
|
|
};
|
|
|
|
propagatedBuildInputs = [ click jinja2 shellingham six ];
|
|
|
|
meta = with stdenv.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 ];
|
|
};
|
|
}
|