summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorArun Isaac <arunisaac@systemreboot.net>2026-03-20 00:18:33 +0000
committerArun Isaac <arunisaac@systemreboot.net>2026-03-24 22:11:27 +0000
commit0680426b1a28691cc58b370e5ff16661521f5bab (patch)
tree889bb3caaecae5df54cd72ffb5c583ccb854c5dc /gnu/packages
parent1bb9cb06c4de4df70c56b328030bbaef96aeb0f4 (diff)
gnu: Add python-justhtml.
* gnu/packages/python-web.scm (python-justhtml): New variable. Change-Id: I85388b0a8fbac93e2e72d2df03da16fa46b616bc
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/python-web.scm25
1 files changed, 24 insertions, 1 deletions
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 <code@greghogan.com>
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
;;; Copyright © 2021 Pradana Aumars <paumars@courrier.dev>
-;;; Copyright © 2021, 2022, 2024 Arun Isaac <arunisaac@systemreboot.net>
+;;; Copyright © 2021, 2022, 2024, 2026 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2021-2022, 2024-2025 jgart <jgart@dismail.de>
;;; Copyright © 2021 Alice Brenon <alice.brenon@ens-lyon.fr>
;;; Copyright © 2021 Mekeor Melire <mekeor.melire@gmail.com>
@@ -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")