summaryrefslogtreecommitdiff
path: root/gnu/packages/elixir-web.scm
diff options
context:
space:
mode:
authorGiacomo Leidi <goodoldpaul@autistici.org>2025-09-24 10:43:19 +0200
committerLudovic Courtès <ludo@gnu.org>2025-09-30 08:43:48 +0200
commit5226341789679af0ba9fe2a25571d11c5a658c1e (patch)
tree7a50a576c78c170b7b2f206570a3adfd05297f40 /gnu/packages/elixir-web.scm
parent012e9e89766c2d19b32fbc4d3fc11eaba4b311d2 (diff)
gnu: Add elixir-phoenix-live-head.
* gnu/packages/elixir-web.scm (elixir-phoenix-live-head): New variable. Change-Id: I151477d2f34a2f7453bfa764299eeb5ec5d2ffa8 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/elixir-web.scm')
-rw-r--r--gnu/packages/elixir-web.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/elixir-web.scm b/gnu/packages/elixir-web.scm
index c1b7ce9995e..aff7112f407 100644
--- a/gnu/packages/elixir-web.scm
+++ b/gnu/packages/elixir-web.scm
@@ -428,6 +428,36 @@ framework.")
428 (home-page "https://hexdocs.pm/phoenix_html/") 428 (home-page "https://hexdocs.pm/phoenix_html/")
429 (license license:expat))) 429 (license license:expat)))
430 430
431(define-public elixir-phoenix-live-head
432 (package
433 (name "elixir-phoenix-live-head")
434 (version "0.3.0")
435 (source
436 (origin
437 (method url-fetch)
438 (uri (hexpm-uri "phoenix_live_head" version))
439 (sha256
440 (base32 "060bbni63v4jqyiqrykcl2sdra3brhvr15d1q7wg1c48cki01ah3"))))
441 (build-system mix-build-system)
442 (native-inputs
443 (list elixir-excoveralls))
444 (propagated-inputs
445 (list elixir-ex-doc elixir-jason elixir-phoenix
446 elixir-phoenix-html elixir-phoenix-live-view))
447 (synopsis "HTML Head manipulation for Phoenix Live Views")
448 (description "This package provides commands for manipulating the HTML Head
449of Phoenix Live View applications while minimizing data over the wire.
450
451The available command actions support a variety of utility operations useful for
452HTML Head manipulation. Such as setting or removing tag attributes and adding
453or removing CSS classes.
454
455A special feature is the use of the @code{@{dynamic@}} tag in values. This
456saves data over the wire by only sending the dynamic part of an attributes
457value.")
458 (home-page "https://hexdocs.pm/phoenix_live_head/")
459 (license license:expat)))
460
431(define-public elixir-phoenix-live-reload 461(define-public elixir-phoenix-live-reload
432 (package 462 (package
433 (name "elixir-phoenix-live-reload") 463 (name "elixir-phoenix-live-reload")