blob: 95f78fcec2391dfc7ed18ef6f6c27bd7ac1d27ef (
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
30
31
32
33
34
35
36
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "ansicolor";
version = "0.3.2";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "numerodix";
repo = "ansicolor";
rev = "refs/tags/${version}";
hash = "sha256-a/BAU42AfMR8C94GwmrLkvSvolFEjV0LbDypvS9UuOA=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "ansicolor" ];
meta = with lib; {
description = "Library to produce ansi color output and colored highlighting and diffing";
homepage = "https://github.com/numerodix/ansicolor/";
license = licenses.asl20;
maintainers = with maintainers; [ ];
};
}
|