haskell-src-exts: updated to version 1.11.1.nix

The older version, 1.9.6.nix, is still around because Agda won't accept
the latest one.

svn path=/nixpkgs/trunk/; revision=28226
This commit is contained in:
Peter Simons 2011-08-07 18:21:52 +00:00
parent eb462dcf47
commit 5b25af4f80
3 changed files with 21 additions and 6 deletions

View File

@ -0,0 +1,15 @@
{cabal, cpphs, happy} :
cabal.mkDerivation (self : {
pname = "haskell-src-exts";
version = "1.11.1";
sha256 = "1jqf8l81zw7x5ryf8h2n0b2636yhxkfp3j4ndbqw6hc7i5q581m6";
propagatedBuildInputs = [ cpphs happy ];
meta = {
homepage = "http://code.haskell.org/haskell-src-exts";
description = "Manipulating Haskell source: abstract syntax, lexer, parser, and pretty-printer";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.stdenv.lib.platforms.haskellPlatforms;
maintainers = [ self.stdenv.lib.maintainers.simons ];
};
})

View File

@ -352,11 +352,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
# Haskell libraries.
Agda = callPackage ../development/libraries/haskell/Agda {
# I've been trying to get the latest Agda to build with ghc-6.12, too,
# but failed so far.
# mtl = self.mtl2;
# QuickCheck = self.QuickCheck2;
syb = self.syb02;
syb = self.syb02;
haskellSrcExts = self.haskellSrcExts_1_9_6;
};
ACVector = callPackage ../development/libraries/haskell/AC-Vector {};
@ -615,7 +612,10 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
haskellSrc_1_0_1_4 = callPackage ../development/libraries/haskell/haskell-src/1.0.1.4.nix {};
haskellSrc = self.haskellSrc_1_0_1_3;
haskellSrcExts = callPackage ../development/libraries/haskell/haskell-src-exts {};
# The old version is required for Agda.
haskellSrcExts_1_11_1 = callPackage ../development/libraries/haskell/haskell-src-exts/1.11.1.nix {};
haskellSrcExts_1_9_6 = callPackage ../development/libraries/haskell/haskell-src-exts/1.9.6.nix {};
haskellSrcExts = self.haskellSrcExts_1_11_1;
haskellSrcMeta = callPackage ../development/libraries/haskell/haskell-src-meta {};