10 buildPythonPackage rec {
12 version = "2024.2.26";
15 disabled = pythonOlder "3.8";
17 src = fetchFromGitHub {
20 rev = "refs/tags/${version}";
21 hash = "sha256-1CLkTFR+/XQ428WjMF7wliyAG6CB+n8JSsLDdLHPO7I=";
24 build-system = [ setuptools ];
26 nativeCheckInputs = [ pytestCheckHook ];
28 pythonImportsCheck = [ "html2text" ];
31 description = "Turn HTML into equivalent Markdown-structured text";
32 homepage = "https://github.com/Alir3z4/html2text/";
33 changelog = "https://github.com/Alir3z4/html2text/blob/${src.rev}/ChangeLog.rst";
34 license = licenses.gpl3Only;
36 mainProgram = "html2text";