blob: d57be5da2b4cc6a1937a96870a779568da151ec0 (
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
37
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "colorful";
version = "0.5.5";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "timofurrer";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-fgxbj1WE9JcGt+oEcBguL0wQEWIn5toRTLWsvCFO3k8=";
};
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"colorful"
];
meta = with lib; {
description = "Library for terminal string styling";
homepage = "https://github.com/timofurrer/colorful";
changelog = "https://github.com/timofurrer/colorful/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ kalbasit ];
};
}
|