blob: 5060eb9b17e7ef67d1f2e2e25cfed284ab01fc8b (
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
38
|
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
pytestCheckHook,
pythonAtLeast,
}:
buildPythonPackage rec {
pname = "dominate";
version = "2.9.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-VYKEaH2biq4ZBOPWBRrRMt1KjAz1UbN+pOfkKjHRncQ=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "dominate" ];
disabledTestPaths = lib.optionals (pythonAtLeast "3.13") [
# Tests are failing, https://github.com/Knio/dominate/issues/213
"tests/test_svg.py"
];
meta = {
description = "Library for creating and manipulating HTML documents using an elegant DOM API";
homepage = "https://github.com/Knio/dominate/";
changelog = "https://github.com/Knio/dominate/releases/tag/${version}";
license = lib.licenses.lgpl3Plus;
maintainers = [ ];
};
}
|