2018-09-22 08:42:20 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, isPy3k,
|
|
|
|
click, jinja2, shellingham, six
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "click-completion";
|
2019-04-02 12:18:35 +01:00
|
|
|
version = "0.5.1";
|
2018-09-22 08:42:20 +01:00
|
|
|
disabled = (!isPy3k);
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-04-02 12:18:35 +01:00
|
|
|
sha256 = "1ysn6kzv3fgakn0y06i3cxynd8iaybarrygabk9a0pp2spn2w1vq";
|
2018-09-22 08:42:20 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|