Something went wrong. Try again.
lol
Something went wrong. Try again.
830 B · 39 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, setuptools, setuptools-scm,}:
buildPythonPackage rec { pname = "html2text"; version = "2025.4.15"; pyproject = true;
src = fetchFromGitHub { owner = "Alir3z4"; repo = "html2text"; tag = version; hash = "sha256-SMdILvCVXMe3Tlf3kK54VfEKsQ/KvpBZK3xZ4zVwcfo="; };
build-system = [ setuptools setuptools-scm ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "html2text" ];
meta = { description = "Turn HTML into equivalent Markdown-structured text"; homepage = "https://github.com/Alir3z4/html2text/"; changelog = "https://github.com/Alir3z4/html2text/blob/${src.tag}/ChangeLog.rst"; license = lib.licenses.gpl3Only; maintainers = [ ]; mainProgram = "html2text"; };}