diff options
author | Philip McGrath <philip@philipmcgrath.com> | 2022-05-18 14:11:01 -0400 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-05-22 01:07:53 +0200 |
commit | 31ee69721ae33ae883c8adbfd4ac0663ccad4fea (patch) | |
tree | 26533102f25ead38331f0d71f56564f48b4615fd | |
parent | gnu: Add elm-time. (diff) | |
download | guix-31ee69721ae33ae883c8adbfd4ac0663ccad4fea.tar.gz guix-31ee69721ae33ae883c8adbfd4ac0663ccad4fea.tar.bz2 guix-31ee69721ae33ae883c8adbfd4ac0663ccad4fea.tar.xz |
gnu: Add elm-url.
* gnu/packages/elm.scm (elm-url): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r-- | gnu/packages/elm.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/elm.scm b/gnu/packages/elm.scm index 2b9ee3594a..d7d11e0d91 100644 --- a/gnu/packages/elm.scm +++ b/gnu/packages/elm.scm | |||
@@ -239,3 +239,31 @@ library.") | |||
239 | "This package provides an Elm library for working with POSIX times, time | 239 | "This package provides an Elm library for working with POSIX times, time |
240 | zones, formatting, and the clock.") | 240 | zones, formatting, and the clock.") |
241 | (license license:bsd-3))) | 241 | (license license:bsd-3))) |
242 | |||
243 | (define-public elm-url | ||
244 | (package | ||
245 | (name "elm-url") | ||
246 | (version "1.0.0") | ||
247 | (source | ||
248 | (elm-package-origin | ||
249 | "elm/url" | ||
250 | version | ||
251 | (base32 "1f2ij4i7zmijnj2i50qf19lpkr14bhms8dkq029inb5mydi9f8gs"))) | ||
252 | (build-system elm-build-system) | ||
253 | (propagated-inputs (list elm-core)) | ||
254 | (home-page "https://package.elm-lang.org/packages/elm/url/1.0.0") | ||
255 | (synopsis | ||
256 | "Create and parse URLs in Elm") | ||
257 | (description | ||
258 | "This package helps you: | ||
259 | |||
260 | @enumerate | ||
261 | @item | ||
262 | build new URLs; and | ||
263 | |||
264 | @item | ||
265 | parse existing URLs into nice Elm data structures. | ||
266 | @end enumerate | ||
267 | |||
268 | Use it for HTTP and for @dfn{routing} in @acronym{SPAs, single-page apps}.") | ||
269 | (license license:bsd-3))) | ||