summary refs log tree commit diff
path: root/pkgs/development/python-modules/click-help-colors/default.nix
blob: b17dc1a0c1112e7cb88d0bd8046f62b018e284d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ lib, fetchPypi, buildPythonPackage
, click, pytest
}:

buildPythonPackage rec {
  pname = "click-help-colors";
  version = "0.9";

  src = fetchPypi {
    inherit pname version;
    sha256 = "eb037a2dd95a9e20b3897c2b3ca57e7f6797f76a8d93f7eeedda7fcdcbc9b635";
  };

  propagatedBuildInputs = [ click ];

  # tries to use /homeless-shelter to mimic container usage, etc
  #doCheck = false;
  checkInputs = [ pytest ];

  pythonImportsCheck = [ "click_help_colors" ];

  meta = with 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 ];
  };
}