blob: 54c745dfb0e176bef95668928447f1f5ace7dd7d (
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
|
{
lib,
buildPythonPackage,
fetchPypi,
unittestCheckHook,
pdm-backend,
}:
buildPythonPackage rec {
pname = "webcolors";
version = "24.11.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-7LPXaPMiAq93BHe4tl8xj6T1ZsIpSGc6l3sA1YndgPY=";
};
build-system = [ pdm-backend ];
nativeCheckInputs = [ unittestCheckHook ];
unittestFlagsArray = [
"-s"
"tests"
];
pythonImportsCheck = [ "webcolors" ];
meta = {
description = "Library for working with color names/values defined by the HTML and CSS specifications";
homepage = "https://github.com/ubernostrum/webcolors";
license = lib.licenses.bsd3;
maintainers = [ ];
};
}
|