nixpkgs/pkgs/development/tools/haskell/BNFC/default.nix
Peter Simons c70c0029eb Updated BNFC to the latest version and fixed the spelling of its attribute.
Added BNFC-meta, alex-meta, and happy-meta.

Moved these tools into the tool section of haskell-packages.nix, and
paid special attention to the intended alphabetic order.

svn path=/nixpkgs/trunk/; revision=28506
2011-08-12 09:04:07 +00:00

20 lines
551 B
Nix

{ cabal, mtl }:
cabal.mkDerivation (self: {
pname = "BNFC";
version = "2.4.2.0";
sha256 = "0nnalzsql1k5y3s93g5y2hy2gcdsrbi8r7cwzmdcy4vyy589pin0";
isLibrary = false;
isExecutable = true;
buildDepends = [ mtl ];
meta = {
homepage = "http://www.cse.chalmers.se/research/group/Language-technology/BNFC/";
description = "A compiler front-end generator";
license = "GPL";
platforms = self.ghc.meta.platforms;
maintainers = [
self.stdenv.lib.maintainers.andres
self.stdenv.lib.maintainers.simons
];
};
})