forked from mirrors/nixpkgs
More Haskell Platform.
svn path=/nixpkgs/trunk/; revision=15153
This commit is contained in:
parent
0348315add
commit
12a05f1638
4 changed files with 33 additions and 2 deletions
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 : {
|
cabal.mkDerivation (self : {
|
||||||
pname = "alex";
|
pname = "alex";
|
||||||
version = "2.2";
|
version = "2.3.1"; # Haskell Platform 2009.0.0
|
||||||
name = self.fname;
|
name = self.fname;
|
||||||
sha256 = "e958d4fc6cfdb1d351dc39a45ea882f23b1b1773a736d43814a52d4939a41ffe";
|
sha256 = "cdd42fd992a72fedeff1f38debc21aa315d90dc070f0945d7819c0bccd549a44";
|
||||||
extraBuildInputs = [perl];
|
extraBuildInputs = [perl];
|
||||||
meta = {
|
meta = {
|
||||||
description = "A lexical analyser generator for Haskell";
|
description = "A lexical analyser generator for Haskell";
|
||||||
|
|
|
@ -47,6 +47,10 @@ rec {
|
||||||
fgl = import ../development/libraries/haskell/fgl {
|
fgl = import ../development/libraries/haskell/fgl {
|
||||||
inherit cabal mtl;
|
inherit cabal mtl;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ghcPaths = import ../development/libraries/haskell/ghc-paths {
|
||||||
|
inherit cabal;
|
||||||
|
};
|
||||||
|
|
||||||
gtk2hs = import ../development/libraries/haskell/gtk2hs {
|
gtk2hs = import ../development/libraries/haskell/gtk2hs {
|
||||||
inherit (pkgs) pkgconfig stdenv fetchurl cairo ghc;
|
inherit (pkgs) pkgconfig stdenv fetchurl cairo ghc;
|
||||||
|
@ -216,6 +220,10 @@ rec {
|
||||||
inherit cabal;
|
inherit cabal;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
haddock242 = import ../development/tools/documentation/haddock/haddock-2.4.2.nix {
|
||||||
|
inherit cabal ghcPaths;
|
||||||
|
};
|
||||||
|
|
||||||
happy = happy1182;
|
happy = happy1182;
|
||||||
|
|
||||||
happy117 = import ../development/tools/parsing/happy/happy-1.17.nix {
|
happy117 = import ../development/tools/parsing/happy/happy-1.17.nix {
|
||||||
|
|
Loading…
Add table
Reference in a new issue