2015-08-13 13:50:59 +02:00
|
|
|
{ mkDerivation, base, binary, bytestring, bytestring-trie, cmdargs
|
|
|
|
, containers, directory, elm-compiler, elm-package, fetchgit
|
2015-11-20 18:14:49 +01:00
|
|
|
, filepath, haskeline, HUnit, mtl, parsec, QuickCheck, stdenv
|
|
|
|
, test-framework, test-framework-hunit, test-framework-quickcheck2
|
2016-07-16 00:11:41 +02:00
|
|
|
, text
|
2015-08-13 13:50:59 +02:00
|
|
|
}:
|
|
|
|
mkDerivation {
|
|
|
|
pname = "elm-repl";
|
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-repl";
|
2016-11-18 02:55:42 +01:00
|
|
|
sha256 = "112fzykils4lqz4pc44q4mwvxg0px0zfwx511bfvblrxkwwqlfb5";
|
|
|
|
rev = "85f0bcfc28ea6c8a99a360d55c21ff25a556f9fe";
|
2015-08-13 13:50:59 +02:00
|
|
|
};
|
|
|
|
isLibrary = false;
|
|
|
|
isExecutable = true;
|
2015-11-20 18:14:49 +01:00
|
|
|
executableHaskellDepends = [
|
2015-08-13 13:50:59 +02:00
|
|
|
base binary bytestring bytestring-trie cmdargs containers directory
|
2016-07-16 00:11:41 +02:00
|
|
|
elm-compiler elm-package filepath haskeline mtl parsec text
|
2015-08-13 13:50:59 +02:00
|
|
|
];
|
2015-11-20 18:14:49 +01:00
|
|
|
testHaskellDepends = [
|
2015-08-13 13:50:59 +02:00
|
|
|
base bytestring bytestring-trie cmdargs directory elm-compiler
|
2015-11-20 18:14:49 +01:00
|
|
|
elm-package filepath haskeline HUnit mtl parsec QuickCheck
|
2015-08-13 13:50:59 +02:00
|
|
|
test-framework test-framework-hunit test-framework-quickcheck2
|
|
|
|
];
|
|
|
|
jailbreak = true;
|
|
|
|
homepage = "https://github.com/elm-lang/elm-repl";
|
2016-07-16 00:11:41 +02:00
|
|
|
description = "a REPL for Elm";
|
2015-08-13 13:50:59 +02:00
|
|
|
license = stdenv.lib.licenses.bsd3;
|
|
|
|
}
|