blob: f903e2051c0b331023647c680a7bcc8018c1b233 (
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.3";
pyproject = true;
src = fetchFromGitHub {
owner = "numerodix";
repo = "ansicolor";
tag = version;
hash = "sha256-ndChpcHjsGWmlw0uvPF0RvRvi99b3cnajHRXudmQXBw=";
};
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 = [ ];
};
}
|