~ruther/guix-local

0feb1af193b5e210124f82e4a721fc396241bcac — Giacomo Leidi 7 months ago ed4587b
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>
1 files changed, 25 insertions(+), 0 deletions(-)

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