Drop all obsolete versions of the Haskell Platform.

This commit is contained in:
Peter Simons 2014-11-08 11:34:36 +01:00
parent cf4398cfde
commit a2a9650037
18 changed files with 1 additions and 1144 deletions

View File

@ -1,27 +0,0 @@
{cabal, fetchurl, GLUT, HTTP, HUnit, OpenGL, QuickCheck, cgi, fgl, editline,
haskellSrc, html, parallel, regexBase, regexCompat, regexPosix,
stm, time, xhtml, zlib, parsec, network,
cabalInstall, alex, happy, ghc}:
cabal.mkDerivation (self : {
pname = "haskell-platform";
version = "2009.2.0.2";
src = fetchurl {
url = "http://hackage.haskell.org/platform/${self.version}/cabal/${self.pname}-${self.version}.tar.gz";
sha256 = "e0469fac9b1d091d8299ae16a4e2e7fcd504285bba066b17153a0f0104a049bd";
};
isLibrary = false;
propagatedBuildInputs = [
GLUT HTTP HUnit OpenGL QuickCheck cgi fgl editline
haskellSrc html parallel regexBase regexCompat regexPosix
stm time xhtml zlib parsec network
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];
};
})

View File

@ -1,28 +0,0 @@
{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.
};
})

View File

@ -1,27 +0,0 @@
{cabal, fetchurl, GLUT, HTTP, HUnit, OpenGL, QuickCheck, cgi, fgl,
haskellSrc, html, network, parallel, regexBase, regexCompat, regexPosix,
stm, xhtml, zlib, mtl, parsec, deepseq,
cabalInstall, alex, happy, ghc}:
cabal.mkDerivation (self : {
pname = "haskell-platform";
version = "2010.2.0.0";
src = fetchurl {
url = "http://pkgs.fedoraproject.org/repo/pkgs/haskell-platform/haskell-platform-2010.2.0.0.tar.gz/9c9c6422ebfe1a5e78e69ae017f4d54b/haskell-platform-2010.2.0.0.tar.gz";
sha256 = "c0b0b45151e74cff759ae25083c2ff7a7af4d2f74c19294b78730c879864f3c0";
};
isLibrary = false;
propagatedBuildInputs = [
GLUT HTTP HUnit OpenGL QuickCheck cgi fgl
haskellSrc html network parallel regexBase regexCompat regexPosix
stm xhtml zlib mtl parsec deepseq
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];
};
})

View File

@ -1,29 +0,0 @@
{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, 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";
};
isLibrary = false;
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
];
noHaddock = true;
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];
};
})

View File

@ -1,39 +0,0 @@
{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, ghc}:
# This is just a meta-package. Because upstream fails to provide proper versioned
# release tarballs that can be used for the purpose of verifying this package, we
# just create it on the fly from a simple Setup.hs file and a .cabal file that we
# store directly in the nixpkgs repository.
cabal.mkDerivation (self : {
pname = "haskell-platform";
version = "2011.2.0.1";
cabalFile = ./haskell-platform-2011.2.0.1.cabal;
setupFile = ./Setup.hs;
src = null;
isLibrary = false;
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
];
unpackPhase = ''
sourceRoot=haskell-platform
mkdir $sourceRoot
cp ${self.cabalFile} $sourceRoot/${self.pname}.cabal
cp ${self.setupFile} $sourceRoot/Setup.hs
touch $sourceRoot/LICENSE
'';
noHaddock = true;
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];
};
})

View File

@ -1,40 +0,0 @@
{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, ghc}:
# This is just a meta-package. Because upstream fails to provide proper versioned
# release tarballs that can be used for the purpose of verifying this package, we
# just create it on the fly from a simple Setup.hs file and a .cabal file that we
# store directly in the nixpkgs repository.
cabal.mkDerivation (self : {
pname = "haskell-platform";
version = "2011.4.0.0";
cabalFile = ./haskell-platform-2011.4.0.0.cabal;
setupFile = ./Setup.hs;
src = null;
isLibrary = false;
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
];
unpackPhase = ''
sourceRoot=haskell-platform
mkdir $sourceRoot
cp ${self.cabalFile} $sourceRoot/${self.pname}.cabal
cp ${self.setupFile} $sourceRoot/Setup.hs
touch $sourceRoot/LICENSE
'';
noHaddock = true;
propagatedUserEnvPkgs = self.propagatedBuildInputs;
meta = {
homepage = "http://haskell.org/platform";
description = "Haskell Platform meta package";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = with self.stdenv.lib.maintainers; [andres simons];
};
})

View File

@ -1,40 +0,0 @@
{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, random,
cabalInstall, alex, happy, ghc}:
# This is just a meta-package. Because upstream fails to provide proper versioned
# release tarballs that can be used for the purpose of verifying this package, we
# just create it on the fly from a simple Setup.hs file and a .cabal file that we
# store directly in the nixpkgs repository.
cabal.mkDerivation (self : {
pname = "haskell-platform";
version = "2012.2.0.0";
cabalFile = ./haskell-platform-2012.2.0.0.cabal;
setupFile = ./Setup.hs;
src = null;
isLibrary = false;
propagatedBuildInputs = [
GLUT HTTP HUnit OpenGL QuickCheck cgi fgl
haskellSrc html network parallel parsec regexBase regexCompat regexPosix
stm syb deepseq text transformers mtl xhtml zlib random
cabalInstall alex happy ghc
];
unpackPhase = ''
sourceRoot=haskell-platform
mkdir $sourceRoot
cp ${self.cabalFile} $sourceRoot/${self.pname}.cabal
cp ${self.setupFile} $sourceRoot/Setup.hs
touch $sourceRoot/LICENSE
'';
noHaddock = true;
propagatedUserEnvPkgs = self.propagatedBuildInputs;
meta = {
homepage = "http://haskell.org/platform";
description = "Haskell Platform meta package";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = with self.stdenv.lib.maintainers; [andres simons];
};
})

View File

@ -1,42 +0,0 @@
{cabal, fetchurl, GLUT, HTTP, HUnit, OpenGL, QuickCheck, async, cgi, fgl,
haskellSrc, html, network, parallel, parsec, primitive,
regexBase, regexCompat, regexPosix,
split, stm, syb, deepseq, text, transformers, mtl, vector, xhtml, zlib, random,
cabalInstall, alex, happy, ghc}:
# This is just a meta-package. Because upstream fails to provide proper versioned
# release tarballs that can be used for the purpose of verifying this package, we
# just create it on the fly from a simple Setup.hs file and a .cabal file that we
# store directly in the nixpkgs repository.
cabal.mkDerivation (self : {
pname = "haskell-platform";
version = "2012.4.0.0";
cabalFile = ./haskell-platform-2012.4.0.0.cabal;
setupFile = ./Setup.hs;
src = null;
isLibrary = false;
propagatedBuildInputs = [
GLUT HTTP HUnit OpenGL QuickCheck async cgi fgl
haskellSrc html network parallel parsec primitive
regexBase regexCompat regexPosix
split stm syb deepseq text transformers mtl vector xhtml zlib random
cabalInstall alex happy ghc
];
unpackPhase = ''
sourceRoot=haskell-platform
mkdir $sourceRoot
cp ${self.cabalFile} $sourceRoot/${self.pname}.cabal
cp ${self.setupFile} $sourceRoot/Setup.hs
touch $sourceRoot/LICENSE
'';
noHaddock = true;
propagatedUserEnvPkgs = self.propagatedBuildInputs;
meta = {
homepage = "http://haskell.org/platform";
description = "Haskell Platform meta package";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = with self.stdenv.lib.maintainers; [andres simons];
};
})

View File

@ -1,44 +0,0 @@
{ cabal, fetchurl
, async, attoparsec, caseInsensitive, cgi, fgl, GLUT, GLURaw, haskellSrc
, hashable, html, HTTP, HUnit, mtl, network, OpenGL, OpenGLRaw, parallel
, parsec, QuickCheck, random, regexBase, regexCompat, regexPosix, split, stm
, syb, text, transformers, unorderedContainers, vector, xhtml, zlib
, cabalInstall, alex, happy, primitive, ghc
}:
# This is just a meta-package. Because upstream fails to provide proper versioned
# release tarballs that can be used for the purpose of verifying this package, we
# just create it on the fly from a simple Setup.hs file and a .cabal file that we
# store directly in the nixpkgs repository.
cabal.mkDerivation (self : {
pname = "haskell-platform";
version = "2013.2.0.0";
cabalFile = ./haskell-platform-2013.2.0.0.cabal;
setupFile = ./Setup.hs;
src = null;
isLibrary = false;
propagatedBuildInputs = [
async attoparsec caseInsensitive cgi fgl GLUT GLURaw haskellSrc
hashable html HTTP HUnit mtl network OpenGL OpenGLRaw parallel
parsec QuickCheck random regexBase regexCompat regexPosix split stm
syb text transformers unorderedContainers vector xhtml zlib
cabalInstall alex happy primitive ghc
];
unpackPhase = ''
sourceRoot=haskell-platform
mkdir $sourceRoot
cp ${self.cabalFile} $sourceRoot/${self.pname}.cabal
cp ${self.setupFile} $sourceRoot/Setup.hs
touch $sourceRoot/LICENSE
'';
noHaddock = true;
propagatedUserEnvPkgs = self.propagatedBuildInputs;
meta = {
homepage = "http://haskell.org/platform";
description = "Haskell Platform meta package";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = with self.stdenv.lib.maintainers; [andres simons];
};
})

View File

@ -1,10 +0,0 @@
import Distribution.Simple
import Distribution.Simple.Program
main = defaultMainWithHooks simpleUserHooks { hookedPrograms = [cabal] }
cabal :: Program
cabal = (simpleProgram "cabal-install") {
programFindLocation = \x -> findProgramLocation x "cabal",
programFindVersion = findProgramVersion "--numeric-version" id
}

View File

@ -1,314 +0,0 @@
{ pkgs }:
let
haskellPlatformPackages_2013_2_0_0 = pkgs.haskell.packages_ghc763.override {
extension = self : super : {
async = self.async_2_0_1_4;
attoparsec = self.attoparsec_0_10_4_0;
caseInsensitive = self.caseInsensitive_1_0_0_1;
cgi = self.cgi_3001_1_7_5;
fgl = self.fgl_5_4_2_4;
GLUT = self.GLUT_2_4_0_0;
GLURaw = self.GLURaw_1_3_0_0;
haskellSrc = self.haskellSrc_1_0_1_5;
hashable = self.hashable_1_1_2_5;
html = self.html_1_0_1_2;
HTTP = self.HTTP_4000_2_8;
HUnit = self.HUnit_1_2_5_2;
mtl = self.mtl_2_1_2;
network = self.network_2_4_1_2;
OpenGL = self.OpenGL_2_8_0_0;
OpenGLRaw = self.OpenGLRaw_1_3_0_0;
parallel = self.parallel_3_2_0_3;
parsec = self.parsec_3_1_3;
QuickCheck = self.QuickCheck_2_6;
random = self.random_1_0_1_1;
regexBase = self.regexBase_0_93_2;
regexCompat = self.regexCompat_0_95_1;
regexPosix = self.regexPosix_0_95_2;
split = self.split_0_2_2;
stm = self.stm_2_4_2;
syb = self.syb_0_4_0;
text = self.text_0_11_3_1;
transformers = self.transformers_0_3_0_0;
unorderedContainers = self.unorderedContainers_0_2_3_0;
vector = self.vector_0_10_0_1;
xhtml = self.xhtml_3000_2_1;
zlib = self.zlib_0_5_4_1;
cabalInstall = self.cabalInstall_1_16_0_2;
alex = self.alex_3_0_5;
happy = self.happy_1_18_10;
primitive = self.primitive_0_5_0_1; # semi-official, but specified
};
};
haskellPlatformPackages_2012_4_0_0 = pkgs.haskell.packages_ghc742.override {
extension = self : super : {
async = self.async_2_0_1_3;
cgi = self.cgi_3001_1_7_4;
fgl = self.fgl_5_4_2_4;
GLUT = self.GLUT_2_1_2_1;
haskellSrc = self.haskellSrc_1_0_1_5;
html = self.html_1_0_1_2;
HTTP = super.HTTP_4000_2_5.override { network = self.network_2_3_1_0; };
HUnit = self.HUnit_1_2_5_1;
mtl = self.mtl_2_1_2;
network = self.network_2_3_1_0;
OpenGL = self.OpenGL_2_2_3_1;
parallel = self.parallel_3_2_0_3;
parsec = self.parsec_3_1_3;
QuickCheck = self.QuickCheck_2_5_1_1;
random = self.random_1_0_1_1;
regexBase = self.regexBase_0_93_2;
regexCompat = self.regexCompat_0_95_1;
regexPosix = self.regexPosix_0_95_2;
split = self.split_0_2_1_1;
stm = self.stm_2_4;
syb = self.syb_0_3_7;
text = self.text_0_11_2_3;
transformers = self.transformers_0_3_0_0;
vector = self.vector_0_10_0_1;
xhtml = self.xhtml_3000_2_1;
zlib = self.zlib_0_5_4_0;
cabalInstall = self.cabalInstall_0_14_0;
alex = self.alex_3_0_2;
happy = self.happy_1_18_10;
primitive = self.primitive_0_5_0_1; # semi-official, but specified
};
};
haskellPlatformPackages_2012_2_0_0 = pkgs.haskell.packages_ghc742.override {
ghcPath = ../../../compilers/ghc/7.4.1.nix;
extension = self : super : {
cgi = self.cgi_3001_1_7_4;
fgl = self.fgl_5_4_2_4;
GLUT = self.GLUT_2_1_2_1;
haskellSrc = self.haskellSrc_1_0_1_5;
html = self.html_1_0_1_2;
HTTP = self.HTTP_4000_2_3;
HUnit = self.HUnit_1_2_4_2;
mtl = self.mtl_2_1_1;
network = self.network_2_3_0_13;
OpenGL = self.OpenGL_2_2_3_1;
parallel = self.parallel_3_2_0_2;
parsec = self.parsec_3_1_2;
QuickCheck = self.QuickCheck_2_4_2;
random = self.random_1_0_1_1;
regexBase = self.regexBase_0_93_2;
regexCompat = self.regexCompat_0_95_1;
regexPosix = self.regexPosix_0_95_1;
stm = self.stm_2_3;
syb = self.syb_0_3_6_1;
text = self.text_0_11_2_0;
transformers = self.transformers_0_3_0_0;
xhtml = self.xhtml_3000_2_1;
zlib = self.zlib_0_5_3_3;
cabalInstall = self.cabalInstall_0_14_0;
alex = self.alex_3_0_1;
happy = self.happy_1_18_9;
};
};
haskellPlatformPackages_2011_4_0_0 = pkgs.haskell.packages_ghc704.override {
extension = self : super : {
cgi = self.cgi_3001_1_7_4;
fgl = self.fgl_5_4_2_4;
GLUT = self.GLUT_2_1_2_1;
haskellSrc = self.haskellSrc_1_0_1_4;
html = self.html_1_0_1_2;
HUnit = self.HUnit_1_2_4_2;
network = self.network_2_3_0_5;
OpenGL = self.OpenGL_2_2_3_0;
parallel = self.parallel_3_1_0_1;
parsec = self.parsec_3_1_1;
QuickCheck = self.QuickCheck_2_4_1_1;
regexBase = self.regexBase_0_93_2;
regexCompat = self.regexCompat_0_95_1;
regexPosix = self.regexPosix_0_95_1;
stm = self.stm_2_2_0_1;
syb = self.syb_0_3_3;
xhtml = self.xhtml_3000_2_0_4;
zlib = self.zlib_0_5_3_1;
HTTP = self.HTTP_4000_1_2;
deepseq = self.deepseq_1_1_0_2;
text = self.text_0_11_1_5;
transformers = self.transformers_0_2_2_0;
mtl = self.mtl_2_0_1_0;
cabalInstall = self.cabalInstall_0_10_2;
alex = self.alex_2_3_5;
happy = self.happy_1_18_6;
};
};
haskellPlatformPackages_2011_2_0_1 = pkgs.haskell.packages_ghc704.override {
ghcPath = ../../../compilers/ghc/7.0.3.nix;
extension = self : super : {
cgi = self.cgi_3001_1_7_4;
fgl = self.fgl_5_4_2_3;
GLUT = self.GLUT_2_1_2_1;
haskellSrc = self.haskellSrc_1_0_1_4;
html = self.html_1_0_1_2;
HUnit = self.HUnit_1_2_2_3;
network = self.network_2_3_0_2;
OpenGL = self.OpenGL_2_2_3_0;
parallel = self.parallel_3_1_0_1;
parsec = self.parsec_3_1_1;
QuickCheck = self.QuickCheck_2_4_0_1;
regexBase = self.regexBase_0_93_2;
regexCompat = self.regexCompat_0_93_1;
regexPosix = self.regexPosix_0_94_4;
stm = self.stm_2_2_0_1;
syb = self.syb_0_3;
xhtml = self.xhtml_3000_2_0_1;
zlib = self.zlib_0_5_3_1;
HTTP = self.HTTP_4000_1_1;
deepseq = self.deepseq_1_1_0_2;
text = self.text_0_11_0_6;
transformers = self.transformers_0_2_2_0;
mtl = self.mtl_2_0_1_0;
cabalInstall = self.cabalInstall_0_10_2;
alex = self.alex_2_3_5;
happy = self.happy_1_18_6;
};
};
haskellPlatformPackages_2011_2_0_0 = pkgs.haskell.packages_ghc704.override {
ghcPath = ../../../compilers/ghc/7.0.2.nix;
extension = self : super : {
cgi = self.cgi_3001_1_7_4;
fgl = self.fgl_5_4_2_3;
GLUT = self.GLUT_2_1_2_1;
haskellSrc = self.haskellSrc_1_0_1_4;
html = self.html_1_0_1_2;
HUnit = self.HUnit_1_2_2_3;
network = self.network_2_3_0_2;
OpenGL = self.OpenGL_2_2_3_0;
parallel = self.parallel_3_1_0_1;
parsec = self.parsec_3_1_1;
QuickCheck = self.QuickCheck_2_4_0_1;
regexBase = self.regexBase_0_93_2;
regexCompat = self.regexCompat_0_93_1;
regexPosix = self.regexPosix_0_94_4;
stm = self.stm_2_2_0_1;
syb = self.syb_0_3;
xhtml = self.xhtml_3000_2_0_1;
zlib = self.zlib_0_5_3_1;
HTTP = self.HTTP_4000_1_1;
deepseq = self.deepseq_1_1_0_2;
text = self.text_0_11_0_5;
transformers = self.transformers_0_2_2_0;
mtl = self.mtl_2_0_1_0;
cabalInstall = self.cabalInstall_0_10_2;
alex = self.alex_2_3_5;
happy = self.happy_1_18_6;
};
};
haskellPlatformPackages_2010_2_0_0 = pkgs.haskell.packages_ghc6123.override {
extension = self : super : {
cgi = self.cgi_3001_1_7_3;
fgl = self.fgl_5_4_2_3;
GLUT = self.GLUT_2_1_2_1;
haskellSrc = self.haskellSrc_1_0_1_3;
html = self.html_1_0_1_2;
HUnit = self.HUnit_1_2_2_1;
mtl = self.mtl_1_1_0_2;
network = self.network_2_2_1_7;
OpenGL = self.OpenGL_2_2_3_0;
parallel = self.parallel_2_2_0_1;
parsec = self.parsec_2_1_0_1;
QuickCheck = self.QuickCheck_2_1_1_1;
regexBase = self.regexBase_0_93_2;
regexCompat = self.regexCompat_0_93_1;
regexPosix = self.regexPosix_0_94_2;
stm = self.stm_2_1_2_1;
xhtml = self.xhtml_3000_2_0_1;
zlib = self.zlib_0_5_2_0;
HTTP = self.HTTP_4000_0_9;
deepseq = self.deepseq_1_1_0_0;
text = self.text_0_11_0_5;
cabalInstall = self.cabalInstall_0_8_2;
alex = self.alex_2_3_3;
happy = self.happy_1_18_5;
};
};
haskellPlatformPackages_2010_1_0_0 = pkgs.haskell.packages_ghc6123.override {
extension = self : super : {
haskellSrc = self.haskellSrc_1_0_1_3;
html = self.html_1_0_1_2;
fgl = self.fgl_5_4_2_2;
cabalInstall = self.cabalInstall_0_8_0;
GLUT = self.GLUT_2_1_2_1;
OpenGL = self.OpenGL_2_2_3_0;
zlib = self.zlib_0_5_2_0;
alex = self.alex_2_3_2;
cgi = self.cgi_3001_1_7_2;
QuickCheck = self.QuickCheck_2_1_1_1;
HTTP = self.HTTP_4000_0_9;
deepseq = self.deepseq_1_1_0_0;
HUnit = self.HUnit_1_2_2_1;
network = self.network_2_2_1_7;
parallel = self.parallel_2_2_0_1;
parsec = self.parsec_2_1_0_1;
regexBase = self.regexBase_0_93_1;
regexCompat = self.regexCompat_0_92;
regexPosix = self.regexPosix_0_94_1;
stm = self.stm_2_1_1_2;
xhtml = self.xhtml_3000_2_0_1;
happy = self.happy_1_18_4;
# not actually specified, but important to make the whole thing build
mtl = self.mtl_1_1_0_2;
};
};
haskellPlatformPackages_2009_2_0_2 = pkgs.haskell.packages_ghc6104.override {
extension = self : super : {
time = self.time_1_1_2_4;
cgi = self.cgi_3001_1_7_1;
editline = self.editline_0_2_1_0;
fgl = self.fgl_5_4_2_2;
GLUT = self.GLUT_2_1_1_2;
haskellSrc = self.haskellSrc_1_0_1_3;
html = self.html_1_0_1_2;
HUnit = self.HUnit_1_2_0_3;
network = self.network_2_2_1_4;
OpenGL = self.OpenGL_2_2_1_1;
parallel = self.parallel_1_1_0_1;
parsec = self.parsec_2_1_0_1;
QuickCheck = self.QuickCheck_1_2_0_0;
regexBase = self.regexBase_0_72_0_2;
regexCompat = self.regexCompat_0_71_0_1;
regexPosix = self.regexPosix_0_72_0_3;
stm = self.stm_2_1_1_2;
xhtml = self.xhtml_3000_2_0_1;
zlib = self.zlib_0_5_0_0;
HTTP = self.HTTP_4000_0_6;
cabalInstall = self.cabalInstall_0_6_2;
alex = self.alex_2_3_1;
happy = self.happy_1_18_4;
# not actually specified, but important to make the whole thing build
mtl = self.mtl_1_1_0_2;
};
};
in
{
"2013_2_0_0" = haskellPlatformPackages_2013_2_0_0.callPackage ./2013.2.0.0.nix {};
"2012_4_0_0" = haskellPlatformPackages_2012_4_0_0.callPackage ./2012.4.0.0.nix {};
"2012_2_0_0" = haskellPlatformPackages_2012_2_0_0.callPackage ./2012.2.0.0.nix {};
"2011_4_0_0" = haskellPlatformPackages_2011_4_0_0.callPackage ./2011.4.0.0.nix {};
"2011_2_0_1" = haskellPlatformPackages_2011_2_0_1.callPackage ./2011.2.0.1.nix {};
"2011_2_0_0" = haskellPlatformPackages_2011_2_0_0.callPackage ./2011.2.0.0.nix {};
"2010_2_0_0" = haskellPlatformPackages_2010_2_0_0.callPackage ./2010.2.0.0.nix {};
"2010_1_0_0" = haskellPlatformPackages_2010_1_0_0.callPackage ./2010.1.0.0.nix {};
"2009_2_0_2" = haskellPlatformPackages_2009_2_0_2.callPackage ./2009.2.0.2.nix {};
}

View File

@ -1,90 +0,0 @@
name: haskell-platform
version: 2011.2.0.1
homepage: http://haskell.org/platform
license: BSD3
license-file: LICENSE
author: libraries@haskell.org
maintainer: haskell-platform@projects.haskell.org
category: System
synopsis: The Haskell Platform
description:
The Haskell Platform (HP) is the blessed set of libraries and tools on
which to build further Haskell libraries and applications. It is
intended to provide a comprehensive, stable, and quality tested base for
Haskell projects to work from.
.
This version specifies the following additional developer tools be
installed, for a system to be in full compliance:
.
* cabal-install
* alex
* happy
* haddock
cabal-version: >= 1.6
build-type: Custom
tested-with: GHC ==7.0.3
library
build-depends:
-- ghc 7.x
-- Core libraries: provided by every ghc installation
-- We don't include "non-API" packages here.
-- array ==0.3.0.2
-- base ==4.3.1.0
-- bytestring ==0.9.1.10
-- Cabal ==1.10.1.0
-- containers ==0.4.0.0
-- directory ==1.1.0.0
-- extensible-exceptions ==0.1.1.2
-- filepath ==1.2.0.0
-- haskell2010 ==1.0.0.0
-- haskell98 ==1.1.0.1
-- hpc ==0.5.0.6
-- old-locale ==1.0.0.2
-- old-time ==1.0.0.6
-- pretty ==1.0.1.2
-- process ==1.0.1.5
-- random ==1.0.0.3
-- template-haskell ==2.5.0.0
-- time ==1.2.0.3
-- unix ==XXX 2.4.2.0
-- Win32 ==XXX 2.2.0.1
-- Libraries in addition to what GHC provides:
-- Note: newer versions of cgi need monad-catchio.
cgi ==3001.1.7.4,
fgl ==5.4.2.3,
GLUT ==2.1.2.1,
haskell-src ==1.0.1.4,
html ==1.0.1.2,
HUnit ==1.2.2.3,
network ==2.3.0.2,
OpenGL ==2.2.3.0,
parallel ==3.1.0.1,
parsec ==3.1.1,
QuickCheck ==2.4.0.1,
regex-base ==0.93.2,
regex-compat ==0.93.1,
regex-posix ==0.94.4,
stm ==2.2.0.1,
syb ==0.3,
xhtml ==3000.2.0.1,
zlib ==0.5.3.1,
HTTP ==4000.1.1,
deepseq ==1.1.0.2,
-- 2011.1 proposals:
text ==0.11.0.6,
transformers ==0.2.2.0,
mtl ==2.0.1.0
-- Depending on programs does not work, they are not registered
-- We list them to help distro packaging.
build-tools:
cabal-install ==0.10.2,
alex ==2.3.5,
happy ==1.18.6
-- hscolour ==1.17
-- haddock ==2.9.2 -- need to use the one shipped with ghc

View File

@ -1,90 +0,0 @@
name: haskell-platform
version: 2011.4.0.0
homepage: http://haskell.org/platform
license: BSD3
license-file: LICENSE
author: libraries@haskell.org
maintainer: haskell-platform@projects.haskell.org
category: System
synopsis: The Haskell Platform
description:
The Haskell Platform (HP) is the blessed set of libraries and tools on
which to build further Haskell libraries and applications. It is
intended to provide a comprehensive, stable, and quality tested base for
Haskell projects to work from.
.
This version specifies the following additional developer tools be
installed, for a system to be in full compliance:
.
* cabal-install
* alex
* happy
* haddock
cabal-version: >= 1.8
build-type: Custom
tested-with: GHC ==7.0.4
library
build-depends:
-- ghc 7.x
-- Core libraries: provided by every ghc installation
-- We don't include "non-API" packages here.
-- array ==0.3.0.2
-- base ==4.3.1.0
-- bytestring ==0.9.1.10
-- Cabal ==1.10.2.0
-- containers ==0.4.0.0
-- directory ==1.1.0.0
-- extensible-exceptions ==0.1.1.2
-- filepath ==1.2.0.0
-- haskell2010 ==1.0.0.0
-- haskell98 ==1.1.0.1
-- hpc ==0.5.0.6
-- old-locale ==1.0.0.2
-- old-time ==1.0.0.6
-- pretty ==1.0.1.2
-- process ==1.0.1.5
-- random ==1.0.0.3
-- template-haskell ==2.5.0.0
-- time ==1.2.0.3
-- unix ==XXX 2.4.2.0
-- Win32 ==XXX 2.2.0.1
-- Libraries in addition to what GHC provides:
-- Note: newer versions of cgi need monad-catchio.
cgi ==3001.1.7.4,
fgl ==5.4.2.4,
GLUT ==2.1.2.1,
haskell-src ==1.0.1.4,
html ==1.0.1.2,
HUnit ==1.2.4.2,
network ==2.3.0.5,
OpenGL ==2.2.3.0,
parallel ==3.1.0.1,
parsec ==3.1.1,
QuickCheck ==2.4.1.1,
regex-base ==0.93.2,
regex-compat ==0.95.1,
regex-posix ==0.95.1,
stm ==2.2.0.1,
syb ==0.3.3,
xhtml ==3000.2.0.4,
zlib ==0.5.3.1,
HTTP ==4000.1.2,
deepseq ==1.1.0.2,
-- 2011.1 proposals:
text ==0.11.1.5,
transformers ==0.2.2.0,
mtl ==2.0.1.0
-- Depending on programs does not work, they are not registered
-- We list them to help distro packaging.
build-tools:
cabal-install ==0.10.2,
alex ==2.3.5,
happy ==1.18.6
-- hscolour ==1.17
-- haddock ==2.9.2 -- need to use the one shipped with ghc

View File

@ -1,89 +0,0 @@
name: haskell-platform
version: 2012.2.0.0
homepage: http://haskell.org/platform
license: BSD3
license-file: LICENSE
author: libraries@haskell.org
maintainer: haskell-platform@projects.haskell.org
category: System
synopsis: The Haskell Platform
description:
The Haskell Platform (HP) is the blessed set of libraries and tools on
which to build further Haskell libraries and applications. It is
intended to provide a comprehensive, stable, and quality tested base for
Haskell projects to work from.
.
This version specifies the following additional developer tools be
installed, for a system to be in full compliance:
.
* cabal-install
* alex
* happy
* haddock
cabal-version: >= 1.8
build-type: Custom
tested-with: GHC ==7.4.1
library
build-depends:
-- ghc ==7.4.1,
-- Core libraries: provided by every ghc installation
-- We don't include "non-API" packages here.
-- array ==0.4.0.0,
-- base ==4.5.0.0,
-- bytestring ==0.9.2.1,
-- Cabal ==1.14.0,
-- containers ==0.4.2.1,
-- deepseq ==1.3.0.0,
-- directory ==1.1.0.2,
-- extensible-exceptions ==0.1.1.4,
-- filepath ==1.3.0.0,
-- haskell2010 ==1.1.0.1,
-- haskell98 ==2.0.0.1,
-- hpc ==0.5.1.1,
-- old-locale ==1.0.0.4,
-- old-time ==1.1.0.0,
-- pretty ==1.1.1.0,
-- process ==1.1.0.1,
-- template-haskell ==2.7.0.0,
-- time ==1.4,
-- unix ==2.5.1.0,
-- Win32 ==2.2.2.0,
-- Libraries in addition to what GHC provides:
-- Note: newer versions of cgi need monad-catchio.
cgi ==3001.1.7.4,
fgl ==5.4.2.4,
GLUT ==2.1.2.1,
haskell-src ==1.0.1.5,
html ==1.0.1.2,
HTTP ==4000.2.3,
HUnit ==1.2.4.2,
mtl ==2.1.1,
network ==2.3.0.13,
OpenGL ==2.2.3.1,
parallel ==3.2.0.2,
parsec ==3.1.2,
QuickCheck ==2.4.2,
random ==1.0.1.1,
regex-base ==0.93.2,
regex-compat ==0.95.1,
regex-posix ==0.95.1,
stm ==2.3,
syb ==0.3.6.1,
text ==0.11.2.0,
transformers ==0.3.0.0,
xhtml ==3000.2.1,
zlib ==0.5.3.3
-- Depending on programs does not work, they are not registered
-- We list them to help distro packaging.
build-tools:
cabal-install ==0.14.0,
alex ==3.0.1,
happy ==1.18.9
-- hscolour ==1.19
-- haddock ==2.10.0 -- need to use the one shipped with ghc

View File

@ -1,113 +0,0 @@
name: haskell-platform
version: 2012.4.0.0
homepage: http://haskell.org/platform
license: BSD3
license-file: LICENSE
author: libraries@haskell.org
maintainer: haskell-platform@projects.haskell.org
category: System
synopsis: The Haskell Platform
description:
The Haskell Platform (HP) is the blessed set of libraries and tools on
which to build further Haskell libraries and applications. It is
intended to provide a comprehensive, stable, and quality tested base for
Haskell projects to work from.
.
This version specifies the following additional developer tools be
installed, for a system to be in full compliance:
.
* cabal-install
* alex
* happy
* haddock
cabal-version: >= 1.8
build-type: Custom
tested-with: GHC ==7.4.2
flag include-ghc-depends
description: Include all the GHC provided packages in the dependencies
default: False
library
if flag(include-ghc-depends)
build-depends:
ghc ==7.4.2,
-- Core libraries: provided by every ghc installation
-- We don't include "non-API" packages here.
-- begin core packages
array ==0.4.0.0,
base ==4.5.1.0,
bytestring ==0.9.2.1,
Cabal ==1.14.0,
containers ==0.4.2.1,
deepseq ==1.3.0.0,
directory ==1.1.0.2,
extensible-exceptions ==0.1.1.4,
filepath ==1.3.0.0,
haskell2010 ==1.1.0.1,
haskell98 ==2.0.0.1,
hpc ==0.5.1.1,
old-locale ==1.0.0.4,
old-time ==1.1.0.0,
pretty ==1.1.1.0,
process ==1.1.0.1,
template-haskell ==2.7.0.0,
time ==1.4
if !os(windows)
build-depends:
unix ==2.5.1.1
-- end core packages
else
build-depends:
Win32 ==2.2.2.0
build-depends:
-- Libraries in addition to what GHC provides:
-- Note: newer versions of cgi need monad-catchio.
-- begin platform packages
async ==2.0.1.3,
cgi ==3001.1.7.4,
fgl ==5.4.2.4,
GLUT ==2.1.2.1,
haskell-src ==1.0.1.5,
html ==1.0.1.2,
HTTP ==4000.2.5,
HUnit ==1.2.5.1,
mtl ==2.1.2,
network ==2.3.1.0,
OpenGL ==2.2.3.1,
parallel ==3.2.0.3,
parsec ==3.1.3,
QuickCheck ==2.5.1.1,
random ==1.0.1.1,
regex-base ==0.93.2,
regex-compat ==0.95.1,
regex-posix ==0.95.2,
split ==0.2.1.1,
stm ==2.4,
syb ==0.3.7,
text ==0.11.2.3,
transformers ==0.3.0.0,
vector ==0.10.0.1,
xhtml ==3000.2.1,
zlib ==0.5.4.0,
-- Libraries that are needed to support the above,
-- though are not officially part of the platform
primitive ==0.5.0.1
-- Depending on programs does not work, they are not registered
-- We list them to help distro packaging.
build-tools:
cabal-install ==0.14.0,
alex ==3.0.2,
happy ==1.18.10
-- end platform packages
-- hscolour ==1.19 -- ???
-- haddock ==2.11.0 -- need to use the one shipped with ghc
-- N.B.: The begin/end comment annotations are used to build the source
-- installer: Packages that are part of the core are checked at build time.
-- Source of packages that are part of the platform are included in the tarball.

View File

@ -1,118 +0,0 @@
name: haskell-platform
version: 2013.2.0.0
homepage: http://haskell.org/platform
license: BSD3
license-file: LICENSE
author: libraries@haskell.org
maintainer: haskell-platform@projects.haskell.org
category: System
synopsis: The Haskell Platform
description:
The Haskell Platform (HP) is the blessed set of libraries and tools on
which to build further Haskell libraries and applications. It is
intended to provide a comprehensive, stable, and quality tested base for
Haskell projects to work from.
.
This version specifies the following additional developer tools be
installed, for a system to be in full compliance:
.
* cabal-install
* alex
* happy
* haddock
cabal-version: >= 1.8
build-type: Custom
tested-with: GHC ==7.6.3
flag include-ghc-depends
description: Include all the GHC provided packages in the dependencies
default: False
library
if flag(include-ghc-depends)
build-depends:
ghc ==7.6.3,
-- Core libraries: provided by every ghc installation
-- We don't include "non-API" packages here.
-- begin core packages
array ==0.4.0.1,
base ==4.6.0.1,
bytestring ==0.10.0.2,
Cabal ==1.16.0,
containers ==0.5.0.0,
deepseq ==1.3.0.1,
directory ==1.2.0.1,
filepath ==1.3.0.1,
haskell2010 ==1.1.1.0,
haskell98 ==2.0.0.2,
hpc ==0.6.0.0,
old-locale ==1.0.0.5,
old-time ==1.1.0.1,
pretty ==1.1.1.0,
process ==1.1.0.2,
template-haskell ==2.8.0.0,
time ==1.4.0.1
if !os(windows)
build-depends:
unix ==2.6.0.1
-- end core packages
else
build-depends:
Win32 ==2.3.0.0
build-depends:
-- Libraries in addition to what GHC provides:
-- Note: newer versions of cgi need monad-catchio.
-- begin platform packages
async ==2.0.1.4,
attoparsec ==0.10.4.0,
case-insensitive ==1.0.0.1,
cgi ==3001.1.7.5,
fgl ==5.4.2.4,
GLUT ==2.4.0.0,
GLURaw ==1.3.0.0,
haskell-src ==1.0.1.5,
hashable ==1.1.2.5,
html ==1.0.1.2,
HTTP ==4000.2.8,
HUnit ==1.2.5.2,
mtl ==2.1.2,
network ==2.4.1.2,
OpenGL ==2.8.0.0,
OpenGLRaw ==1.3.0.0,
parallel ==3.2.0.3,
parsec ==3.1.3,
QuickCheck ==2.6,
random ==1.0.1.1,
regex-base ==0.93.2,
regex-compat ==0.95.1,
regex-posix ==0.95.2,
split ==0.2.2,
stm ==2.4.2,
syb ==0.4.0,
text ==0.11.3.1,
transformers ==0.3.0.0,
unordered-containers ==0.2.3.0,
vector ==0.10.0.1,
xhtml ==3000.2.1,
zlib ==0.5.4.1,
-- Libraries that are needed to support the above,
-- though are not officially part of the platform
primitive ==0.5.0.1
-- Depending on programs does not work, they are not registered
-- We list them to help distro packaging.
build-tools:
cabal-install ==1.16.0.2,
alex ==3.0.5,
happy ==1.18.10
-- end platform packages
-- hscolour ==1.20.3 -- ???
-- haddock ==2.13.2 -- need to use the one shipped with ghc
-- N.B.: The begin/end comment annotations are used to build the source
-- installer: Packages that are part of the core are checked at build time.
-- Source of packages that are part of the platform are included in the tarball.

View File

@ -24,7 +24,7 @@
# refer to their documentation via symlink so they are not garbage collected.
{ stdenv, hoogle, rehoo
, haskellPlatform, ghc, packages ? [ haskellPlatform ghc.ghc ]
, ghc, packages ? [ ghc.ghc ]
}:
let

View File

@ -3275,7 +3275,6 @@ let
) haskell));
haskellPackages = haskellPackages_ghc783;
haskellPlatform = haskellPlatformPackages."2013_2_0_0";
haskellPackages_ghc6104 = haskell.packages_ghc6104;
haskellPackages_ghc6123 = haskell.packages_ghc6123;
@ -3288,8 +3287,6 @@ let
haskellPackages_ghc783 = recurseIntoAttrs haskell.packages_ghc783.highPrio;
haskellPackages_ghcHEAD = haskell.packages_ghcHEAD;
haskellPlatformPackages = recurseIntoAttrs (import ../development/libraries/haskell/haskell-platform { inherit pkgs; });
haxe = callPackage ../development/compilers/haxe { };
hhvm = callPackage ../development/compilers/hhvm { };