mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
3e0ac9b040
Several changes, some highlights: * Structure of haskell-packages.nix updated. It's now easier to select different default versions of packages for different versions of GHC. * GHC 7.0.2 is now default. * Haskell Platform 2011.2.0.0 has been added and is now default. * Several packages have been updated (gtk2hs, gitit, xmonad, darcs, ...). * Some old packages have been removed. svn path=/nixpkgs/trunk/; revision=26288
27 lines
1.0 KiB
Nix
27 lines
1.0 KiB
Nix
{cabal, fetchurl, GLUT, HTTP, HUnit, OpenGL, QuickCheck, cgi, fgl,
|
|
haskellSrc, html, network, parallel, parsec, regexBase, regexCompat, regexPosix,
|
|
stm, syb, deepseq, text, transformers, mtl, xhtml, zlib,
|
|
cabalInstall, alex, happy, haddock, ghc}:
|
|
|
|
cabal.mkDerivation (self : {
|
|
pname = "haskell-platform";
|
|
version = "2011.2.0.0";
|
|
src = fetchurl {
|
|
# url = "http://hackage.haskell.org/platform/${self.version}/cabal/${self.pname}-${self.version}.tar.gz";
|
|
url = "http://lambda.haskell.org/hp-tmp/${self.version}/cabal/${self.pname}-${self.version}.tar.gz";
|
|
sha256 = "01ppv8jdyvbngml9vgvrvnani6fj1nbk8mqmrkd8c508l7q9g6vb";
|
|
};
|
|
propagatedBuildInputs = [
|
|
GLUT HTTP HUnit OpenGL QuickCheck cgi fgl
|
|
haskellSrc html network parallel parsec regexBase regexCompat regexPosix
|
|
stm syb deepseq text transformers mtl xhtml zlib
|
|
cabalInstall alex happy ghc haddock
|
|
];
|
|
noHaddock = true;
|
|
meta = {
|
|
description = "Haskell Platform meta package";
|
|
maintainers = [self.stdenv.lib.maintainers.andres];
|
|
};
|
|
})
|
|
|