1{ lib, fetchPypi, buildPythonPackage
2, click, pytest
3}:
4
5buildPythonPackage rec {
6 pname = "click-help-colors";
7 version = "0.9";
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "eb037a2dd95a9e20b3897c2b3ca57e7f6797f76a8d93f7eeedda7fcdcbc9b635";
12 };
13
14 propagatedBuildInputs = [ click ];
15
16 # tries to use /homeless-shelter to mimic container usage, etc
17 #doCheck = false;
18 checkInputs = [ pytest ];
19
20 pythonImportsCheck = [ "click_help_colors" ];
21
22 meta = with lib; {
23 description = "Colorization of help messages in Click";
24 homepage = "https://github.com/r-m-n/click-help-colors";
25 license = licenses.mit;
26 platforms = platforms.unix;
27 maintainers = with maintainers; [ freezeboy ];
28 };
29}