forked from mirrors/nixpkgs
More Haskell Platform.
svn path=/nixpkgs/trunk/; revision=15153
This commit is contained in:
parent
0348315add
commit
12a05f1638
11
pkgs/development/libraries/haskell/ghc-paths/default.nix
Normal file
11
pkgs/development/libraries/haskell/ghc-paths/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ cabal } :
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "ghc-paths";
|
||||
version = "0.1.0.5";
|
||||
sha256 = "ea9e97425894e3dbd7915e00e107e2e7fc07b6e8293fd2dd66a813f0673cba10";
|
||||
meta = {
|
||||
description = "Knowledge of GHC's installations directories";
|
||||
};
|
||||
})
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
{cabal, ghcPaths}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "haddock";
|
||||
version = "2.4.2"; # Haskell Platform 2009.0.0
|
||||
name = self.fname;
|
||||
sha256 = "dbf0a7d0103a3ce6a91b2a3b96148c1b9c13ea7f8bd74260c21fe98df7839547";
|
||||
propagatedBuildInputs = [ghcPaths];
|
||||
meta = {
|
||||
description = "a tool for automatically generating documentation from annotated Haskell source code";
|
||||
};
|
||||
})
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "alex";
|
||||
version = "2.2";
|
||||
version = "2.3.1"; # Haskell Platform 2009.0.0
|
||||
name = self.fname;
|
||||
sha256 = "e958d4fc6cfdb1d351dc39a45ea882f23b1b1773a736d43814a52d4939a41ffe";
|
||||
sha256 = "cdd42fd992a72fedeff1f38debc21aa315d90dc070f0945d7819c0bccd549a44";
|
||||
extraBuildInputs = [perl];
|
||||
meta = {
|
||||
description = "A lexical analyser generator for Haskell";
|
||||
|
|
|
@ -48,6 +48,10 @@ rec {
|
|||
inherit cabal mtl;
|
||||
};
|
||||
|
||||
ghcPaths = import ../development/libraries/haskell/ghc-paths {
|
||||
inherit cabal;
|
||||
};
|
||||
|
||||
gtk2hs = import ../development/libraries/haskell/gtk2hs {
|
||||
inherit (pkgs) pkgconfig stdenv fetchurl cairo ghc;
|
||||
inherit (pkgs.gnome) gtk glib GConf libglade libgtkhtml gtkhtml;
|
||||
|
@ -216,6 +220,10 @@ rec {
|
|||
inherit cabal;
|
||||
});
|
||||
|
||||
haddock242 = import ../development/tools/documentation/haddock/haddock-2.4.2.nix {
|
||||
inherit cabal ghcPaths;
|
||||
};
|
||||
|
||||
happy = happy1182;
|
||||
|
||||
happy117 = import ../development/tools/parsing/happy/happy-1.17.nix {
|
||||
|
|
Loading…
Reference in a new issue