blob: 2f5c76086d0f6b957bf2653c8c34f4fdbefe74e2 (
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
36
37
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "print-color";
version = "0.4.6";
pyproject = true;
src = fetchFromGitHub {
owner = "xy3";
repo = "print-color";
tag = "v${version}";
hash = "sha256-PHPbzzWG7smEsoTFYFT2tgXfCxUYjevpB9rxG2bZVy4=";
};
build-system = [ poetry-core ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "print_color" ];
meta = {
description = "Module to print color messages in the terminal";
homepage = "https://github.com/xy3/print-color";
changelog = "https://github.com/xy3/print-color/releases/tag/v${version}";
license = with lib.licenses; [
asl20
mit
];
maintainers = with lib.maintainers; [ fab ];
};
}
|