Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / ansicolor / default.nix
blob8ec12d37f5989e4b7f801cf64799744dea8bd108
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 = "A library to produce ansi color output and colored highlighting and diffing";
32     homepage = "https://github.com/numerodix/ansicolor/";
33     license = licenses.asl20;
34     maintainers = with maintainers; [ ];
35   };