git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #5488 from teh/master

Update elm to 0.14.

commitfb3f5fc7dbbcf98270950fb54d05331d1a739d37 authorPeter Simons <simons@cryp.to> dateSun 28 Dec 2014, 22:27 (12 years ago) parent42bb368e67535c
5 files changed+98−12
pkgs/development/compilers/elm/elm-compiler.nix+34 pkgs/development/compilers/elm/elm-make.nix+23 pkgs/development/compilers/elm/elm-package.nix+26 pkgs/development/compilers/elm/elm-reactor.nix+9−12 pkgs/top-level/haskell-packages.nix+6
pkgs/development/compilers/elm/elm-compiler.nixnew file+34
@@ -0,0 +1,34 @@
1+# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2+
3+{ cabal, aeson, aesonPretty, binary, blazeHtml, blazeMarkup
4+, cmdargs, filemanip, filepath, HUnit, indents, languageEcmascript
5+, languageGlsl, mtl, parsec, QuickCheck, testFramework
6+, testFrameworkHunit, testFrameworkQuickcheck2, text, transformers
7+, unionFind, unorderedContainers
8+}:
9+
10+cabal.mkDerivation (self: {
11+ pname = "elm-compiler";
12+ version = "0.14";
13+ sha256 = "1vgbs3navs6dr36k408kc83gkn2ndhmc0b1015zk3jb0wkmvm73y";
14+ isLibrary = true;
15+ isExecutable = true;
16+ buildDepends = [
17+ aeson aesonPretty binary blazeHtml blazeMarkup cmdargs filepath
18+ indents languageEcmascript languageGlsl mtl parsec text
19+ transformers unionFind unorderedContainers
20+ ];
21+ testDepends = [
22+ aeson aesonPretty binary blazeHtml blazeMarkup cmdargs filemanip
23+ filepath HUnit indents languageEcmascript languageGlsl mtl parsec
24+ QuickCheck testFramework testFrameworkHunit
25+ testFrameworkQuickcheck2 text transformers unionFind
26+ unorderedContainers
27+ ];
28+ meta = {
29+ homepage = "http://elm-lang.org";
30+ description = "Values to help with elm-package, elm-make, and elm-lang.org.";
31+ license = self.stdenv.lib.licenses.bsd3;
32+ platforms = self.ghc.meta.platforms;
33+ };
34+})
pkgs/development/compilers/elm/elm-make.nixnew file+23
@@ -0,0 +1,23 @@
1+# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2+
3+{ cabal, ansiWlPprint, binary, blazeHtml, blazeMarkup, elmCompiler
4+, elmPackage, filepath, mtl, optparseApplicative_0_10_0, text
5+}:
6+
7+cabal.mkDerivation (self: {
8+ pname = "elm-make";
9+ version = "0.1";
10+ sha256 = "1hrc8bzfqzrcmkzqcampxkn5m113blfp4095h6c2xnadiicbvwdy";
11+ isLibrary = false;
12+ isExecutable = true;
13+ buildDepends = [
14+ ansiWlPprint binary blazeHtml blazeMarkup elmCompiler elmPackage
15+ filepath mtl optparseApplicative_0_10_0 text
16+ ];
17+ meta = {
18+ homepage = "http://elm-lang.org";
19+ description = "A build tool for Elm projects";
20+ license = self.stdenv.lib.licenses.bsd3;
21+ platforms = self.ghc.meta.platforms;
22+ };
23+})
pkgs/development/compilers/elm/elm-package.nixnew file+26
@@ -0,0 +1,26 @@
1+# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2+
3+{ cabal, aeson, aesonPretty, ansiWlPprint, binary, elmCompiler
4+, filepath, HTTP, httpClient, httpClientTls, httpTypes, mtl
5+, network, optparseApplicative, text, time, unorderedContainers
6+, vector, zipArchive
7+}:
8+
9+cabal.mkDerivation (self: {
10+ pname = "elm-package";
11+ version = "0.2.2";
12+ sha256 = "0hkcy1mix2rng2k2zhzgb16nd0asfj9rm9ya2by67vjysiz8cmnr";
13+ isLibrary = true;
14+ isExecutable = true;
15+ buildDepends = [
16+ aeson aesonPretty ansiWlPprint binary elmCompiler filepath HTTP
17+ httpClient httpClientTls httpTypes mtl network optparseApplicative
18+ text time unorderedContainers vector zipArchive
19+ ];
20+ meta = {
21+ homepage = "http://github.com/elm-lang/elm-package";
22+ description = "Package manager for Elm libraries";
23+ license = self.stdenv.lib.licenses.bsd3;
24+ platforms = self.ghc.meta.platforms;
25+ };
26+})
pkgs/development/compilers/elm/elm-reactor.nix+9−12
@@ -1,24 +1,21 @@
11# This file was auto-generated by cabal2nix. Please do NOT edit manually!
22
3−{ cabal, blazeHtml, blazeMarkup, cmdargs, Elm, fetchgit, filepath
4−, fsnotify, HTTP, mtl, snapCore, snapServer, systemFilepath, time
5−, transformers, unorderedContainers, websockets, websocketsSnap
3+{ cabal, blazeHtml, blazeMarkup, cmdargs, elmCompiler, elmMake, filepath
4+, fsnotify, HTTP, mtl, snapCore, snapServer, systemFilepath, text
5+, time, transformers, unorderedContainers, websockets
6+, websocketsSnap
67}:
78
89cabal.mkDerivation (self: {
910 pname = "elm-reactor";
10− version = "0.1";
11− src = fetchgit {
12− url = "git://github.com/elm-lang/elm-reactor.git";
13− sha256 = "1e45ef26a9b1c1748737dce071a7f2587d0d22643085942a98006f9b11d11dfe";
14− rev = "8715046c5bc8b18f0540069c1a9a65f3aa8332e1";
15− };
11+ version = "0.2.0.1";
12+ sha256 = "1qnrxr3wayhw92w6lghchz8avxbxg00w7p6d1vs7mq9q56876jgj";
1613 isLibrary = false;
1714 isExecutable = true;
1815 buildDepends = [
19− blazeHtml blazeMarkup cmdargs Elm filepath fsnotify HTTP mtl
20− snapCore snapServer systemFilepath time transformers
21− unorderedContainers websockets websocketsSnap
16+ blazeHtml blazeMarkup cmdargs elmCompiler filepath fsnotify HTTP
17+ mtl snapCore snapServer systemFilepath text time transformers
18+ unorderedContainers websockets websocketsSnap elmMake
2219 ];
2320 meta = {
2421 homepage = "http://elm-lang.org";
pkgs/top-level/haskell-packages.nix+6
@@ -755,6 +755,12 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
755755
756756 Elm = callPackage ../development/compilers/elm/elm.nix {};
757757
758+ elmCompiler = callPackage ../development/compilers/elm/elm-compiler.nix {};
759+
760+ elmMake = callPackage ../development/compilers/elm/elm-make.nix {};
761+
762+ elmPackage = callPackage ../development/compilers/elm/elm-package.nix {};
763+
758764 elmServer = callPackage ../development/compilers/elm/elm-server.nix {};
759765
760766 elmRepl = callPackage ../development/compilers/elm/elm-repl.nix {};