summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip McGrath <philip@philipmcgrath.com>2022-05-18 14:11:02 -0400
committerLudovic Courtès <ludo@gnu.org>2022-05-22 01:07:53 +0200
commit951ad86e816d23224e64c46632dc0f06aeb09bec (patch)
treebfe4acaf78a5b5bb4eff4171b07b810a6c0920a3
parentgnu: Add elm-url. (diff)
downloadguix-951ad86e816d23224e64c46632dc0f06aeb09bec.tar.gz
guix-951ad86e816d23224e64c46632dc0f06aeb09bec.tar.bz2
guix-951ad86e816d23224e64c46632dc0f06aeb09bec.tar.xz
gnu: Add elm-browser.
* gnu/packages/elm.scm (elm-browser): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/elm.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/elm.scm b/gnu/packages/elm.scm
index d7d11e0d91..714a49a3dd 100644
--- a/gnu/packages/elm.scm
+++ b/gnu/packages/elm.scm
@@ -267,3 +267,28 @@ parse existing URLs into nice Elm data structures.
267 267
268Use it for HTTP and for @dfn{routing} in @acronym{SPAs, single-page apps}.") 268Use it for HTTP and for @dfn{routing} in @acronym{SPAs, single-page apps}.")
269 (license license:bsd-3))) 269 (license license:bsd-3)))
270
271(define-public elm-browser
272 (package
273 (name "elm-browser")
274 (version "1.0.2")
275 (source
276 (elm-package-origin
277 "elm/browser"
278 version
279 (base32 "0863nw2hhbpm3s03lm1imi5x28wwknzrwg2p79s5mydgvdvgwjf0")))
280 (build-system elm-build-system)
281 (propagated-inputs
282 (list elm-virtual-dom
283 elm-url
284 elm-time
285 elm-json
286 elm-html
287 elm-core))
288 (home-page "https://package.elm-lang.org/packages/elm/browser/1.0.2")
289 (synopsis
290 "Run Elm in browsers")
291 (description
292 "This package allows you to create Elm programs that run in browsers,
293with access to browser history for @acronym{SPAs, single-page apps}.")
294 (license license:bsd-3)))