2022-07-26 07:01:10 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2023-12-02 23:00:24 +00:00
|
|
|
, setuptools
|
2022-07-26 07:01:10 +00:00
|
|
|
, pytestCheckHook
|
|
|
|
, pythonOlder
|
|
|
|
}:
|
2018-08-14 17:33:31 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "dominate";
|
2024-01-14 07:30:07 +00:00
|
|
|
version = "2.9.1";
|
2023-12-02 23:00:24 +00:00
|
|
|
pyproject = true;
|
2022-07-26 07:01:10 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2018-08-14 17:33:31 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-01-14 07:30:07 +00:00
|
|
|
hash = "sha256-VYKEaH2biq4ZBOPWBRrRMt1KjAz1UbN+pOfkKjHRncQ=";
|
2018-08-14 17:33:31 +00:00
|
|
|
};
|
|
|
|
|
2023-12-02 23:00:24 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
2023-01-21 12:00:00 +00:00
|
|
|
nativeCheckInputs = [
|
2022-07-26 07:01:10 +00:00
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"dominate"
|
|
|
|
];
|
2018-08-14 17:33:31 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2022-07-26 07:01:10 +00:00
|
|
|
description = "Library for creating and manipulating HTML documents using an elegant DOM API";
|
2020-03-09 07:26:18 +00:00
|
|
|
homepage = "https://github.com/Knio/dominate/";
|
2024-01-14 09:04:39 +00:00
|
|
|
changelog = "https://github.com/Knio/dominate/releases/tag/${version}";
|
2022-07-26 07:01:10 +00:00
|
|
|
license = licenses.lgpl3Plus;
|
2018-08-14 17:33:31 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
|
|
|
};
|
|
|
|
}
|