guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 5226341789679af0ba9fe2a25571d11c5a658c1e
Author: Giacomo Leidi <[email protected]>
AuthorDate: Wed Sep 24 10:43:19 2025 +0200
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 <[email protected]>
---
gnu/packages/elixir-web.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/elixir-web.scm b/gnu/packages/elixir-web.scm
index c1b7ce9995..aff7112f40 100644
--- a/gnu/packages/elixir-web.scm
+++ b/gnu/packages/elixir-web.scm
@@ -428,6 +428,36 @@ framework.")
(home-page "https://hexdocs.pm/phoenix_html/")
(license license:expat)))
+(define-public elixir-phoenix-live-head
+ (package
+ (name "elixir-phoenix-live-head")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (hexpm-uri "phoenix_live_head" version))
+ (sha256
+ (base32 "060bbni63v4jqyiqrykcl2sdra3brhvr15d1q7wg1c48cki01ah3"))))
+ (build-system mix-build-system)
+ (native-inputs
+ (list elixir-excoveralls))
+ (propagated-inputs
+ (list elixir-ex-doc elixir-jason elixir-phoenix
+ elixir-phoenix-html elixir-phoenix-live-view))
+ (synopsis "HTML Head manipulation for Phoenix Live Views")
+ (description "This package provides commands for manipulating the HTML Head
+of Phoenix Live View applications while minimizing data over the wire.
+
+The available command actions support a variety of utility operations useful
for
+HTML Head manipulation. Such as setting or removing tag attributes and adding
+or removing CSS classes.
+
+A special feature is the use of the @code{@{dynamic@}} tag in values. This
+saves data over the wire by only sending the dynamic part of an attributes
+value.")
+ (home-page "https://hexdocs.pm/phoenix_live_head/")
+ (license license:expat)))
+
(define-public elixir-phoenix-live-reload
(package
(name "elixir-phoenix-live-reload")