2009-05-05 00:29:38 +01:00
|
|
|
{cabal, fetchurl, GLUT, HTTP, HUnit, OpenGL, QuickCheck, cgi, fgl,
|
2009-04-19 20:18:07 +01:00
|
|
|
haskellSrc, html, parallel, regexBase, regexCompat, regexPosix,
|
2009-04-20 15:23:50 +01:00
|
|
|
stm, time, xhtml, zlib, cabalInstall, alex, happy, haddock, ghc}:
|
2009-04-19 20:18:07 +01:00
|
|
|
|
|
|
|
cabal.mkDerivation (self : {
|
|
|
|
pname = "haskell-platform";
|
2009-05-05 00:29:38 +01:00
|
|
|
version = "2009.1.1";
|
2009-04-19 20:18:07 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = http://code.haskell.org/haskell-platform/haskell-platform.cabal;
|
2009-05-05 00:29:38 +01:00
|
|
|
sha256 = "755f8fd3c0fa399a27b1520f5366e4dbe5b505a3a229deac9d2cdfa4cc595137";
|
2009-04-19 20:18:07 +01: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 00:29:38 +01:00
|
|
|
GLUT HTTP HUnit OpenGL QuickCheck cgi fgl
|
2009-04-19 20:18:07 +01:00
|
|
|
haskellSrc html parallel regexBase regexCompat regexPosix
|
2009-04-20 15:23:50 +01:00
|
|
|
stm time xhtml zlib cabalInstall alex happy ghc
|
2009-04-19 20:18:07 +01:00
|
|
|
];
|
|
|
|
meta = {
|
|
|
|
description = "Haskell Platform meta package";
|
|
|
|
};
|
|
|
|
})
|
|
|
|
|