blob: 04204e79d1c52c15f2953395d5a9c1a8503f0b7d (
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
34
35
|
{
lib,
buildPythonPackage,
fetchPypi,
hatch-vcs,
hatchling,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "termcolor";
version = "3.1.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-am3X++5YGQnu7Gp1bP8df3w3YGOxTkopjcSYAwnlWXA=";
};
build-system = [
hatch-vcs
hatchling
];
pythonImportsCheck = [ "termcolor" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
changelog = "https://github.com/termcolor/termcolor/releases/tag/${version}";
description = "ANSI color formatting for output in terminal";
homepage = "https://github.com/termcolor/termcolor";
license = lib.licenses.mit;
};
}
|