~ruther/guix-local

778643b6a184d45ec090470eda0a15b3b7f807e2 — Giacomo Leidi 6 months ago fb1ff86
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>
1 files changed, 26 insertions(+), 0 deletions(-)

M gnu/packages/elixir-markup.scm
M gnu/packages/elixir-markup.scm => gnu/packages/elixir-markup.scm +26 -0
@@ 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")