diff options
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/development/python-modules/click-help-colors/default.nix')
-rw-r--r-- | infra/libkookie/nixpkgs/pkgs/development/python-modules/click-help-colors/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/development/python-modules/click-help-colors/default.nix b/infra/libkookie/nixpkgs/pkgs/development/python-modules/click-help-colors/default.nix new file mode 100644 index 000000000000..ac1cab90d0ad --- /dev/null +++ b/infra/libkookie/nixpkgs/pkgs/development/python-modules/click-help-colors/default.nix @@ -0,0 +1,29 @@ +{ stdenv, fetchPypi, buildPythonPackage +, click, pytest +}: + +buildPythonPackage rec { + pname = "click-help-colors"; + version = "0.8"; + + src = fetchPypi { + inherit pname version; + sha256 = "EZ5fr2nPyRnJlcWWIyasj9h/EeVqNxr1lOPf2EWPTG4="; + }; + + propagatedBuildInputs = [ click ]; + + # tries to use /homeless-shelter to mimic container usage, etc + #doCheck = false; + checkInputs = [ pytest ]; + + pythonImportsCheck = [ "click_help_colors" ]; + + meta = with stdenv.lib; { + description = "Colorization of help messages in Click"; + homepage = "https://github.com/r-m-n/click-help-colors"; + license = licenses.mit; + platforms = platforms.unix; + maintainers = with maintainers; [ freezeboy ]; + }; +} |