python3Packages.click-help-colors: init at 0.8

This commit is contained in:
freezeboy 2020-11-02 04:46:41 +01:00 committed by Jonathan Ringer
parent f671d7e191
commit bf066b27b4
2 changed files with 31 additions and 0 deletions

View file

@ -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 ];
};
}

View file

@ -1200,6 +1200,8 @@ in {
click-didyoumean = callPackage ../development/python-modules/click-didyoumean { };
click-help-colors = callPackage ../development/python-modules/click-help-colors { };
click-log = callPackage ../development/python-modules/click-log { };
click-plugins = callPackage ../development/python-modules/click-plugins { };