diff options
| author | Giacomo Leidi <goodoldpaul@autistici.org> | 2025-09-15 23:40:16 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2025-09-30 08:43:37 +0200 |
| commit | 778643b6a184d45ec090470eda0a15b3b7f807e2 (patch) | |
| tree | 8296364f9aed618eb4d849f0db4ead50c7312e4b /gnu/packages/elixir-markup.scm | |
| parent | fb1ff8641c922d060cfb932828440725761529eb (diff) | |
gnu: Add elixir-easyhtml.
* gnu/packages/elixir-markup.scm (elixir-easyhtml): New variable.
Change-Id: Icc604a9c769dcff60adf7cc8c4a61cdb1caa9650
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/elixir-markup.scm')
| -rw-r--r-- | gnu/packages/elixir-markup.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/elixir-markup.scm b/gnu/packages/elixir-markup.scm index cab43155bdb..904ea816639 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") |
