nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 32 lines 729 B view raw
1{ 2 lib, 3 fetchPypi, 4 buildPythonPackage, 5 click, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "click-help-colors"; 11 version = "0.9.4"; 12 format = "setuptools"; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-9Mq+Us9VApm4iI9PLuTF81msJ+M7z+TWHbR3haXMk2w="; 17 }; 18 19 propagatedBuildInputs = [ click ]; 20 21 nativeCheckInputs = [ pytestCheckHook ]; 22 23 pythonImportsCheck = [ "click_help_colors" ]; 24 25 meta = { 26 description = "Colorization of help messages in Click"; 27 homepage = "https://github.com/click-contrib/click-help-colors"; 28 changelog = "https://github.com/click-contrib/click-help-colors/blob/${version}/CHANGES.rst"; 29 license = lib.licenses.mit; 30 maintainers = [ ]; 31 }; 32}