gnu: elm: Rename package to match the command.

* gnu/packages/elm.scm (elm-compiler): Rename to ...
(elm): ... this variable, leaving 'elm-compiler' as a deprecated alias.
[description]: Tweak.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Philip McGrath 2022-05-18 14:10:49 -04:00 committed by Ludovic Courtès
parent 4e99510dea
commit 0d480d4c62
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

View File

@ -39,9 +39,9 @@
;; `elm reactor` exit with a useful error message if they aren't there. ;; `elm reactor` exit with a useful error message if they aren't there.
(define %reactor-root-base (define %reactor-root-base
"share/elm/reactor-") "share/elm/reactor-")
(define-public elm-compiler (define-public elm
(package (package
(name "elm-compiler") (name "elm")
(version "0.19.1") (version "0.19.1")
(source (source
(origin (origin
@ -93,7 +93,11 @@
(home-page "https://elm-lang.org") (home-page "https://elm-lang.org")
(synopsis "Programming language for Web applications") (synopsis "Programming language for Web applications")
(description (description
"This package provides Elm, a statically-typed functional programming "Elm is a statically-typed, purely-functional programming language for
language for the browser. It includes commands for developers such as the browser. The @command{elm} exectable includes commands for developers
@command{elm make} and @command{elm repl}.") such as @command{elm make} and @command{elm repl}.")
(license license:bsd-3))) (license license:bsd-3)))
;; The 'elm' package used to be called 'elm-compiler'.
(define-public elm-compiler
(deprecated-package "elm-compiler" elm))