Added ghc-core, updated hscolour.

svn path=/nixpkgs/trunk/; revision=16245
This commit is contained in:
Andres Löh 2009-07-08 12:34:14 +00:00
parent 1dbe3d5b87
commit a52909b36a
3 changed files with 19 additions and 2 deletions

View File

@ -0,0 +1,13 @@
{cabal, pcreLight, hscolour}:
cabal.mkDerivation (self : {
pname = "ghc-core";
version = "0.4.3";
sha256 = "cdd6082ebc692087db781cb10194bbbf34a768b31eea0dcb78c73921c7047444";
propagatedBuildInputs = [pcreLight hscolour];
configureFlags = ''--constraint=base<4'';
meta = {
description = "Display GHC's core and assembly output in a pager";
};
})

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self : { cabal.mkDerivation (self : {
pname = "hscolour"; pname = "hscolour";
version = "1.10.1"; version = "1.11";
sha256 = "293f24b8373be1d70d9e5a4b8d3c527166ad645b4ac983c1a6fc5999c44a2d36"; sha256 = "ebe26f1911e8796de45350014404c5e31cc2701dae9a87ba58fe0d0d37a5d41b";
meta = { meta = {
description = "Colourise Haskell code"; description = "Colourise Haskell code";
}; };

View File

@ -81,6 +81,10 @@ rec {
inherit cabal mtl; inherit cabal mtl;
}; };
ghcCore = import ../development/libraries/haskell/ghc-core {
inherit cabal pcreLight hscolour;
};
ghcPaths = import ../development/libraries/haskell/ghc-paths { ghcPaths = import ../development/libraries/haskell/ghc-paths {
inherit cabal; inherit cabal;
}; };