[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/35: gnu: Add elm-core and elm-json.
From: |
guix-commits |
Subject: |
04/35: gnu: Add elm-core and elm-json. |
Date: |
Sat, 21 May 2022 19:43:04 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit d16b2a1421716225c97a21442d3005d14ed87239
Author: Philip McGrath <philip@philipmcgrath.com>
AuthorDate: Wed May 18 14:10:51 2022 -0400
gnu: Add elm-core and elm-json.
Both of these packages are needed for 'elm-build-system' to work.
* gnu/packages/elm.scm (elm-core, elm-json, elm-json-bootstrap): New
variables.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/elm.scm | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
diff --git a/gnu/packages/elm.scm b/gnu/packages/elm.scm
index 35bdcc65f5..4ad3a000cb 100644
--- a/gnu/packages/elm.scm
+++ b/gnu/packages/elm.scm
@@ -103,3 +103,58 @@ such as @command{elm make} and @command{elm repl}.")
;; The 'elm' package used to be called 'elm-compiler'.
(define-public elm-compiler
(deprecated-package "elm-compiler" elm))
+
+(define-public elm-core
+ (package
+ (name "elm-core")
+ (version "1.0.5")
+ (source
+ (elm-package-origin
+ "elm/core"
+ version
+ (base32 "0g3xbi8f9k5q45s95nx3jfvzwdf4b2n63a52wr4027d2xjx0pmvl")))
+ (build-system elm-build-system)
+ (inputs (list elm-json-bootstrap))
+ (arguments
+ (list #:implicit-elm-package-inputs? #f))
+ (home-page "https://package.elm-lang.org/packages/elm/core/1.0.5")
+ (synopsis "Elm's standard libraries")
+ (description "Every Elm project needs this package!")
+ (license license:bsd-3)))
+
+(define-public elm-json
+ (package
+ (name "elm-json")
+ (version "1.1.3")
+ (source
+ (elm-package-origin
+ "elm/json"
+ version
+ (base32 "1hx986yqw1v2bpkrh6brszl8n8awwg1s8zi7v5qg0p1rqwvjlicz")))
+ (build-system elm-build-system)
+ (propagated-inputs (list elm-core))
+ (arguments
+ (list #:implicit-elm-package-inputs? #f))
+ (home-page "https://package.elm-lang.org/packages/elm/json/1.1.3")
+ (synopsis "Encode and decode JSON values in Elm")
+ (description
+ "This package helps you convert between Elm values and JSON values.")
+ (license license:bsd-3)))
+
+(define-public elm-json-bootstrap
+ ;; elm/core doesn't depend on elm/json,
+ ;; but elm-build-system's strategy for building it
+ ;; (and everything else) does
+ (hidden-package
+ (package
+ (inherit elm-json)
+ (name "elm-json-bootstrap")
+ (properties '((upstream-name . "elm/json")))
+ (propagated-inputs '())
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure)
+ (delete 'build)
+ (delete 'validate-compiled))
+ #:implicit-elm-package-inputs? #f)))))
- branch master updated (014f97544d -> b782d11f9b), guix-commits, 2022/05/21
- 17/35: gnu: Add elm-file., guix-commits, 2022/05/21
- 26/35: gnu: Add elm-explorations-test., guix-commits, 2022/05/21
- 31/35: gnu: Add elm-myrho-elm-round., guix-commits, 2022/05/21
- 04/35: gnu: Add elm-core and elm-json.,
guix-commits <=
- 02/35: gnu: elm: Rename package to match the command., guix-commits, 2022/05/21
- 14/35: gnu: Add elm-url., guix-commits, 2022/05/21
- 12/35: gnu: Add elm-svg., guix-commits, 2022/05/21
- 35/35: news: Add entry for 'guix import elm'., guix-commits, 2022/05/21
- 16/35: gnu: Add elm-bytes., guix-commits, 2022/05/21
- 32/35: gnu: Add elm-ryannhg-date-format., guix-commits, 2022/05/21
- 15/35: gnu: Add elm-browser., guix-commits, 2022/05/21
- 19/35: gnu: Add elm-parser., guix-commits, 2022/05/21
- 25/35: gnu: Add elm-random., guix-commits, 2022/05/21
- 22/35: gnu: elm: Support 'elm reactor'., guix-commits, 2022/05/21