From 0680426b1a28691cc58b370e5ff16661521f5bab Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 20 Mar 2026 00:18:33 +0000 Subject: gnu: Add python-justhtml. * gnu/packages/python-web.scm (python-justhtml): New variable. Change-Id: I85388b0a8fbac93e2e72d2df03da16fa46b616bc --- gnu/packages/python-web.scm | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) (limited to 'gnu/packages/python-web.scm') diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 45b624e9014..1b03355e9fc 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -49,7 +49,7 @@ ;;; Copyright © 2021 Greg Hogan ;;; Copyright © 2021 Maxime Devos ;;; Copyright © 2021 Pradana Aumars -;;; Copyright © 2021, 2022, 2024 Arun Isaac +;;; Copyright © 2021, 2022, 2024, 2026 Arun Isaac ;;; Copyright © 2021-2022, 2024-2025 jgart ;;; Copyright © 2021 Alice Brenon ;;; Copyright © 2021 Mekeor Melire @@ -1421,6 +1421,29 @@ of a fake DNS resolver.") @code{fakeweb}.") (license license:expat))) +(define-public python-justhtml + (package + (name "python-justhtml") + (version "1.13.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/emilstenstrom/justhtml") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1hy5w3lr08sj3pivs46nnlfsvrd9ynmicxcrjk4sxbpg7411lyj5")))) + (build-system pyproject-build-system) + (native-inputs + (list python-hatchling)) + (home-page "https://github.com/emilstenstrom/justhtml") + (synopsis "Pure Python HTML5 parser") + (description + "JustHTML is a pure Python HTML5 parser. It has a simple API and does +not require C extensions or system dependencies.") + (license license:expat))) + (define-public python-huggingface-hub (package (name "python-huggingface-hub") -- cgit v1.3