2009-05-05 01:29:38 +02:00
|
|
|
{cabal, fetchurl, GLUT, HTTP, HUnit, OpenGL, QuickCheck, cgi, fgl,
|
2009-04-19 21:18:07 +02:00
|
|
|
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";
|
2009-05-05 10:50:17 +02:00
|
|
|
version = "2009.2.0";
|
2009-04-19 21:18:07 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = http://code.haskell.org/haskell-platform/haskell-platform.cabal;
|
2009-05-05 10:50:17 +02:00
|
|
|
sha256 = "04b50748554ed3b6ed41997798c0ef4f5423bd2c84ea966d8e27cff3c5d0e581";
|
2009-04-19 21:18:07 +02:00
|
|
|
};
|
|
|
|
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 = [
|
2009-05-05 01:29:38 +02:00
|
|
|
GLUT HTTP HUnit OpenGL QuickCheck cgi fgl
|
2009-04-19 21:18:07 +02:00
|
|
|
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";
|
|
|
|
};
|
|
|
|
})
|
|
|
|
|