1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytestCheckHook 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "dominate"; 10 version = "2.7.0"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-UgEBNgiS6/nQVT9n0341n/kkA9ih4zgUAwUDCIoF2kk="; 18 }; 19 20 checkInputs = [ 21 pytestCheckHook 22 ]; 23 24 pythonImportsCheck = [ 25 "dominate" 26 ]; 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 license = licenses.lgpl3Plus; 32 maintainers = with maintainers; [ ]; 33 }; 34}