depot/third_party/nixpkgs/pkgs/development/python-modules/click-completion/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

23 lines
638 B
Nix

{ lib, buildPythonPackage, fetchPypi, isPy3k,
click, jinja2, shellingham, six
}:
buildPythonPackage rec {
pname = "click-completion";
version = "0.5.2";
disabled = (!isPy3k);
src = fetchPypi {
inherit pname version;
sha256 = "5bf816b81367e638a190b6e91b50779007d14301b3f9f3145d68e3cade7bce86";
};
propagatedBuildInputs = [ click jinja2 shellingham six ];
meta = with 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 ];
};
}