Commit graph

116 commits

Author SHA1 Message Date
Marek Fajkus b9e9effb44
elmPackages: Refactor lib and builds of packages 2020-06-23 19:44:34 +02:00
Daiderd Jordan 7b3a2963d1
treewide: replace base64 encoded hashes 2020-06-03 18:35:19 +02:00
Márton Boros 31c42bb05b
makeDotElm: fix
Some elm packages (eg. https://github.com/NoRedInk/elm-simple-fuzzy/ ) have a Makefile which the standard builder tries to build and fails because of missing dependencies. This change forces a no-op configure and build phase to avoid such a situation.
2020-05-03 21:54:20 +03:00
Marek Fajkus 8ab6aee3fc
elmPackages.elm-format: fix build
Resolves issue from 7d30b4d1b5 commit
2020-05-02 01:06:25 +02:00
Konrad Borowski cfa5b41053 elm-instrument: update homepage link to use HTTPS 2020-04-24 19:44:59 -07:00
Gabor Greif a634bd0fd7 ghc: drop 8.8.1 2020-04-24 21:48:28 +02:00
Marek Fajkus 02bc5b0ba1
elmPackages.create-elm-app: init at 4.2.4 2020-04-10 21:08:25 +02:00
Marek Fajkus 63c871e148
elmPackages.elm-instrument: remove patch 2020-03-25 11:53:38 +01:00
Marek Fajkus b812a723f5
elmPackages: minor cleanups
* Make sure generate script uses node2nix version from the nixpkgs
* regenerate code generated by node2nix
2020-03-18 20:36:36 +01:00
Domen Kožar e6b5bcd70f
Merge pull request #82779 from turboMaCk/elm-coverage
elmPackages.elm-coverage: init at 0.0.3
2020-03-17 15:01:55 +01:00
Marek Fajkus d52fdecab1
elmPackages.elmi-to-json: 1.2.0 -> 1.3.0 2020-03-17 14:03:25 +01:00
Marek Fajkus baf37aabad
elmPackages.elm-coverage: init at 0.0.3 2020-03-17 13:56:14 +01:00
Marek Fajkus f387b85540
elmPackages.elm-instrument: Init at 0.0.7 2020-03-16 20:10:34 +01:00
Sander van der Burg 875bcef98b base16-builder: regenerate with node2nix 1.8.0, add supplement.json with node-pre-gyp to fix build 2020-03-15 16:37:47 +01:00
Aaron VonderHaar 0fa9ef1ee2 elm-format: 0.8.2 -> 0.8.3 2020-02-29 14:34:11 -08:00
Marek Fajkus d6c385dd0e
elmPackages.elm-analyse: 0.16.4 -> 0.16.5 2020-02-03 11:45:51 +01:00
Domen Kožar dd9adc846a
Merge pull request #76866 from andys8/elm-language-server-146
elmPackages.*: update to latest versions
2020-01-06 14:26:38 +01:00
andys8 d14669c94c elmPackages.*: update to latest versions
Intention is to update elm-language-server to 1.4.6
2020-01-03 11:11:04 +01:00
Robin Gloster 760e23136a
treewide: *inputs are lists 2019-12-31 01:09:25 +01:00
andys8 29260acb75 Update elm-language-server to 1.4.4 2019-10-31 12:45:50 +01:00
Marek Fajkus ff88fe03d7
elmPackages.{elm-test,elm-analyse}: elm 0.19.1 updates 2019-10-22 19:16:46 +02:00
Marek Fajkus 148d4a214a
elmPackages: elm-format GHC 8.8.1 patch 2019-10-22 14:52:57 +02:00
Domen Kožar 5235b19045
Elm: 0.19.0 -> 0.19.1 2019-10-21 21:32:35 +02:00
Brian Hicks 1d4f48d730 elmPackages.*: update to latest versions
elm-language-server: 1.4.1 -> 1.4.2

downstream updates in others
2019-10-21 06:04:05 -05:00
Marek Fajkus 48e57cfd57
elm.elmPackages: Cleanup code 2019-10-13 15:08:18 +02:00
Brian Hicks 847c5f077f elmPackages.*: update to latest versions
elm-verify-examples: 4.0.1 -> 4.0.2
elm-live: 4.0.0 -> 4.0.1

downstream dependencies for most packages
2019-10-11 14:44:25 -05:00
Peter Simons ddb77f3437 ghc: drop obsolete 8.6.4 version
The latest version in the 8.6.x branch is 8.6.5.
2019-09-18 18:24:42 +02:00
Marek Fajkus 98997bb489
elmPackages.elm-language-server: Init at 1.4.1 2019-09-15 16:36:17 +02:00
Frederik Rietdijk ad1d58c622 Merge staging-next into staging 2019-08-31 10:04:20 +02:00
Marek Fajkus eb5ba591d9 elmPackages: share node-env.nix, add elm-live & elm-xref 2019-08-27 22:02:37 +02:00
volth 35d68ef143 treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00
Aaron VonderHaar 4865c8c187 elm-format: 0.8.1 -> 0.8.2 2019-08-08 23:42:08 -07:00
Marek Fajkus 3b1948b2d4 elm.elmPackages: Update elm-analyse and node2nix 2019-07-09 12:37:29 +02:00
Frederik Rietdijk 26335f358e elm: don't import <nixpkgs>, fixes tarball job
Don't import <nixpkgs>, because that is not allowed.
Broken by https://github.com/NixOS/nixpkgs/pull/63477

cc @turboMaCk
2019-06-25 16:14:56 +02:00
Marek Fajkus a97986a481 elmPackages.{elm-test,elm-analyse..}: tooling additions and fixes
Extends the number of available tools for Elm language.

1. fix and move "elm-test"
Previously located in nodePackages.elm-test but broken (see binwrap info).
Now fixed and located in elmPackages.elm-test

2. add "elm-verify-examples"
Generate tests from documentation examples

3. add "elm-upgrade"
upgrade assistant using statical analysis

4. add "elm-analyse"
static analysis for elm code (linter)

5. move "elm-doc-preview"
originally located in nodePackages.elm-upgrade - moved for consistency

6. add "elmi-to-json"
transforms elmi files to json - used by other tools like elm-test and
elm-verify-examples

Node.js based dependencies are defined the same way as nodePackages
contaparts but are independent (has it's own packages.json)

patch-binwrap.nix is used to as a replacement for binwrap package
used by some nodejs dependencies that depends on Haskell binaries
(elm-test and elm-verify-examples).

BREAKING CHANGE
===============
elm-doc-preview (as well as broken elm-test) is now commented
in `node-packages-v10.json` and should be removed once new
nix-expressions for node10 are generated (out of scope of this PR)

There are still 2 outstanding elm related packages in nodePackages

1. elm-oracle - legacy package which is not compatible with elm 0.19
2. elm-live - should be moved in the future I think
2019-06-18 21:29:10 +02:00
volth f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Daniel Schaefer bac4d95aa2 treewide: Change URLs to HTTPS
Lots of URLs were HTTP redirect to HTTPS. Changed those and checked them
if there's actual content. Inspired by
https://github.com/NixOS/nixpkgs/issues/60004
2019-04-22 10:19:54 +02:00
Peter Simons 93e4a90502 ghc: switch our default compiler to version 8.6.4
Also, drop obsolete 8.6.x minor releases 8.6.1, 8.6.2, and 8.6.3.

(cherry picked from commit 7fde42b8ebddbd673342b98d9d7c892a0c521583)
2019-03-16 20:30:58 +01:00
Matt McHenry 736fe5ae59 elm: fix UnsafePath error downloading dependencies 2019-01-21 14:44:31 -05:00
Domen Kožar 28293fb169
fix #52118 2019-01-04 13:55:06 +00:00
Domen Kožar fb0e49a9a7
elm: get to compile on GHC 8.6.3 2019-01-04 13:03:24 +00:00
Domen Kožar 6da4584acf
Elm: automate packaging with elm2nix
- rewrite documentation
- automate whole process into update.sh
- remove all legacy snippets
2019-01-03 16:37:09 +00:00
Matt McHenry 206a1c00ba elm: extract makeDotElm and fetchElmDeps 2018-11-21 10:57:11 +00:00
Aaron VonderHaar 67f58eee5e elm-format: 0.8.0 -> 0.8.1 2018-10-03 20:30:35 +01:00
Matt McHenry e78f60475b elm: patch to widen dependency after hackage update 1b1cb6305c
works around missing dependency 'language-glsl >=0.0.2 && <0.3'

patch from https://github.com/elm/compiler/pull/1784
2018-09-15 13:14:41 -04:00
Matt McHenry 04d8e267b7 elm: pick up some recent minor updates to 0.19.0 2018-09-15 13:14:40 -04:00
Matt McHenry aa8bdaf0c4 elm: add instructions for versions.dat and elm-elm.nix
(cherry picked from commit fcabcb2e41a89b2249d24e68355866979e961f8a)
Signed-off-by: Domen Kožar <domen@dev.si>
2018-08-26 23:20:41 +01:00
Domen Kožar fc11905b6e elm: depend on nodejs due to repl 2018-08-26 23:20:41 +01:00
Domen Kožar 7c542d0c86 Elm: 0.19 builds with elm-format 2018-08-26 23:20:41 +01:00
Matt McHenry 9f9e9d6433 elm: 0.18 -> 0.19
update makeElmStuff to makeDotElm, create elm-elm.nix listing the elm
code that elm itself embeds, and pre-fetch it so that the elm build
can function offline.  also include a versions.dat file, as created
during an impure build of elm.  set ELM_HOME so that the elm build can
find these things.

continues #45448

(cherry picked from commit e7d0df84676d51fb0cbfbeb10dd32153489c3565)
Signed-off-by: Domen Kožar <domen@dev.si>
2018-08-26 23:20:41 +01:00