summaryrefslogtreecommitdiff
path: root/gnu/packages/haskell-web.scm
diff options
context:
space:
mode:
authorAlice BRENON <alice.brenon@ens-lyon.fr>2025-07-02 14:12:02 +0200
committerjgart <jgart@dismail.de>2025-07-02 12:43:59 -0500
commit84df8bf3e1bd41233a395deb9ab06e79c2335b7a (patch)
tree92a7be38d6e94d22660e5658e285c2e3049aeb34 /gnu/packages/haskell-web.scm
parentc28e0407f13189fc1fd66c2dbbd35bd6f7ca3033 (diff)
gnu: Add ghc-html5-entity.
* gnu/packages/haskell-web.scm (ghc-html5-entity): New variable. Change-Id: I158ee27de3b86dd37a747a862bd643372068b460 Signed-off-by: jgart <jgart@dismail.de>
Diffstat (limited to 'gnu/packages/haskell-web.scm')
-rw-r--r--gnu/packages/haskell-web.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm
index f211c870a3..25339a8744 100644
--- a/gnu/packages/haskell-web.scm
+++ b/gnu/packages/haskell-web.scm
@@ -1007,6 +1007,28 @@ since version 1.3.1, it uses an inlined copy of tagstream-conduit with
entity decoding bugfixes applied.")
(license license:expat)))
+(define-public ghc-html5-entity
+ (package
+ (name "ghc-html5-entity")
+ (version "0.2.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (hackage-uri "html5-entity" version))
+ (sha256
+ (base32 "0bmmzshxanzw5y2y0hvgzz9yw18jqgv535i1xq2a5lf7w8wpj1if"))))
+ (build-system haskell-build-system)
+ (home-page "https://github.com/zudov/html5-entity/")
+ (synopsis "Library for looking up and validating HTML5 entities")
+ (description
+ "This package provides a library for looking up and validating HTML5
+entities. The @url{http://html.spec.whatwg.org/multipage/entities.json,
+following} document is used as an authoritative source of the valid entity names
+and their corresponding codepoints. You can think of this library as about
+bindings to the data from that file. For usage see the Text.Html5.Entity
+module.")
+ (license license:bsd-3)))
+
(define-public ghc-blaze-html
(package
(name "ghc-blaze-html")