1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6 pytestCheckHook,
7 pythonOlder,
8}:
9
10buildPythonPackage rec {
11 pname = "dominate";
12 version = "2.9.1";
13 pyproject = true;
14
15 disabled = pythonOlder "3.7";
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-VYKEaH2biq4ZBOPWBRrRMt1KjAz1UbN+pOfkKjHRncQ=";
20 };
21
22 nativeBuildInputs = [ setuptools ];
23
24 nativeCheckInputs = [ pytestCheckHook ];
25
26 pythonImportsCheck = [ "dominate" ];
27
28 meta = with lib; {
29 description = "Library for creating and manipulating HTML documents using an elegant DOM API";
30 homepage = "https://github.com/Knio/dominate/";
31 changelog = "https://github.com/Knio/dominate/releases/tag/${version}";
32 license = licenses.lgpl3Plus;
33 maintainers = [ ];
34 };
35}