Commit Graph

83 Commits

Author SHA1 Message Date
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
Domen Kožar
db11c832fb WIP Elm 0.19 2018-08-26 23:20:41 +01:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Matt McHenry
b80874cda9 elm: override either for elm-interface-to-json
as suggested by @pbogdan

final fix for #38023
2018-04-02 01:05:03 +02:00
Matt McHenry
da8d48117f elm: patch elm-package to work with current http-client
partial fix for #38023
2018-04-02 01:05:03 +02:00
Matt McHenry
5dd5faddc0 elm: disable dependencies' tests to fix build
these haskell packages need their tests disabled after recent hackage
package version bumps.

partial fix for #38023
2018-04-02 01:05:03 +02:00
Michael Fellinger
94b7925b30 elm-interface-to-json: init at 0.1 (#32194)
elm-interface-to-json -> init at 0.1
2017-12-02 13:32:45 +01:00
Michael Fellinger
2c50340575 elm-format: 0.5.2 -> 0.7.0 2017-11-06 14:47:33 +01:00
mimadrid
09e0cc7cc7
Update homepage attributes: http -> https
Homepage link "http://.../" is a permanent redirect to "https://.../" and should be updated
https://repology.org/repository/nix_stable/problems
2017-08-03 11:56:15 +02:00
Silvan Mosberger
f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
Nick Novitski
b47e0227bc elm-format: symlink latest version to bin/elm-format (#24971)
* elm-format: symlink latest version to `bin/elm-format`

* elm-format: nitpick: indentation
2017-04-17 18:41:29 +02:00
Domen Kožar
afb7d04dd6
elmPackages: fix #22932 2017-02-23 22:58:40 +01:00
Domen Kožar
1d71ae259f elm: be able to install everything inside a profile to fix #19943 2016-11-21 12:42:44 +01:00
Rok Garbas
84280ff96d
elm: 0.17.1 -> 0.18 2016-11-18 02:55:42 +01:00
Brad Ediger
f0f9172017 elm: Constrain aeson-pretty to <0.8 (#17511)
https://github.com/elm-lang/elm-compiler/pull/1431
2016-08-04 18:08:32 +02:00
Rok Garbas
4ea1b3824a elm-format: disable tests (one failing), reported upstream 2016-07-16 00:39:55 +02:00
Rok Garbas
0362eaf3ec elm-format: 0.3.1 -> 0.4.0 2016-07-16 00:36:28 +02:00
Rok Garbas
bed7aba2f0 elm: 0.17 -> 0.17.1 2016-07-16 00:11:41 +02:00
Bjørn Forsman
bd01fad0ed Captialize meta.description of all packages
In line with the Nixpkgs manual.

A mechanical change, done with this command:

  find pkgs -name "*.nix" | \
      while read f; do \
          sed -e 's/description\s*=\s*"\([a-z]\)/description = "\u\1/' -i "$f"; \
      done

I manually skipped some:

* Descriptions starting with an abbreviation, a user name or package name
* Frequently generated expressions (haskell-packages.nix)
2016-06-20 13:55:52 +02:00
Tuomas Tynkkynen
bac26e08db Fix lots of fetchgit hashes (fallout from #15469) 2016-06-03 17:17:08 +03:00
Maxwell Huang-Hobbs
4ea4cd9905 elm-format: init at 0.3.1
Closes #15817.

abbradar: remove unneeded callPackage argument and clean up spaces.
2016-05-30 04:39:40 +03:00
Nikolay Amiantov
76bf59a231 elmPackages: mark release.nix as autogenerated 2016-05-30 02:11:41 +03:00
Nikolay Amiantov
d3da0bd78f elm: add documentation on how to use update scripts and run them properly 2016-05-18 13:30:38 +03:00
Stewart Mackenzie
6b9c67333f elm: 0.16.0 -> 0.17.0 (#15383) 2016-05-11 12:30:09 +01:00
Nikolay Amiantov
8b7ebaffeb replace makeSearchPath tree-wise to take care of possible multiple outputs 2016-04-13 22:09:41 +03:00
Nikolay Amiantov
f0187cb4c3 elmPackages.elm-compiler: use old language-ecmascript 2016-03-23 21:34:39 +03:00
zimbatm
17348dc094 Remove all dots at end of descriptions
Specially crafted for @JagaJaga

    find pkgs -name "*.nix" -exec \
      sed -e 's|\(description.*\)\.";|\1";|g' -i {} \;
2016-02-27 17:30:29 +00:00
Jakob Gillich
d006529ca9 elm: update to latest revs
Some tags were updated with bug fixes. Also fixed update-elm.rb to
include the callPackage argument for release.nix.
2016-02-17 14:59:29 +01:00
Domen Kožar
542bf5bf41 elm: recurseIntroAtrs and use GHC 7.10.3 2016-01-22 13:39:18 +01:00
Maciek Starzyk
00f8071b2f elm: Update elm-lang/core hash. 2015-11-23 22:11:51 +01:00
Brandon Martin
e32defcdac elmPackages update from 0.15.1 to 0.16 2015-11-20 10:14:49 -07:00
Tanner Doshier
5adba5cf6f elm: fix patch hashes 2015-08-20 21:54:40 -05:00
Nikolay Amiantov
89a2f87011 elm: add the platform and helpful scripts 2015-08-17 21:32:30 +03:00
Peter Simons
324719a5a6 Drop obsolete pre-NG Haskell builds. 2015-05-05 21:44:47 +02:00