summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/ansicolors/default.nix
blob: 2fab28de72c333d8ae95720345e92bb993c236c7 (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
30
31
{
  lib,
  buildPythonPackage,
  fetchPypi,
  pytest,
}:

buildPythonPackage rec {
  pname = "ansicolors";
  version = "1.1.8";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    extension = "zip";
    sha256 = "99f94f5e3348a0bcd43c82e5fc4414013ccc19d70bd939ad71e0133ce9c372e0";
  };

  nativeCheckInputs = [ pytest ];

  checkPhase = ''
    py.test
  '';

  meta = {
    homepage = "https://github.com/verigak/colors/";
    description = "ANSI colors for Python";
    license = lib.licenses.isc;
    maintainers = [ ];
  };
}