diff options
| author | Giacomo Leidi <goodoldpaul@autistici.org> | 2025-09-24 10:31:07 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2025-09-30 08:43:47 +0200 |
| commit | 0feb1af193b5e210124f82e4a721fc396241bcac (patch) | |
| tree | bcb7dcd42145d74e74216c60c058966cdb78a7bc /gnu/packages/elixir-web.scm | |
| parent | ed4587bfcc8a73335084b52007424b012677c4d2 (diff) | |
gnu: Add elixir-phoenix-view.
* gnu/packages/elixir-web.scm (elixir-phoenix-view): New variable.
Change-Id: I3d54b8a8c66136cc54f773a1c1271f0f4fe59d74
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/elixir-web.scm')
| -rw-r--r-- | gnu/packages/elixir-web.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/elixir-web.scm b/gnu/packages/elixir-web.scm index bf1ea9a8916..3110d332f74 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") |
