[bug#55030,02/30] gnu: elm: Rename package to match the command.
Commit Message
* gnu/packages/elm.scm (elm-compiler): Rename to ...
(elm): ... this variable.
[description]: Tweak.
---
gnu/packages/elm.scm | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
Comments
Philip McGrath <philip@philipmcgrath.com> skribis:
> * gnu/packages/elm.scm (elm-compiler): Rename to ...
> (elm): ... this variable.
> [description]: Tweak.
Could you add a deprecated alias, with ‘deprecated-package’?
On 5/1/22 16:22, Ludovic Courtès wrote:
> Philip McGrath <philip@philipmcgrath.com> skribis:
>
>> * gnu/packages/elm.scm (elm-compiler): Rename to ...
>> (elm): ... this variable.
>> [description]: Tweak.
>
> Could you add a deprecated alias, with ‘deprecated-package’?
Yes, will do. (Though it will be at least a few days before I circle
back to this.)
@@ -33,13 +33,13 @@ (define-module (gnu packages elm)
;; The `elm` build usually calls out to itself via Template Haskell to compile
;; the `elm reactor` web app (which depends on additional Elm packages) and
;; embeds the static files into itself. The reactor isn't required to compile
-;; elm applications, so we want to skip it from the bootstrap package, but we
+;; Elm applications, so we want to skip it from the bootstrap package, but we
;; also want to be able to enable it once we can build it. We patch Elm to
-;; instead look for the files on disk relative to the executable and exit with
-;; a useful error message if they aren't there.
-(define-public elm-compiler
+;; instead look for the files on disk relative to the executable and to have
+;; `elm reactor` exit with a useful error message if they aren't there.
+(define-public elm
(package
- (name "elm-compiler")
+ (name "elm")
(version "0.19.1")
(source
(origin
@@ -91,7 +91,7 @@ (define-public elm-compiler
(home-page "https://elm-lang.org")
(synopsis "Programming language for Web applications")
(description
- "This package provides Elm, a statically-typed functional programming
-language for the browser. It includes commands for developers such as
-@command{elm make} and @command{elm repl}.")
+ "Elm is a statically-typed, purely-functional programming language for
+the browser. The @command{elm} exectable includes commands for developers
+such as @command{elm make} and @command{elm repl}.")
(license license:bsd-3)))