gnu: Add elixir-surface.

* gnu/packages/elixir-web.scm (elixir-surface): New variable.

Change-Id: Id1c4d033e9d65d988f864d2ce2e80b689eacf2ec
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Giacomo Leidi 2025-09-24 10:46:25 +02:00 committed by Ludovic Courtès
parent 4a231b2b97
commit 96bf2cc018
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -744,6 +744,35 @@ show some high-level examples and introduce the Plug's main building blocks.")
(home-page "https://hexdocs.pm/plug/") (home-page "https://hexdocs.pm/plug/")
(license license:asl2.0))) (license license:asl2.0)))
(define-public elixir-surface
(package
(name "elixir-surface")
(version "0.12.1")
(source
(origin
(method url-fetch)
(uri (hexpm-uri "surface" version))
(sha256
(base32 "04yl1k13sd22iwlf90l46dd7a09x3wq0g1iq6caw9y9p4ljl4chk"))))
(build-system mix-build-system)
(native-inputs
(list elixir-ecto
elixir-floki
elixir-jason
elixir-phoenix-ecto
elixir-sourceror))
(propagated-inputs
(list elixir-phoenix-html
elixir-phoenix-live-view
elixir-sourceror))
(synopsis "Server-side rendering component library for Phoenix")
(description
"This package provides Surface is a server-side rendering component library
that allows developers to build rich interactive user-interfaces, writing
minimal custom JavaScript.")
(home-page "https://surface-ui.org")
(license license:expat)))
;; This package lives here to avoid module level circular dependencies as it ;; This package lives here to avoid module level circular dependencies as it
;; depends on elixir-mint. ;; depends on elixir-mint.
(define-public elixir-tz (define-public elixir-tz