anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / ansicolor / default.nix
blob83f3b3207e713e62da4b6491dc43cf6a78d72c2b
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6   pythonOlder,
7   setuptools,
8 }:
10 buildPythonPackage rec {
11   pname = "ansicolor";
12   version = "0.3.2";
13   pyproject = true;
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "numerodix";
19     repo = "ansicolor";
20     rev = "refs/tags/${version}";
21     hash = "sha256-a/BAU42AfMR8C94GwmrLkvSvolFEjV0LbDypvS9UuOA=";
22   };
24   build-system = [ setuptools ];
26   nativeCheckInputs = [ pytestCheckHook ];
28   pythonImportsCheck = [ "ansicolor" ];
30   meta = with lib; {
31     description = "Library to produce ansi color output and colored highlighting and diffing";
32     homepage = "https://github.com/numerodix/ansicolor/";
33     license = licenses.asl20;
34     maintainers = [ ];
35   };