2016-08-04 18:08:32 +02:00
|
|
|
{ mkDerivation, aeson, aeson-pretty_0_7_2, ansi-terminal, ansi-wl-pprint
|
2015-11-20 18:14:49 +01:00
|
|
|
, base, binary, bytestring, containers, directory, edit-distance
|
|
|
|
, fetchgit, filemanip, filepath, HUnit, indents
|
|
|
|
, language-ecmascript, language-glsl, mtl, parsec, pretty, process
|
|
|
|
, QuickCheck, stdenv, test-framework, test-framework-hunit
|
2016-07-16 00:11:41 +02:00
|
|
|
, test-framework-quickcheck2, text, union-find
|
2015-08-13 13:50:59 +02:00
|
|
|
}:
|
|
|
|
mkDerivation {
|
|
|
|
pname = "elm-compiler";
|
2016-11-18 02:55:42 +01:00
|
|
|
version = "0.18";
|
2015-08-13 13:50:59 +02:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/elm-lang/elm-compiler";
|
2016-11-18 02:55:42 +01:00
|
|
|
sha256 = "09fmrbfpc1kzc3p9h79w57b9qjhajdswc4jfm9gyjw95vsiwasgh";
|
|
|
|
rev = "eb97f2a5dd5421c708a91b71442e69d02453cc80";
|
2015-08-13 13:50:59 +02:00
|
|
|
};
|
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
2015-11-20 18:14:49 +01:00
|
|
|
libraryHaskellDepends = [
|
2016-08-04 18:08:32 +02:00
|
|
|
aeson aeson-pretty_0_7_2 ansi-terminal ansi-wl-pprint base binary
|
2015-11-20 18:14:49 +01:00
|
|
|
bytestring containers directory edit-distance filepath indents
|
|
|
|
language-ecmascript language-glsl mtl parsec pretty process text
|
2016-07-16 00:11:41 +02:00
|
|
|
union-find
|
2015-08-13 13:50:59 +02:00
|
|
|
];
|
2015-11-20 18:14:49 +01:00
|
|
|
executableHaskellDepends = [
|
|
|
|
aeson base binary directory filepath process text
|
|
|
|
];
|
|
|
|
testHaskellDepends = [
|
2016-08-04 18:08:32 +02:00
|
|
|
aeson aeson-pretty_0_7_2 ansi-terminal ansi-wl-pprint base binary
|
2015-11-20 18:14:49 +01:00
|
|
|
bytestring containers directory edit-distance filemanip filepath
|
|
|
|
HUnit indents language-ecmascript language-glsl mtl parsec pretty
|
|
|
|
process QuickCheck test-framework test-framework-hunit
|
2016-07-16 00:11:41 +02:00
|
|
|
test-framework-quickcheck2 text union-find
|
2015-08-13 13:50:59 +02:00
|
|
|
];
|
|
|
|
jailbreak = true;
|
|
|
|
homepage = "http://elm-lang.org";
|
2016-07-16 00:11:41 +02:00
|
|
|
description = "Values to help with elm-package, elm-make, and elm-lang.org.";
|
2015-08-13 13:50:59 +02:00
|
|
|
license = stdenv.lib.licenses.bsd3;
|
2016-11-18 02:55:42 +01:00
|
|
|
# added manually since tests are not passing
|
|
|
|
# https://travis-ci.org/elm-lang/elm-compiler/builds/176845852
|
|
|
|
doCheck = false;
|
2015-08-13 13:50:59 +02:00
|
|
|
}
|