blob: ad336b5d96a4b99d786b8342742c500e601c287b (
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
32
33
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "ansicolor";
version = "0.3.2";
pyproject = true;
src = fetchFromGitHub {
owner = "numerodix";
repo = "ansicolor";
tag = version;
hash = "sha256-a/BAU42AfMR8C94GwmrLkvSvolFEjV0LbDypvS9UuOA=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "ansicolor" ];
meta = {
description = "Library to produce ansi color output and colored highlighting and diffing";
homepage = "https://github.com/numerodix/ansicolor/";
license = lib.licenses.asl20;
maintainers = [ ];
};
}
|