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