1{ 2 lib, 3 fetchPypi, 4 buildPythonPackage, 5 click, 6 pytestCheckHook, 7 pythonOlder, 8}: 9 10buildPythonPackage rec { 11 pname = "click-help-colors"; 12 version = "0.9.4"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-9Mq+Us9VApm4iI9PLuTF81msJ+M7z+TWHbR3haXMk2w="; 20 }; 21 22 propagatedBuildInputs = [ click ]; 23 24 nativeCheckInputs = [ pytestCheckHook ]; 25 26 pythonImportsCheck = [ "click_help_colors" ]; 27 28 meta = with lib; { 29 description = "Colorization of help messages in Click"; 30 homepage = "https://github.com/click-contrib/click-help-colors"; 31 changelog = "https://github.com/click-contrib/click-help-colors/blob/${version}/CHANGES.rst"; 32 license = licenses.mit; 33 maintainers = with maintainers; [ freezeboy ]; 34 }; 35}