guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 778643b6a184d45ec090470eda0a15b3b7f807e2
Author: Giacomo Leidi <[email protected]>
AuthorDate: Mon Sep 15 23:40:16 2025 +0200
gnu: Add elixir-easyhtml.
* gnu/packages/elixir-markup.scm (elixir-easyhtml): New variable.
Change-Id: Icc604a9c769dcff60adf7cc8c4a61cdb1caa9650
Signed-off-by: Ludovic Courtès <[email protected]>
---
gnu/packages/elixir-markup.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/elixir-markup.scm b/gnu/packages/elixir-markup.scm
index cab43155bd..904ea81663 100644
--- a/gnu/packages/elixir-markup.scm
+++ b/gnu/packages/elixir-markup.scm
@@ -45,6 +45,32 @@ Earmark and @code{EarmarkParser} tests.")
(home-page "https://hexdocs.pm/earmark_ast_dsl/")
(license license:asl2.0)))
+(define-public elixir-easyhtml
+ (package
+ (name "elixir-easyhtml")
+ (version "0.3.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (hexpm-uri "easyhtml" version))
+ (sha256
+ (base32 "01jxhj3hpivf5c0x7d11c8xrx3d0ln6wsa78lc58g90j2vwkdadn"))))
+ (build-system mix-build-system)
+ (propagated-inputs (list elixir-floki))
+ (synopsis "Tiny wrapper around Floki")
+ (description "@code{EasyHTML} makes working with HTML easy. It is a tiny
+wrapper around Floki that adds conveniences:
+
+@itemize
+@item An @code{Inspect} implementation to pretty-print HTML snippets
+@item An @code{Access} implementation to search them
+@item An @code{Enumerable} implementation to traverse them
+item A @code{String.Chars} implementation to convert them to text
+@end itemize
+")
+ (home-page "https://hexdocs.pm/easyhtml/")
+ (license license:asl2.0)))
+
(define-public elixir-floki
(package
(name "elixir-floki")