guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 0feb1af193b5e210124f82e4a721fc396241bcac
Author: Giacomo Leidi <[email protected]>
AuthorDate: Wed Sep 24 10:31:07 2025 +0200

    gnu: Add elixir-phoenix-view.
    
    * gnu/packages/elixir-web.scm (elixir-phoenix-view): New variable.
    
    Change-Id: I3d54b8a8c66136cc54f773a1c1271f0f4fe59d74
    Signed-off-by: Ludovic Courtès <[email protected]>
---
 gnu/packages/elixir-web.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/elixir-web.scm b/gnu/packages/elixir-web.scm
index bf1ea9a891..3110d332f7 100644
--- a/gnu/packages/elixir-web.scm
+++ b/gnu/packages/elixir-web.scm
@@ -448,6 +448,31 @@ engine.")
     (home-page "https://hexdocs.pm/phoenix_template/";)
     (license license:expat)))
 
+(define-public elixir-phoenix-view
+  (package
+    (name "elixir-phoenix-view")
+    (version "2.0.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (hexpm-uri "phoenix_view" version))
+       (sha256
+        (base32 "02v2xd1h415kbf1ncclqx6acrbslh6i2gnrmfgjizwqlrqi216af"))))
+    (build-system mix-build-system)
+    (native-inputs
+     (list elixir-jason))
+    (propagated-inputs (list elixir-phoenix-html elixir-phoenix-template))
+    (synopsis "View layer in Phoenix v1.0-v1.6 apps")
+    (description "Within LiveView and HTML apps, @code{Phoenix.View} has fallen
+out of fashion in favor of @code{Phoenix.Component}.  See the \"Replaced by
+@code{Phoenix.Component}\" section in the @code{Phoenix.View} module
+documentation for more information and migration steps.
+
+If you want to render other formats, such as XML, @code{Phoenix.View} may still
+be a useful addition to your projects.")
+    (home-page "https://hexdocs.pm/phoenix_view/";)
+    (license license:expat)))
+
 (define-public elixir-plug-crypto
   (package
     (name "elixir-plug-crypto")

Reply via email to