2009-04-19 21:18:07 +02:00
|
|
|
{cabal, fetchurl, GLUT, HTTP, HUnit, OpenAL, OpenGL, QuickCheck, cgi, fgl,
|
|
|
|
haskellSrc, html, parallel, regexBase, regexCompat, regexPosix,
|
2009-04-20 16:23:50 +02:00
|
|
|
stm, time, xhtml, zlib, cabalInstall, alex, happy, haddock, ghc}:
|
2009-04-19 21:18:07 +02:00
|
|
|
|
|
|
|
cabal.mkDerivation (self : {
|
|
|
|
pname = "haskell-platform";
|
|
|
|
version = "2009.0.0";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://code.haskell.org/haskell-platform/haskell-platform.cabal;
|
|
|
|
sha256 = "cefe19076bed6450d3d8611ff1b29fd0966106787003abedec90544968f30d9c";
|
|
|
|
};
|
|
|
|
unpackPhase = ''
|
|
|
|
cp $src haskell-platform.cabal
|
|
|
|
'';
|
|
|
|
preConfigure = ''
|
|
|
|
sed -i 's/^.*cabal-install ==.*$//' haskell-platform.cabal
|
|
|
|
echo 'import Distribution.Simple; main = defaultMain' > Setup.hs
|
|
|
|
touch LICENSE
|
|
|
|
'';
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
GLUT HTTP HUnit OpenAL OpenGL QuickCheck cgi fgl
|
|
|
|
haskellSrc html parallel regexBase regexCompat regexPosix
|
2009-04-20 16:23:50 +02:00
|
|
|
stm time xhtml zlib cabalInstall alex happy ghc
|
2009-04-19 21:18:07 +02:00
|
|
|
];
|
|
|
|
meta = {
|
|
|
|
description = "Haskell Platform meta package";
|
|
|
|
};
|
|
|
|
})
|
|
|
|
|