blob: 7ee91e7ea2b4dc71b94039f682ca4f2752189bcb (
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
38
39
|
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, unittestCheckHook
, setuptools
}:
buildPythonPackage rec {
pname = "webcolors";
version = "1.13";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-wiW2dMg/qSO+k9I1MwzgMANz0CiFzvIyOIE7DVZoMEo=";
};
nativeBuildInputs = [
setuptools
];
nativeCheckInputs = [ unittestCheckHook ];
unittestFlagsArray = [ "-s" "tests" ];
pythonImportsCheck = [
"webcolors"
];
meta = with lib; {
description = "Library for working with color names/values defined by the HTML and CSS specifications";
homepage = "https://github.com/ubernostrum/webcolors";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}
|