blob: a793d0bad35d6334b54ecb4d33193e132b5e0a72 (
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,
pkginfo,
pytestCheckHook,
pytest-cov-stub,
}:
buildPythonPackage rec {
pname = "colorzero";
version = "2.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "waveform80";
repo = "colorzero";
tag = "release-${version}";
hash = "sha256-0NoQsy86OHQNLZsTEuF5s2MlRUoacF28jNeHgFKAH14=";
};
nativeBuildInputs = [ pkginfo ];
pythonImportsCheck = [ "colorzero" ];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
];
meta = {
description = "Yet another Python color library";
homepage = "https://github.com/waveform80/colorzero";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ hexa ];
};
}
|