Update elm to 0.14.

Note that elm has a different package split: The old Elm 0.13 package
is now elm-compiler, elm-make and elm-package.

Instead of invoking "elm" one now has to use "elm-make".

I kept the 0.13 version of elm around in case someone depends
on it.
This commit is contained in:
Tom Hunger 2014-12-17 10:57:25 +00:00 committed by Peter Simons
parent 5d7dbaa0fe
commit c53b959c0e
5 changed files with 98 additions and 12 deletions

View file

@ -0,0 +1,34 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, aeson, aesonPretty, binary, blazeHtml, blazeMarkup
, cmdargs, filemanip, filepath, HUnit, indents, languageEcmascript
, languageGlsl, mtl, parsec, QuickCheck, testFramework
, testFrameworkHunit, testFrameworkQuickcheck2, text, transformers
, unionFind, unorderedContainers
}:
cabal.mkDerivation (self: {
pname = "elm-compiler";
version = "0.14";
sha256 = "1vgbs3navs6dr36k408kc83gkn2ndhmc0b1015zk3jb0wkmvm73y";
isLibrary = true;
isExecutable = true;
buildDepends = [
aeson aesonPretty binary blazeHtml blazeMarkup cmdargs filepath
indents languageEcmascript languageGlsl mtl parsec text
transformers unionFind unorderedContainers
];
testDepends = [
aeson aesonPretty binary blazeHtml blazeMarkup cmdargs filemanip
filepath HUnit indents languageEcmascript languageGlsl mtl parsec
QuickCheck testFramework testFrameworkHunit
testFrameworkQuickcheck2 text transformers unionFind
unorderedContainers
];
meta = {
homepage = "http://elm-lang.org";
description = "Values to help with elm-package, elm-make, and elm-lang.org.";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -0,0 +1,23 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, ansiWlPprint, binary, blazeHtml, blazeMarkup, elmCompiler
, elmPackage, filepath, mtl, optparseApplicative_0_10_0, text
}:
cabal.mkDerivation (self: {
pname = "elm-make";
version = "0.1";
sha256 = "1hrc8bzfqzrcmkzqcampxkn5m113blfp4095h6c2xnadiicbvwdy";
isLibrary = false;
isExecutable = true;
buildDepends = [
ansiWlPprint binary blazeHtml blazeMarkup elmCompiler elmPackage
filepath mtl optparseApplicative_0_10_0 text
];
meta = {
homepage = "http://elm-lang.org";
description = "A build tool for Elm projects";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -0,0 +1,26 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, aeson, aesonPretty, ansiWlPprint, binary, elmCompiler
, filepath, HTTP, httpClient, httpClientTls, httpTypes, mtl
, network, optparseApplicative, text, time, unorderedContainers
, vector, zipArchive
}:
cabal.mkDerivation (self: {
pname = "elm-package";
version = "0.2.2";
sha256 = "0hkcy1mix2rng2k2zhzgb16nd0asfj9rm9ya2by67vjysiz8cmnr";
isLibrary = true;
isExecutable = true;
buildDepends = [
aeson aesonPretty ansiWlPprint binary elmCompiler filepath HTTP
httpClient httpClientTls httpTypes mtl network optparseApplicative
text time unorderedContainers vector zipArchive
];
meta = {
homepage = "http://github.com/elm-lang/elm-package";
description = "Package manager for Elm libraries";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -1,24 +1,21 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, blazeHtml, blazeMarkup, cmdargs, Elm, fetchgit, filepath
, fsnotify, HTTP, mtl, snapCore, snapServer, systemFilepath, time
, transformers, unorderedContainers, websockets, websocketsSnap
{ cabal, blazeHtml, blazeMarkup, cmdargs, elmCompiler, elmMake, filepath
, fsnotify, HTTP, mtl, snapCore, snapServer, systemFilepath, text
, time, transformers, unorderedContainers, websockets
, websocketsSnap
}:
cabal.mkDerivation (self: {
pname = "elm-reactor";
version = "0.1";
src = fetchgit {
url = "git://github.com/elm-lang/elm-reactor.git";
sha256 = "1e45ef26a9b1c1748737dce071a7f2587d0d22643085942a98006f9b11d11dfe";
rev = "8715046c5bc8b18f0540069c1a9a65f3aa8332e1";
};
version = "0.2.0.1";
sha256 = "1qnrxr3wayhw92w6lghchz8avxbxg00w7p6d1vs7mq9q56876jgj";
isLibrary = false;
isExecutable = true;
buildDepends = [
blazeHtml blazeMarkup cmdargs Elm filepath fsnotify HTTP mtl
snapCore snapServer systemFilepath time transformers
unorderedContainers websockets websocketsSnap
blazeHtml blazeMarkup cmdargs elmCompiler filepath fsnotify HTTP
mtl snapCore snapServer systemFilepath text time transformers
unorderedContainers websockets websocketsSnap elmMake
];
meta = {
homepage = "http://elm-lang.org";

View file

@ -765,6 +765,12 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
Elm = callPackage ../development/compilers/elm/elm.nix {};
elmCompiler = callPackage ../development/compilers/elm/elm-compiler.nix {};
elmMake = callPackage ../development/compilers/elm/elm-make.nix {};
elmPackage = callPackage ../development/compilers/elm/elm-package.nix {};
elmServer = callPackage ../development/compilers/elm/elm-server.nix {};
elmRepl = callPackage ../development/compilers/elm/elm-repl.nix {};