2013-10-23 10:29:20 +02:00
|
|
|
{ cabal, aeson, aesonPretty, binary, blazeHtml, blazeMarkup
|
2014-01-25 16:52:41 +01:00
|
|
|
, cmdargs, filemanip, filepath, HUnit, indents, languageEcmascript
|
2014-05-21 16:19:28 +02:00
|
|
|
, languageGlsl, mtl, pandoc, parsec, QuickCheck, scientific
|
|
|
|
, testFramework, testFrameworkHunit, testFrameworkQuickcheck2, text
|
|
|
|
, transformers, unionFind, unorderedContainers, yaml
|
2013-06-12 13:23:00 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "Elm";
|
2014-05-21 16:19:28 +02:00
|
|
|
version = "0.12.3";
|
|
|
|
sha256 = "1v6h9qbbz27ikh19xwjbyfw0zi5ag9x1gp0khh9v4af1g0j86320";
|
2013-06-12 13:23:00 +02:00
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [
|
2013-10-23 10:29:20 +02:00
|
|
|
aeson aesonPretty binary blazeHtml blazeMarkup cmdargs filepath
|
2014-05-21 16:19:28 +02:00
|
|
|
indents languageEcmascript languageGlsl mtl pandoc parsec
|
|
|
|
scientific text transformers unionFind unorderedContainers yaml
|
2013-06-12 13:23:00 +02:00
|
|
|
];
|
2014-01-25 16:52:41 +01:00
|
|
|
testDepends = [
|
2014-05-01 12:19:46 +02:00
|
|
|
aeson aesonPretty binary blazeHtml blazeMarkup cmdargs filemanip
|
2014-05-21 16:19:28 +02:00
|
|
|
filepath HUnit indents languageEcmascript languageGlsl mtl pandoc
|
|
|
|
parsec QuickCheck scientific testFramework testFrameworkHunit
|
2014-05-01 12:19:46 +02:00
|
|
|
testFrameworkQuickcheck2 text transformers unionFind
|
2014-05-21 16:19:28 +02:00
|
|
|
unorderedContainers yaml
|
2014-01-25 16:52:41 +01:00
|
|
|
];
|
2013-08-12 11:49:18 +02:00
|
|
|
doCheck = false;
|
2014-04-08 13:17:40 +02:00
|
|
|
preConfigure = ''
|
|
|
|
rm -f Setup.hs
|
|
|
|
echo -e "import Distribution.Simple\nmain=defaultMain\n" > Setup.hs
|
|
|
|
'';
|
2013-06-12 13:23:00 +02:00
|
|
|
meta = {
|
|
|
|
homepage = "http://elm-lang.org";
|
|
|
|
description = "The Elm language module";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
};
|
|
|
|
})
|