mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 12:42:24 +00:00
elm: 0.17 -> 0.17.1
This commit is contained in:
parent
cfc0a5415b
commit
bed7aba2f0
|
@ -40,7 +40,7 @@ let
|
|||
EOF
|
||||
'' + lib.concatStrings cmds;
|
||||
|
||||
hsPkgs = haskell.packages.ghc7103.override {
|
||||
hsPkgs = haskell.packages.ghc801.override {
|
||||
overrides = self: super:
|
||||
let hlib = haskell.lib;
|
||||
elmRelease = import ./packages/release.nix { inherit (self) callPackage; };
|
||||
|
|
|
@ -3,15 +3,15 @@
|
|||
, fetchgit, filemanip, filepath, HUnit, indents
|
||||
, language-ecmascript, language-glsl, mtl, parsec, pretty, process
|
||||
, QuickCheck, stdenv, test-framework, test-framework-hunit
|
||||
, test-framework-quickcheck2, text, union-find, wl-pprint
|
||||
, test-framework-quickcheck2, text, union-find
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "elm-compiler";
|
||||
version = "0.17";
|
||||
version = "0.17.1";
|
||||
src = fetchgit {
|
||||
url = "https://github.com/elm-lang/elm-compiler";
|
||||
sha256 = "1vx4jp20nj4s41zsqnwyh80dvg7b7kd9fh6agl99v1xx9d3i6ws1";
|
||||
rev = "c9c7e72c424a13255f8ee84c719f7ef48b689c1a";
|
||||
sha256 = "17y0jlii81mnjywknblcv1nfja51slmwrhz9x8w144b0sblcj0if";
|
||||
rev = "e44deafaf9cbf3749484070f267f03a368711adb";
|
||||
};
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
|
@ -19,7 +19,7 @@ mkDerivation {
|
|||
aeson aeson-pretty ansi-terminal ansi-wl-pprint base binary
|
||||
bytestring containers directory edit-distance filepath indents
|
||||
language-ecmascript language-glsl mtl parsec pretty process text
|
||||
union-find wl-pprint
|
||||
union-find
|
||||
];
|
||||
executableHaskellDepends = [
|
||||
aeson base binary directory filepath process text
|
||||
|
@ -29,10 +29,10 @@ mkDerivation {
|
|||
bytestring containers directory edit-distance filemanip filepath
|
||||
HUnit indents language-ecmascript language-glsl mtl parsec pretty
|
||||
process QuickCheck test-framework test-framework-hunit
|
||||
test-framework-quickcheck2 text union-find wl-pprint
|
||||
test-framework-quickcheck2 text union-find
|
||||
];
|
||||
jailbreak = true;
|
||||
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;
|
||||
}
|
||||
|
|
|
@ -1,22 +1,23 @@
|
|||
{ mkDerivation, aeson, ansi-terminal, ansi-wl-pprint, base, binary
|
||||
, blaze-html, blaze-markup, bytestring, containers, directory
|
||||
, elm-compiler, elm-package, fetchgit, filepath, mtl
|
||||
, optparse-applicative, stdenv, text, time, raw-strings-qq
|
||||
, optparse-applicative, raw-strings-qq, stdenv, text, time
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "elm-make";
|
||||
version = "0.17";
|
||||
version = "0.17.1";
|
||||
src = fetchgit {
|
||||
url = "https://github.com/elm-lang/elm-make";
|
||||
sha256 = "0ywi6iq2a3rb8a68ryqpq9y22536aa9k71wy7fcmrd5nwkmpwd2r";
|
||||
rev = "5f7b74567c43eff341048c7caceb247b51cdb8bb";
|
||||
sha256 = "0k9w5gl48lhhr3n2iflf0vkb3w6al0xcbglgiw4fq1ssz3aa7ijw";
|
||||
rev = "0a0a1f52ab04e2d68d60a5798722e1de30b47335";
|
||||
};
|
||||
isLibrary = false;
|
||||
isExecutable = true;
|
||||
executableHaskellDepends = [
|
||||
aeson ansi-terminal ansi-wl-pprint base binary blaze-html
|
||||
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;
|
||||
homepage = "http://elm-lang.org";
|
||||
|
|
|
@ -1,29 +1,32 @@
|
|||
{ mkDerivation, aeson, aeson-pretty, ansi-wl-pprint, base, binary
|
||||
, bytestring, containers, directory, elm-compiler, fetchgit
|
||||
, filepath, HTTP, http-client, http-client-tls, http-types, mtl
|
||||
, network, optparse-applicative, pretty, stdenv, text, time
|
||||
, unordered-containers, vector, zip-archive
|
||||
, bytestring, containers, directory, edit-distance, elm-compiler
|
||||
, fetchgit, filepath, HTTP, http-client, http-client-tls
|
||||
, http-types, mtl, network, optparse-applicative, parallel-io
|
||||
, pretty, stdenv, text, time, unordered-containers, vector
|
||||
, zip-archive
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "elm-package";
|
||||
version = "0.17";
|
||||
version = "0.17.1";
|
||||
src = fetchgit {
|
||||
url = "https://github.com/elm-lang/elm-package";
|
||||
sha256 = "0z86560a2f7w3ywqvzqghgz100z0yn8zsiixkw4lp5168krp4axg";
|
||||
rev = "fc0924210fe5a7c0af543769b1353dbb2ddf2f0c";
|
||||
sha256 = "0dnn871py0pvzxsjjggy5ww2zj9g71c2dcnp38rcr4nbj8yxik85";
|
||||
rev = "9011ccdbced1d06aa60de0e3096e609ef44d26dd";
|
||||
};
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
libraryHaskellDepends = [
|
||||
aeson aeson-pretty base binary bytestring containers directory
|
||||
elm-compiler filepath HTTP http-client http-client-tls http-types
|
||||
mtl network text time unordered-containers vector zip-archive
|
||||
aeson aeson-pretty ansi-wl-pprint base binary bytestring containers
|
||||
directory edit-distance elm-compiler filepath HTTP http-client
|
||||
http-client-tls http-types mtl network parallel-io text time
|
||||
unordered-containers vector zip-archive
|
||||
];
|
||||
executableHaskellDepends = [
|
||||
aeson aeson-pretty ansi-wl-pprint base binary bytestring containers
|
||||
directory elm-compiler filepath HTTP http-client http-client-tls
|
||||
http-types mtl network optparse-applicative pretty text time
|
||||
unordered-containers vector zip-archive
|
||||
directory edit-distance elm-compiler filepath HTTP http-client
|
||||
http-client-tls http-types mtl network optparse-applicative
|
||||
parallel-io pretty text time unordered-containers vector
|
||||
zip-archive
|
||||
];
|
||||
jailbreak = true;
|
||||
homepage = "http://github.com/elm-lang/elm-package";
|
||||
|
|
|
@ -1,22 +1,22 @@
|
|||
{
|
||||
"elm-lang/virtual-dom" = {
|
||||
version = "1.0.0";
|
||||
sha256 = "0pa8k04g9yfixahsb30j0rbhfh6hwdh7xmm2fvk0hkidw7b4xg57";
|
||||
version = "1.1.0";
|
||||
sha256 = "16g66cvvh85ddciq0ymaqfyq2bcz11pxn0g0dc1wx7bmlqx7q1jz";
|
||||
};
|
||||
"evancz/elm-markdown" = {
|
||||
version = "3.0.0";
|
||||
sha256 = "0r3hcim4mpn46ahv1q6sjp6i2viyp7jik6i71xgwmvfb9drns2p6";
|
||||
};
|
||||
"elm-lang/html" = {
|
||||
version = "1.0.0";
|
||||
sha256 = "16cr01yxkpkmgbgclp2p80nd62a6fjw3qipzjsgksrhwv9vv4gm4";
|
||||
version = "1.1.0";
|
||||
sha256 = "1v7pwxxd81qrfywb4rr199p2i9z77vjkbwjwm5gy1nxdpi8mb50y";
|
||||
};
|
||||
"elm-lang/svg" = {
|
||||
version = "1.0.0";
|
||||
sha256 = "0c29y6c58x2sq1bl29z1hr5gi2rlza8clk7ssgzmsf4xbvcczbjx";
|
||||
version = "1.1.1";
|
||||
sha256 = "0xzc0fq2kg797km0nq2f52w6xdffrl9l0y5zbkpa72w163zpxkkn";
|
||||
};
|
||||
"elm-lang/core" = {
|
||||
version = "4.0.0";
|
||||
sha256 = "04qgzgv90qyhjk55yw4szy50h2dqdlm0a2padbgn02yf4bb1b4nw";
|
||||
version = "4.0.2";
|
||||
sha256 = "1qjhfr3gd1qmfvna7iddspmk26v2nmgmgw9m6yyz10ygy3i9mla6";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,22 +1,25 @@
|
|||
{ mkDerivation, base, blaze-html, blaze-markup, bytestring, cmdargs
|
||||
, directory, elm-compiler, fetchgit, filepath, fsnotify, mtl
|
||||
, snap-core, snap-server, stdenv, text, time, transformers
|
||||
, websockets, websockets-snap, elm-package, file-embed
|
||||
{ mkDerivation, aeson, base, blaze-html, blaze-markup, bytestring
|
||||
, cmdargs, containers, directory, elm-compiler, elm-package
|
||||
, fetchgit, file-embed, filepath, fsnotify, mtl, process, snap-core
|
||||
, snap-server, stdenv, template-haskell, text, time, transformers
|
||||
, unordered-containers, utf8-string, websockets, websockets-snap
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "elm-reactor";
|
||||
version = "0.17";
|
||||
version = "0.17.1";
|
||||
src = fetchgit {
|
||||
url = "https://github.com/elm-lang/elm-reactor";
|
||||
sha256 = "03lb6fcc5d02gflarxc54l71hbwdb73v423ffjz5hvlha6ixglv7";
|
||||
rev = "4781ad2fbb6cbcde0d659dec293bbed9c847ba71";
|
||||
sha256 = "14kkqskvhkfznpl8cmjlvv3rp6ciqmdbxrmq6f20p3aznvkrdvf8";
|
||||
rev = "7522d7ef379c5a4ffbba11b1be09ed04add08a63";
|
||||
};
|
||||
isLibrary = false;
|
||||
isExecutable = true;
|
||||
executableHaskellDepends = [
|
||||
base blaze-html blaze-markup bytestring cmdargs directory
|
||||
elm-compiler filepath fsnotify mtl snap-core snap-server text time
|
||||
transformers websockets websockets-snap elm-package file-embed
|
||||
aeson base blaze-html blaze-markup bytestring cmdargs containers
|
||||
directory elm-compiler elm-package file-embed filepath fsnotify mtl
|
||||
process snap-core snap-server template-haskell text time
|
||||
transformers unordered-containers utf8-string websockets
|
||||
websockets-snap
|
||||
];
|
||||
jailbreak = true;
|
||||
homepage = "http://elm-lang.org";
|
||||
|
|
|
@ -2,20 +2,21 @@
|
|||
, containers, directory, elm-compiler, elm-package, fetchgit
|
||||
, filepath, haskeline, HUnit, mtl, parsec, QuickCheck, stdenv
|
||||
, test-framework, test-framework-hunit, test-framework-quickcheck2
|
||||
, text
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "elm-repl";
|
||||
version = "0.17";
|
||||
version = "0.17.1";
|
||||
src = fetchgit {
|
||||
url = "https://github.com/elm-lang/elm-repl";
|
||||
sha256 = "0bpmkm7q3a0h4hwlbwcnzaqgf6n5p1qw65z8kw84f52s5bndc0wc";
|
||||
rev = "95b4555cff6b6e2a55a4ea3dab00bfb39dfebf0d";
|
||||
sha256 = "0nh2yfr0bi4rg1kak1gjaczpq56y1nii05b5y7hn6n4w651jkm28";
|
||||
rev = "413ac0d4ee43c8542afd3041bbb7b8c903cd3d30";
|
||||
};
|
||||
isLibrary = false;
|
||||
isExecutable = true;
|
||||
executableHaskellDepends = [
|
||||
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 = [
|
||||
base bytestring bytestring-trie cmdargs directory elm-compiler
|
||||
|
@ -24,6 +25,6 @@ mkDerivation {
|
|||
];
|
||||
jailbreak = true;
|
||||
homepage = "https://github.com/elm-lang/elm-repl";
|
||||
description = "A REPL for Elm";
|
||||
description = "a REPL for Elm";
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# Please, do not modify it by hand!
|
||||
{ callPackage }:
|
||||
{
|
||||
version = "0.17";
|
||||
version = "0.17.1";
|
||||
packages = {
|
||||
elm-compiler = callPackage ./elm-compiler.nix { };
|
||||
elm-package = callPackage ./elm-package.nix { };
|
||||
|
|
|
@ -1,19 +1,19 @@
|
|||
#!/usr/bin/env ruby
|
||||
|
||||
# Take those from https://github.com/elm-lang/elm-platform/blob/master/installers/BuildFromSource.hs
|
||||
$elm_version = "0.17"
|
||||
$elm_packages = { "elm-compiler" => "0.17",
|
||||
"elm-package" => "0.17",
|
||||
"elm-make" => "0.17",
|
||||
"elm-reactor" => "0.17",
|
||||
"elm-repl" => "0.17"
|
||||
$elm_version = "0.17.1"
|
||||
$elm_packages = { "elm-compiler" => "0.17.1",
|
||||
"elm-package" => "0.17.1",
|
||||
"elm-make" => "0.17.1",
|
||||
"elm-reactor" => "0.17.1",
|
||||
"elm-repl" => "0.17.1"
|
||||
}
|
||||
|
||||
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
|
||||
|
||||
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 "# Please, do not modify it by hand!"
|
||||
file.puts "{ callPackage }:"
|
||||
|
|
Loading…
Reference in a new issue