haskell-packages.nix: added bnfc version 2.4

svn path=/nixpkgs/trunk/; revision=28132
This commit is contained in:
Peter Simons 2011-08-03 07:49:21 +00:00
parent 857d2673ae
commit 21b8ff7aee
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,20 @@
{stdenv, fetchurl, ghc}:
stdenv.mkDerivation {
name = "bnfc-2.4-beta1";
src = fetchurl {
url = "https://svn.spraakdata.gu.se/clt/release/bnfc_2.4_beta_1.tgz";
sha256 = "1njnck3m6qpp0qw11v1chf6m217j8f85bsgjl7zcpb4py18mjjrx";
};
buildInputs = [ghc];
preConfigure = "cd source";
meta = {
description = "Compiler construction tool generating a compiler front-end from a Labelled BNF grammar";
platforms = stdenv.lib.platforms.haskellPlatforms;
maintainers = [ stdenv.lib.maintainers.simons ];
};
}

View File

@ -361,6 +361,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
bmp = callPackage ../development/libraries/haskell/bmp {};
bnfc = callPackage ../development/tools/haskell/bnfc {};
Boolean = callPackage ../development/libraries/haskell/Boolean {};
bytestringNums = callPackage ../development/libraries/haskell/bytestring-nums {};