diff options
| author | Giacomo Leidi <goodoldpaul@autistici.org> | 2025-09-24 10:40:52 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2025-09-30 08:43:47 +0200 |
| commit | 749d2638a1d9320197b8666d034182f65f5521a7 (patch) | |
| tree | 6f8fed65c8521f82b414f2fdd0122e41d4f77422 | |
| parent | 6e7d383125ea1549c88b43de1165155c89bc80cc (diff) | |
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>
| -rw-r--r-- | gnu/packages/elixir-web.scm | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/gnu/packages/elixir-web.scm b/gnu/packages/elixir-web.scm index 54dbb0dfa7..34a1c3bade 100644 --- a/gnu/packages/elixir-web.scm +++ b/gnu/packages/elixir-web.scm @@ -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") |
