elm: add the platform and helpful scripts
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
{ mkDerivation, aeson, aeson-pretty, ansi-terminal, base, binary
|
||||
, blaze-html, blaze-markup, bytestring, cmdargs, containers
|
||||
, directory, edit-distance, fetchgit, filemanip, filepath, HUnit
|
||||
, indents, language-ecmascript, language-glsl, mtl, parsec, pretty
|
||||
, process, QuickCheck, stdenv, test-framework, test-framework-hunit
|
||||
, test-framework-quickcheck2, text, transformers, union-find
|
||||
, unordered-containers
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "elm-compiler";
|
||||
version = "0.15.1";
|
||||
src = fetchgit {
|
||||
url = "https://github.com/elm-lang/elm-compiler";
|
||||
sha256 = "379a38db4f240ab206a2bbedc49d4768d7cf6fdf497b2d25dea71fca1d58efaa";
|
||||
rev = "7fbdee067b494c0298d07c944629aaa5d3fa82f5";
|
||||
};
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildDepends = [
|
||||
aeson aeson-pretty ansi-terminal base binary blaze-html
|
||||
blaze-markup bytestring cmdargs containers directory edit-distance
|
||||
filepath indents language-ecmascript language-glsl mtl parsec
|
||||
pretty process text transformers union-find unordered-containers
|
||||
];
|
||||
testDepends = [
|
||||
aeson aeson-pretty ansi-terminal base binary blaze-html
|
||||
blaze-markup bytestring cmdargs 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 transformers
|
||||
union-find
|
||||
];
|
||||
jailbreak = true;
|
||||
homepage = "http://elm-lang.org";
|
||||
description = "Values to help with elm-package, elm-make, and elm-lang.org.";
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
{ mkDerivation, aeson, ansi-wl-pprint, base, binary, blaze-html
|
||||
, blaze-markup, bytestring, containers, directory, elm-compiler
|
||||
, elm-package, fetchgit, filepath, mtl, optparse-applicative
|
||||
, stdenv, text
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "elm-make";
|
||||
version = "0.2";
|
||||
src = fetchgit {
|
||||
url = "https://github.com/elm-lang/elm-make";
|
||||
sha256 = "b618e827ca01ddeae38624f4bf5baa3dc4cb6e9e3c9bf15f2dda5a7c756bca33";
|
||||
rev = "d9bedfdadc9cefce8e5249db6a316a5e712158d0";
|
||||
};
|
||||
isLibrary = false;
|
||||
isExecutable = true;
|
||||
buildDepends = [
|
||||
aeson ansi-wl-pprint base binary blaze-html blaze-markup bytestring
|
||||
containers directory elm-compiler elm-package filepath mtl
|
||||
optparse-applicative text
|
||||
];
|
||||
jailbreak = true;
|
||||
homepage = "http://elm-lang.org";
|
||||
description = "A build tool for Elm projects";
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{ 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, process, stdenv, text
|
||||
, time, unordered-containers, vector, zip-archive
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "elm-package";
|
||||
version = "0.5.1";
|
||||
src = fetchgit {
|
||||
url = "https://github.com/elm-lang/elm-package";
|
||||
sha256 = "0d69e68831f4a86c6c02aed33fc3a6aca87636a7fb0bb6e39ffc74ddd15b5435";
|
||||
rev = "365e2d86a8222c92e50951c7d30b3c5db44c383d";
|
||||
};
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildDepends = [
|
||||
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 process text
|
||||
time unordered-containers vector zip-archive
|
||||
];
|
||||
jailbreak = true;
|
||||
homepage = "http://github.com/elm-lang/elm-package";
|
||||
description = "Package manager for Elm libraries";
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"evancz/virtual-dom" = {
|
||||
version = "1.2.3";
|
||||
sha256 = "03iv9fpng3gvia00v3gl8rs83j5b112hx0vm36az13zjr378b1jr";
|
||||
};
|
||||
"evancz/elm-markdown" = {
|
||||
version = "1.1.5";
|
||||
sha256 = "01vdaz56i064lah7kd8485j0y33di8wa134sr4292wb3na990a8r";
|
||||
};
|
||||
"evancz/elm-html" = {
|
||||
version = "3.0.0";
|
||||
sha256 = "0a2iw45x3qwxkgibkc6qx1csfa06gpkfc9b04vkq1h7ynw2g5577";
|
||||
};
|
||||
"elm-lang/core" = {
|
||||
version = "2.1.0";
|
||||
sha256 = "10fg7bcc310b5bwv6sq7gjhy9r5xzc98nbk4zhs4jqykn36i6l43";
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{ mkDerivation, base, blaze-html, blaze-markup, bytestring, cmdargs
|
||||
, containers, directory, elm-compiler, fetchgit, filepath, fsnotify
|
||||
, HTTP, mtl, process, snap-core, snap-server, stdenv
|
||||
, system-filepath, text, time, transformers, unordered-containers
|
||||
, websockets, websockets-snap
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "elm-reactor";
|
||||
version = "0.3.2";
|
||||
src = fetchgit {
|
||||
url = "https://github.com/elm-lang/elm-reactor";
|
||||
sha256 = "a7775971ea6634f13436f10098c462d39c6e115dbda79e537831a71975451e9a";
|
||||
rev = "b6c11be539734e72015ce151a9189d06dfc9db76";
|
||||
};
|
||||
isLibrary = false;
|
||||
isExecutable = true;
|
||||
buildDepends = [
|
||||
base blaze-html blaze-markup bytestring cmdargs containers
|
||||
directory elm-compiler filepath fsnotify HTTP mtl process snap-core
|
||||
snap-server system-filepath text time transformers
|
||||
unordered-containers websockets websockets-snap
|
||||
];
|
||||
jailbreak = true;
|
||||
homepage = "http://elm-lang.org";
|
||||
description = "Interactive development tool for Elm programs";
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
{ mkDerivation, base, binary, bytestring, bytestring-trie, cmdargs
|
||||
, containers, directory, elm-compiler, elm-package, fetchgit
|
||||
, filepath, haskeline, HUnit, mtl, parsec, process, QuickCheck
|
||||
, stdenv, test-framework, test-framework-hunit
|
||||
, test-framework-quickcheck2
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "elm-repl";
|
||||
version = "0.4.2";
|
||||
src = fetchgit {
|
||||
url = "https://github.com/elm-lang/elm-repl";
|
||||
sha256 = "a6eadbef7886c4c65243723f101910909bb0d53b2c48454ed7b39cf700f9649c";
|
||||
rev = "0c434fdb24b86a93b06c33c8f26857ce47caf165";
|
||||
};
|
||||
isLibrary = false;
|
||||
isExecutable = true;
|
||||
buildDepends = [
|
||||
base binary bytestring bytestring-trie cmdargs containers directory
|
||||
elm-compiler elm-package filepath haskeline mtl parsec process
|
||||
];
|
||||
testDepends = [
|
||||
base bytestring bytestring-trie cmdargs directory elm-compiler
|
||||
elm-package filepath haskeline HUnit mtl parsec process QuickCheck
|
||||
test-framework test-framework-hunit test-framework-quickcheck2
|
||||
];
|
||||
jailbreak = true;
|
||||
homepage = "https://github.com/elm-lang/elm-repl";
|
||||
description = "a REPL for Elm";
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{ callPackage }:
|
||||
{
|
||||
version = "0.15.1";
|
||||
packages = {
|
||||
elm-compiler = callPackage ./elm-compiler.nix { };
|
||||
elm-package = callPackage ./elm-package.nix { };
|
||||
elm-make = callPackage ./elm-make.nix { };
|
||||
elm-reactor = callPackage ./elm-reactor.nix { };
|
||||
elm-repl = callPackage ./elm-repl.nix { };
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user