{ lib, buildPythonPackage, fetchFromGitHub, lxml, lxml-html-clean, pytestCheckHook, setuptools, }: buildPythonPackage (finalAttrs: { pname = "html-text"; version = "0.6.2"; pyproject = true; src = fetchFromGitHub { owner = "zytedata"; repo = "html-text"; tag = finalAttrs.version; hash = "sha256-e9gkibQv8mn1Jbt77UmpauOeTqhJQhY9R5Sge/iYi+U="; }; build-system = [ setuptools ]; dependencies = [ lxml lxml-html-clean ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "html_text" ]; meta = { description = "Extract text from HTML"; homepage = "https://github.com/zytedata/html-text"; changelog = "https://github.com/zytedata/html-text/blob/${finalAttrs.version}/CHANGES.rst"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ ambroisie ]; }; })