aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/python-modules/click-help-colors/default.nix
blob: ac1cab90d0adb8fcc1b17ed829f2330c888bb48d (plain)
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
{ 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 ];
  };
}