nixpkgs/pkgs/development/tools/haskell/bnfc/default.nix
Peter Simons 21b8ff7aee haskell-packages.nix: added bnfc version 2.4
svn path=/nixpkgs/trunk/; revision=28132
2011-08-03 07:49:21 +00:00

21 lines
533 B
Nix

{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 ];
};
}