mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add elixir-phoenix-live-view.
* gnu/packages/elixir-web.scm (elixir-phoenix-live-view): New variable. Change-Id: I8e2af57ba8337cbf2fc3e0e2abd3f6a469e66385 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
6e7d383125
commit
749d2638a1
1 changed files with 52 additions and 0 deletions
|
@ -434,6 +434,58 @@ framework.")
|
|||
(home-page "https://hexdocs.pm/phoenix_live_reload/")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public elixir-phoenix-live-view
|
||||
(package
|
||||
(name "elixir-phoenix-live-view")
|
||||
(version "1.1.13")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (hexpm-uri "phoenix_live_view" version))
|
||||
(sha256
|
||||
(base32 "1v7p6q0lz9fzfyj9w4kwbyqi1vqdzsdllaw3xvw9whdqfcsyj1lx"))))
|
||||
(build-system mix-build-system)
|
||||
(arguments
|
||||
;; Tests fail with:
|
||||
;;
|
||||
;; [warning] Could not start Phoenix live-reload because we cannot listen
|
||||
;; to the file system.
|
||||
;; You don't need to worry! This is an optional feature used during
|
||||
;; development to refresh your browser when you save files and it does not
|
||||
;; affect production.
|
||||
(list #:tests? #f))
|
||||
(native-inputs
|
||||
(list elixir-html-entities
|
||||
elixir-phoenix-live-reload))
|
||||
(propagated-inputs
|
||||
(list elixir-floki
|
||||
elixir-jason
|
||||
elixir-phoenix
|
||||
elixir-phoenix-html
|
||||
elixir-phoenix-template
|
||||
elixir-phoenix-view
|
||||
elixir-plug
|
||||
erlang-telemetry))
|
||||
(synopsis "Rich, real-time user experiences with server-rendered HTML")
|
||||
(description "LiveView brings a unified experience to building web
|
||||
applications. You no longer have to split work between client and server,
|
||||
across different toolings, layers, and abstractions. Instead, LiveView
|
||||
enriches the server with a declarative and powerful model while keeping your
|
||||
code closer to your data (and ultimately your source of truth):
|
||||
|
||||
@itemize
|
||||
@item Declarative server side rendering
|
||||
@item Rich templating language
|
||||
@item Diffs over the wire
|
||||
@item Live form validation
|
||||
@item File uploads with progress indicators
|
||||
@item Optimistic updates and transitions
|
||||
@item Live navigation
|
||||
@item Latency simulator
|
||||
@end itemize")
|
||||
(home-page "https://hexdocs.pm/phoenix_live_view/")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public elixir-phoenix-pubsub
|
||||
(package
|
||||
(name "elixir-phoenix-pubsub")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue