mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
Added ghc-core, updated hscolour.
svn path=/nixpkgs/trunk/; revision=16245
This commit is contained in:
parent
1dbe3d5b87
commit
a52909b36a
13
pkgs/development/libraries/haskell/ghc-core/default.nix
Normal file
13
pkgs/development/libraries/haskell/ghc-core/default.nix
Normal 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";
|
||||
};
|
||||
})
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "hscolour";
|
||||
version = "1.10.1";
|
||||
sha256 = "293f24b8373be1d70d9e5a4b8d3c527166ad645b4ac983c1a6fc5999c44a2d36";
|
||||
version = "1.11";
|
||||
sha256 = "ebe26f1911e8796de45350014404c5e31cc2701dae9a87ba58fe0d0d37a5d41b";
|
||||
meta = {
|
||||
description = "Colourise Haskell code";
|
||||
};
|
||||
|
@ -81,6 +81,10 @@ rec {
|
||||
inherit cabal mtl;
|
||||
};
|
||||
|
||||
ghcCore = import ../development/libraries/haskell/ghc-core {
|
||||
inherit cabal pcreLight hscolour;
|
||||
};
|
||||
|
||||
ghcPaths = import ../development/libraries/haskell/ghc-paths {
|
||||
inherit cabal;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user