nixpkgs/pkgs/development/libraries/haskell/haskell-platform/2010.1.0.0.nix

29 lines
1.1 KiB
Nix

{cabal, fetchurl, GLUT, HTTP, HUnit, OpenGL, QuickCheck, cgi, fgl,
haskellSrc, html, network, parallel, regexBase, regexCompat, regexPosix,
stm, xhtml, zlib, parsec,
cabalInstall, alex, happy, ghc}:
cabal.mkDerivation (self : {
pname = "haskell-platform";
version = "2010.1.0.0";
src = fetchurl {
url = "http://hackage.haskell.org/platform/${self.version}/cabal/${self.pname}-${self.version}.tar.gz";
sha256 = "0cadj0ql2i5d5njwcbhmjkf4qrkfmxirg5vjv1wlx3ayzbynbrp4";
};
isLibrary = false;
propagatedBuildInputs = [
GLUT HTTP HUnit OpenGL QuickCheck cgi fgl
haskellSrc html network parallel regexBase regexCompat regexPosix
stm xhtml zlib parsec
cabalInstall alex happy ghc
];
propagatedUserEnvPkgs = self.propagatedBuildInputs;
meta = {
description = "Haskell Platform meta package";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = with self.stdenv.lib.maintainers; [andres simons];
broken = true; # The source code is no longer available from haskell.org.
};
})