blob: cf890a3b95b4288b6029389a0991f87eff3c7986 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "colorful";
version = "0.5.8";
format = "setuptools";
src = fetchFromGitHub {
owner = "timofurrer";
repo = "colorful";
tag = "v${version}";
hash = "sha256-nztVTfBimRDXwPYk3LNMZKa1ItbgqM2ukgZs8hI8TwE=";
};
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "colorful" ];
meta = {
description = "Library for terminal string styling";
homepage = "https://github.com/timofurrer/colorful";
changelog = "https://github.com/timofurrer/colorful/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
kalbasit
l33tname
];
};
}
|