Commit graph

36 commits

Author SHA1 Message Date
Lars-Dominik Braun
ebea18357b
gnu: elm: Support GHC 9.2.
* gnu/packages/elm.scm (elm-sans-reactor)[source]: Add patch to support GHC 9.2.
* gnu/packages/patches/elm-ghc9.2.patch: This one.
* gnu/local.mk: Add it.
2023-02-26 10:26:15 +01:00
Lars-Dominik Braun
49a320aaa6
Upgrade Haskell packages.
Script-aided bulk change.
2023-02-26 10:26:07 +01:00
jgart
7d27a5322c
gnu: Add elm-community-random-extra.
* gnu/packages/elm.scm (elm-community-random-extra): New variable.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-09-28 15:15:15 -04:00
Philip McGrath
7a2eb7d231
gnu: Add elm-terezka-elm-charts.
* gnu/packages/elm.scm (elm-terezka-elm-charts): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:57 +02:00
Philip McGrath
f8e080691d
gnu: Add elm-terezka-intervals.
* gnu/packages/elm.scm (elm-terezka-intervals): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:56 +02:00
Philip McGrath
1b8d1f7d48
gnu: Add elm-ryannhg-date-format.
* gnu/packages/elm.scm (elm-ryannhg-date-format): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:56 +02:00
Philip McGrath
71841da6f7
gnu: Add elm-myrho-elm-round.
* gnu/packages/elm.scm (elm-myrho-elm-round): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:56 +02:00
Philip McGrath
0fbf000f68
gnu: Add elm-justinmimbs-time-extra.
* gnu/packages/elm.scm (elm-justinmimbs-time-extra): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:56 +02:00
Philip McGrath
f0b7c8dca0
gnu: Add elm-justinmimbs-date.
* gnu/packages/elm.scm (elm-justinmimbs-date): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:56 +02:00
Philip McGrath
4d50052cf3
gnu: Add elm-danhandrea-elm-time-extra.
* gnu/packages/elm.scm (elm-danhandrea-elm-time-extra): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:56 +02:00
Philip McGrath
34f4542154
gnu: Add elm-danhandrea-elm-date-format.
* gnu/packages/elm.scm (elm-danhandrea-elm-date-format): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:55 +02:00
Philip McGrath
297ae57bed
gnu: Add elm-explorations-test.
* gnu/packages/elm.scm (elm-explorations-test): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:55 +02:00
Philip McGrath
4522741c1d
gnu: Add elm-random.
* gnu/packages/elm.scm (elm-random): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:55 +02:00
Philip McGrath
955638d8ac
gnu: Add elm-debois-elm-dom.
* gnu/packages/elm.scm (elm-debois-elm-dom): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:55 +02:00
Philip McGrath
b6c0f18dee
gnu: Add elm-todomvc.
* gnu/packages/elm.scm (elm-todomvc): New variable.
* doc/guix.texi (Build Systems)[elm-build-system]: Mention it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:55 +02:00
Philip McGrath
9885c2fd07
gnu: elm: Support 'elm reactor'.
* gnu/packages/elm.scm (elm): Rename to ...
(elm-sans-reactor): ... this new variable.
[synopsis, description]: Tweak.
(elm): New variable.
* guix/build-system/elm.scm (default-elm): Use elm-sans-reactor.
* doc/guix.texi (Build Systems)[elm-build-system]: Update accordingly.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:54 +02:00
Philip McGrath
796045b2c2
gnu: Add elm-explorations-markdown.
* gnu/packages/elm.scm (elm-explorations-markdown): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:54 +02:00
Philip McGrath
1e0e94c35e
gnu: Add elm-project-metadata-utils.
* gnu/packages/elm.scm (elm-project-metadata-utils): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:54 +02:00
Philip McGrath
e46c530d50
gnu: Add elm-parser.
* gnu/packages/elm.scm (elm-parser): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:54 +02:00
Philip McGrath
2ea11208f2
gnu: Add elm-http.
* gnu/packages/elm.scm (elm-http): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:54 +02:00
Philip McGrath
324b404804
gnu: Add elm-file.
* gnu/packages/elm.scm (elm-file): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:54 +02:00
Philip McGrath
dfae053d73
gnu: Add elm-bytes.
* gnu/packages/elm.scm (elm-bytes): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:53 +02:00
Philip McGrath
951ad86e81
gnu: Add elm-browser.
* gnu/packages/elm.scm (elm-browser): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:53 +02:00
Philip McGrath
31ee69721a
gnu: Add elm-url.
* gnu/packages/elm.scm (elm-url): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:53 +02:00
Philip McGrath
c69d91a1b5
gnu: Add elm-time.
* gnu/packages/elm.scm (elm-time): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:53 +02:00
Philip McGrath
db6b8d5e2c
gnu: Add elm-svg.
* gnu/packages/elm.scm (elm-svg): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:53 +02:00
Philip McGrath
7ecc855254
gnu: Add elm-html.
* gnu/packages/elm.scm (elm-html): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:53 +02:00
Philip McGrath
205457f814
gnu: Add elm-virtual-dom.
* gnu/packages/elm.scm (elm-virtual-dom): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:52 +02:00
Philip McGrath
d16b2a1421
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>
2022-05-22 01:07:51 +02:00
Philip McGrath
aefcfdd0ae
guix: Add elm-build-system.
* gnu/packages/patches/elm-offline-package-registry.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/elm.scm (elm): Use it.
* guix/build-system/elm.scm, guix/build/elm-build-system.scm,
tests/elm.scm: New files.
* Makefile.scm (MODULES, SCM_TESTS): Add them.
* doc/guix.texi (Build Systems): Document 'elm-build-system'.
* doc/contributing.texi (Elm Packages): New section. Document naming
conventions and utilities.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:51 +02:00
Philip McGrath
0d480d4c62
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>
2022-05-22 01:07:51 +02:00
Philip McGrath
4e99510dea
gnu: elm-compiler: Update to 0.19.1.
* gnu/packages/patches/elm-compiler-disable-reactor.patch,
gnu/packages/patches/elm-compiler-fix-map-key.patch: Delete files.
* gnu/packages/patches/elm-reactor-static-files.patch: New file.
* gnu/local.mk (dist_patch_DATA): Update accordingly.
* gnu/packages/elm.scm (elm-compiler): Update to 0.19.1.
[origin]<patches>: Remove stale patches. Add new patch.
[arguments]: Use G-expressions. Add #:configure-flags for new patch.
[inputs]: Remove ghc-file-embed. Add ghc-filelock.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:51 +02:00
Ludovic Courtès
8394619bac
gnu: Simplify package inputs.
This commit was obtained by running:

  ./pre-inst-env guix style

without any additional argument.
2021-12-13 17:48:25 +01:00
Lars-Dominik Braun
b97f549b14
gnu: Update Haskell ecosystem.
Bump packages’ versions to the lastest Stackage or Hackage
release. Since packages are interdependent, do so in a single commit.

525 packages have been updated.

These packages have been removed, because they fail to build, have no
newer version available and no dependencies:

corrode
ghc-easytest
ghc-edisonapi
ghc-edisoncore
ghc-pandoc-types
ghc-regex-tdfa-text

These have been removed, because they are no longer required:

ghc-happy-1.19.9
ghc-prettyprinter-1.6
ghc-protolude-0.3

ghc-pandoc-citeproc and pandoc-citeproc have been removed, because pandoc
does not use them any more.

Co-authored-by: Xinglu Chen <public@yoctocell.xyz>
2021-10-08 09:13:52 +02:00
Timothy Sample
eef308d62a
gnu: elm-compiler: Fix Cabal dependency constraints.
This package used a patch to update the Cabal version constraints for
'language-glsl'.  This is now done in a phase for consistency with
other Haskell packages.

* gnu/packages/elm.scm (elm-compiler): Add a phase that updates the
Cabal file to allow for newer versions of 'ansi-terminal',
'containers', 'http-client', 'language-glsl', and 'network'.
[source]: Remove 'elm-compiler-relax-glsl-bound.patch'.
* gnu/packages/patches/elm-compiler-relax-glsl-bound.patch: Delete file.
* gnu/local.mk: Remove it.
2019-11-20 20:48:50 -05:00
Robert Vollmert
c902458863
gnu: Add elm-compiler 0.19.0
This adds the elm compiler, version 0.19.0. This provides the
`elm` command, with the exception of the `elm reactor` subcommand.

Named `elm-compiler`, to leave space for `elm` as the full elm
including reactor.

* gnu/packages/elm.scm: New module.
(elm-compiler): New package.
* gnu/packages/patches/elm-disable-reactor.patch: New patch.
* gnu/packages/patches/elm-fix-map-key.patch: New patch.
* gnu/packages/patches/elm-relax-glsl-bound.patch: New patch.
* gnu/local.mk: Add new files.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2019-08-17 16:23:06 +02:00