elm: 0.17 -> 0.17.1

This commit is contained in:
Rok Garbas 2016-07-16 00:11:41 +02:00
parent cfc0a5415b
commit bed7aba2f0
9 changed files with 66 additions and 58 deletions

View File

@ -40,7 +40,7 @@ let
EOF EOF
'' + lib.concatStrings cmds; '' + lib.concatStrings cmds;
hsPkgs = haskell.packages.ghc7103.override { hsPkgs = haskell.packages.ghc801.override {
overrides = self: super: overrides = self: super:
let hlib = haskell.lib; let hlib = haskell.lib;
elmRelease = import ./packages/release.nix { inherit (self) callPackage; }; elmRelease = import ./packages/release.nix { inherit (self) callPackage; };

View File

@ -3,15 +3,15 @@
, fetchgit, filemanip, filepath, HUnit, indents , fetchgit, filemanip, filepath, HUnit, indents
, language-ecmascript, language-glsl, mtl, parsec, pretty, process , language-ecmascript, language-glsl, mtl, parsec, pretty, process
, QuickCheck, stdenv, test-framework, test-framework-hunit , QuickCheck, stdenv, test-framework, test-framework-hunit
, test-framework-quickcheck2, text, union-find, wl-pprint , test-framework-quickcheck2, text, union-find
}: }:
mkDerivation { mkDerivation {
pname = "elm-compiler"; pname = "elm-compiler";
version = "0.17"; version = "0.17.1";
src = fetchgit { src = fetchgit {
url = "https://github.com/elm-lang/elm-compiler"; url = "https://github.com/elm-lang/elm-compiler";
sha256 = "1vx4jp20nj4s41zsqnwyh80dvg7b7kd9fh6agl99v1xx9d3i6ws1"; sha256 = "17y0jlii81mnjywknblcv1nfja51slmwrhz9x8w144b0sblcj0if";
rev = "c9c7e72c424a13255f8ee84c719f7ef48b689c1a"; rev = "e44deafaf9cbf3749484070f267f03a368711adb";
}; };
isLibrary = true; isLibrary = true;
isExecutable = true; isExecutable = true;
@ -19,7 +19,7 @@ mkDerivation {
aeson aeson-pretty ansi-terminal ansi-wl-pprint base binary aeson aeson-pretty ansi-terminal ansi-wl-pprint base binary
bytestring containers directory edit-distance filepath indents bytestring containers directory edit-distance filepath indents
language-ecmascript language-glsl mtl parsec pretty process text language-ecmascript language-glsl mtl parsec pretty process text
union-find wl-pprint union-find
]; ];
executableHaskellDepends = [ executableHaskellDepends = [
aeson base binary directory filepath process text aeson base binary directory filepath process text
@ -29,10 +29,10 @@ mkDerivation {
bytestring containers directory edit-distance filemanip filepath bytestring containers directory edit-distance filemanip filepath
HUnit indents language-ecmascript language-glsl mtl parsec pretty HUnit indents language-ecmascript language-glsl mtl parsec pretty
process QuickCheck test-framework test-framework-hunit process QuickCheck test-framework test-framework-hunit
test-framework-quickcheck2 text union-find wl-pprint test-framework-quickcheck2 text union-find
]; ];
jailbreak = true; jailbreak = true;
homepage = "http://elm-lang.org"; homepage = "http://elm-lang.org";
description = "Values to help with elm-package, elm-make, and elm-lang.org"; description = "Values to help with elm-package, elm-make, and elm-lang.org.";
license = stdenv.lib.licenses.bsd3; license = stdenv.lib.licenses.bsd3;
} }

View File

@ -1,22 +1,23 @@
{ mkDerivation, aeson, ansi-terminal, ansi-wl-pprint, base, binary { mkDerivation, aeson, ansi-terminal, ansi-wl-pprint, base, binary
, blaze-html, blaze-markup, bytestring, containers, directory , blaze-html, blaze-markup, bytestring, containers, directory
, elm-compiler, elm-package, fetchgit, filepath, mtl , elm-compiler, elm-package, fetchgit, filepath, mtl
, optparse-applicative, stdenv, text, time, raw-strings-qq , optparse-applicative, raw-strings-qq, stdenv, text, time
}: }:
mkDerivation { mkDerivation {
pname = "elm-make"; pname = "elm-make";
version = "0.17"; version = "0.17.1";
src = fetchgit { src = fetchgit {
url = "https://github.com/elm-lang/elm-make"; url = "https://github.com/elm-lang/elm-make";
sha256 = "0ywi6iq2a3rb8a68ryqpq9y22536aa9k71wy7fcmrd5nwkmpwd2r"; sha256 = "0k9w5gl48lhhr3n2iflf0vkb3w6al0xcbglgiw4fq1ssz3aa7ijw";
rev = "5f7b74567c43eff341048c7caceb247b51cdb8bb"; rev = "0a0a1f52ab04e2d68d60a5798722e1de30b47335";
}; };
isLibrary = false; isLibrary = false;
isExecutable = true; isExecutable = true;
executableHaskellDepends = [ executableHaskellDepends = [
aeson ansi-terminal ansi-wl-pprint base binary blaze-html aeson ansi-terminal ansi-wl-pprint base binary blaze-html
blaze-markup bytestring containers directory elm-compiler blaze-markup bytestring containers directory elm-compiler
elm-package filepath mtl optparse-applicative text time raw-strings-qq elm-package filepath mtl optparse-applicative raw-strings-qq text
time
]; ];
jailbreak = true; jailbreak = true;
homepage = "http://elm-lang.org"; homepage = "http://elm-lang.org";

View File

@ -1,29 +1,32 @@
{ mkDerivation, aeson, aeson-pretty, ansi-wl-pprint, base, binary { mkDerivation, aeson, aeson-pretty, ansi-wl-pprint, base, binary
, bytestring, containers, directory, elm-compiler, fetchgit , bytestring, containers, directory, edit-distance, elm-compiler
, filepath, HTTP, http-client, http-client-tls, http-types, mtl , fetchgit, filepath, HTTP, http-client, http-client-tls
, network, optparse-applicative, pretty, stdenv, text, time , http-types, mtl, network, optparse-applicative, parallel-io
, unordered-containers, vector, zip-archive , pretty, stdenv, text, time, unordered-containers, vector
, zip-archive
}: }:
mkDerivation { mkDerivation {
pname = "elm-package"; pname = "elm-package";
version = "0.17"; version = "0.17.1";
src = fetchgit { src = fetchgit {
url = "https://github.com/elm-lang/elm-package"; url = "https://github.com/elm-lang/elm-package";
sha256 = "0z86560a2f7w3ywqvzqghgz100z0yn8zsiixkw4lp5168krp4axg"; sha256 = "0dnn871py0pvzxsjjggy5ww2zj9g71c2dcnp38rcr4nbj8yxik85";
rev = "fc0924210fe5a7c0af543769b1353dbb2ddf2f0c"; rev = "9011ccdbced1d06aa60de0e3096e609ef44d26dd";
}; };
isLibrary = true; isLibrary = true;
isExecutable = true; isExecutable = true;
libraryHaskellDepends = [ libraryHaskellDepends = [
aeson aeson-pretty base binary bytestring containers directory aeson aeson-pretty ansi-wl-pprint base binary bytestring containers
elm-compiler filepath HTTP http-client http-client-tls http-types directory edit-distance elm-compiler filepath HTTP http-client
mtl network text time unordered-containers vector zip-archive http-client-tls http-types mtl network parallel-io text time
unordered-containers vector zip-archive
]; ];
executableHaskellDepends = [ executableHaskellDepends = [
aeson aeson-pretty ansi-wl-pprint base binary bytestring containers aeson aeson-pretty ansi-wl-pprint base binary bytestring containers
directory elm-compiler filepath HTTP http-client http-client-tls directory edit-distance elm-compiler filepath HTTP http-client
http-types mtl network optparse-applicative pretty text time http-client-tls http-types mtl network optparse-applicative
unordered-containers vector zip-archive parallel-io pretty text time unordered-containers vector
zip-archive
]; ];
jailbreak = true; jailbreak = true;
homepage = "http://github.com/elm-lang/elm-package"; homepage = "http://github.com/elm-lang/elm-package";

View File

@ -1,22 +1,22 @@
{ {
"elm-lang/virtual-dom" = { "elm-lang/virtual-dom" = {
version = "1.0.0"; version = "1.1.0";
sha256 = "0pa8k04g9yfixahsb30j0rbhfh6hwdh7xmm2fvk0hkidw7b4xg57"; sha256 = "16g66cvvh85ddciq0ymaqfyq2bcz11pxn0g0dc1wx7bmlqx7q1jz";
}; };
"evancz/elm-markdown" = { "evancz/elm-markdown" = {
version = "3.0.0"; version = "3.0.0";
sha256 = "0r3hcim4mpn46ahv1q6sjp6i2viyp7jik6i71xgwmvfb9drns2p6"; sha256 = "0r3hcim4mpn46ahv1q6sjp6i2viyp7jik6i71xgwmvfb9drns2p6";
}; };
"elm-lang/html" = { "elm-lang/html" = {
version = "1.0.0"; version = "1.1.0";
sha256 = "16cr01yxkpkmgbgclp2p80nd62a6fjw3qipzjsgksrhwv9vv4gm4"; sha256 = "1v7pwxxd81qrfywb4rr199p2i9z77vjkbwjwm5gy1nxdpi8mb50y";
}; };
"elm-lang/svg" = { "elm-lang/svg" = {
version = "1.0.0"; version = "1.1.1";
sha256 = "0c29y6c58x2sq1bl29z1hr5gi2rlza8clk7ssgzmsf4xbvcczbjx"; sha256 = "0xzc0fq2kg797km0nq2f52w6xdffrl9l0y5zbkpa72w163zpxkkn";
}; };
"elm-lang/core" = { "elm-lang/core" = {
version = "4.0.0"; version = "4.0.2";
sha256 = "04qgzgv90qyhjk55yw4szy50h2dqdlm0a2padbgn02yf4bb1b4nw"; sha256 = "1qjhfr3gd1qmfvna7iddspmk26v2nmgmgw9m6yyz10ygy3i9mla6";
}; };
} }

View File

@ -1,22 +1,25 @@
{ mkDerivation, base, blaze-html, blaze-markup, bytestring, cmdargs { mkDerivation, aeson, base, blaze-html, blaze-markup, bytestring
, directory, elm-compiler, fetchgit, filepath, fsnotify, mtl , cmdargs, containers, directory, elm-compiler, elm-package
, snap-core, snap-server, stdenv, text, time, transformers , fetchgit, file-embed, filepath, fsnotify, mtl, process, snap-core
, websockets, websockets-snap, elm-package, file-embed , snap-server, stdenv, template-haskell, text, time, transformers
, unordered-containers, utf8-string, websockets, websockets-snap
}: }:
mkDerivation { mkDerivation {
pname = "elm-reactor"; pname = "elm-reactor";
version = "0.17"; version = "0.17.1";
src = fetchgit { src = fetchgit {
url = "https://github.com/elm-lang/elm-reactor"; url = "https://github.com/elm-lang/elm-reactor";
sha256 = "03lb6fcc5d02gflarxc54l71hbwdb73v423ffjz5hvlha6ixglv7"; sha256 = "14kkqskvhkfznpl8cmjlvv3rp6ciqmdbxrmq6f20p3aznvkrdvf8";
rev = "4781ad2fbb6cbcde0d659dec293bbed9c847ba71"; rev = "7522d7ef379c5a4ffbba11b1be09ed04add08a63";
}; };
isLibrary = false; isLibrary = false;
isExecutable = true; isExecutable = true;
executableHaskellDepends = [ executableHaskellDepends = [
base blaze-html blaze-markup bytestring cmdargs directory aeson base blaze-html blaze-markup bytestring cmdargs containers
elm-compiler filepath fsnotify mtl snap-core snap-server text time directory elm-compiler elm-package file-embed filepath fsnotify mtl
transformers websockets websockets-snap elm-package file-embed process snap-core snap-server template-haskell text time
transformers unordered-containers utf8-string websockets
websockets-snap
]; ];
jailbreak = true; jailbreak = true;
homepage = "http://elm-lang.org"; homepage = "http://elm-lang.org";

View File

@ -2,20 +2,21 @@
, containers, directory, elm-compiler, elm-package, fetchgit , containers, directory, elm-compiler, elm-package, fetchgit
, filepath, haskeline, HUnit, mtl, parsec, QuickCheck, stdenv , filepath, haskeline, HUnit, mtl, parsec, QuickCheck, stdenv
, test-framework, test-framework-hunit, test-framework-quickcheck2 , test-framework, test-framework-hunit, test-framework-quickcheck2
, text
}: }:
mkDerivation { mkDerivation {
pname = "elm-repl"; pname = "elm-repl";
version = "0.17"; version = "0.17.1";
src = fetchgit { src = fetchgit {
url = "https://github.com/elm-lang/elm-repl"; url = "https://github.com/elm-lang/elm-repl";
sha256 = "0bpmkm7q3a0h4hwlbwcnzaqgf6n5p1qw65z8kw84f52s5bndc0wc"; sha256 = "0nh2yfr0bi4rg1kak1gjaczpq56y1nii05b5y7hn6n4w651jkm28";
rev = "95b4555cff6b6e2a55a4ea3dab00bfb39dfebf0d"; rev = "413ac0d4ee43c8542afd3041bbb7b8c903cd3d30";
}; };
isLibrary = false; isLibrary = false;
isExecutable = true; isExecutable = true;
executableHaskellDepends = [ executableHaskellDepends = [
base binary bytestring bytestring-trie cmdargs containers directory base binary bytestring bytestring-trie cmdargs containers directory
elm-compiler elm-package filepath haskeline mtl parsec elm-compiler elm-package filepath haskeline mtl parsec text
]; ];
testHaskellDepends = [ testHaskellDepends = [
base bytestring bytestring-trie cmdargs directory elm-compiler base bytestring bytestring-trie cmdargs directory elm-compiler
@ -24,6 +25,6 @@ mkDerivation {
]; ];
jailbreak = true; jailbreak = true;
homepage = "https://github.com/elm-lang/elm-repl"; homepage = "https://github.com/elm-lang/elm-repl";
description = "A REPL for Elm"; description = "a REPL for Elm";
license = stdenv.lib.licenses.bsd3; license = stdenv.lib.licenses.bsd3;
} }

View File

@ -2,7 +2,7 @@
# Please, do not modify it by hand! # Please, do not modify it by hand!
{ callPackage }: { callPackage }:
{ {
version = "0.17"; version = "0.17.1";
packages = { packages = {
elm-compiler = callPackage ./elm-compiler.nix { }; elm-compiler = callPackage ./elm-compiler.nix { };
elm-package = callPackage ./elm-package.nix { }; elm-package = callPackage ./elm-package.nix { };

View File

@ -1,19 +1,19 @@
#!/usr/bin/env ruby #!/usr/bin/env ruby
# Take those from https://github.com/elm-lang/elm-platform/blob/master/installers/BuildFromSource.hs # Take those from https://github.com/elm-lang/elm-platform/blob/master/installers/BuildFromSource.hs
$elm_version = "0.17" $elm_version = "0.17.1"
$elm_packages = { "elm-compiler" => "0.17", $elm_packages = { "elm-compiler" => "0.17.1",
"elm-package" => "0.17", "elm-package" => "0.17.1",
"elm-make" => "0.17", "elm-make" => "0.17.1",
"elm-reactor" => "0.17", "elm-reactor" => "0.17.1",
"elm-repl" => "0.17" "elm-repl" => "0.17.1"
} }
for pkg, ver in $elm_packages for pkg, ver in $elm_packages
system "cabal2nix https://github.com/elm-lang/#{pkg} --revision refs/tags/#{ver} --jailbreak > #{pkg}.nix" system "cabal2nix https://github.com/elm-lang/#{pkg} --revision refs/tags/#{ver} --jailbreak > packages/#{pkg}.nix"
end end
File.open("release.nix", 'w') do |file| File.open("packages/release.nix", 'w') do |file|
file.puts "# This file is auto-generated by ./update-elm.rb." file.puts "# This file is auto-generated by ./update-elm.rb."
file.puts "# Please, do not modify it by hand!" file.puts "# Please, do not modify it by hand!"
file.puts "{ callPackage }:" file.puts "{ callPackage }:"