2013-02-19 12:26:01 +00:00
|
|
|
{ cabal, mtl, fetchurl }:
|
2011-08-12 10:04:07 +01:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "BNFC";
|
2013-01-25 13:52:04 +00:00
|
|
|
version = "2.6.0.3";
|
|
|
|
sha256 = "0i38rwslkvnicnlxbrxybnwkgfin04lnr4q12lcvli4ldp2ylfjq";
|
|
|
|
isLibrary = true;
|
2011-08-12 10:04:07 +01:00
|
|
|
isExecutable = true;
|
2012-02-16 14:05:41 +00:00
|
|
|
buildDepends = [ mtl ];
|
2013-02-19 12:26:01 +00:00
|
|
|
patches = [ (fetchurl { url = "https://github.com/BNFC/bnfc/pull/3.patch"; sha256 = "103l04ylzswgxrmpv5zy6dd0jyr96z21mdkpgk1z4prvn8wjl624"; }) ];
|
|
|
|
patchFlags = "-p2";
|
2011-08-12 10:04:07 +01:00
|
|
|
meta = {
|
2013-01-25 13:52:04 +00:00
|
|
|
homepage = "http://bnfc.digitalgrammars.com/";
|
2011-08-12 10:04:07 +01:00
|
|
|
description = "A compiler front-end generator";
|
|
|
|
license = "GPL";
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
maintainers = [
|
|
|
|
self.stdenv.lib.maintainers.andres
|
|
|
|
self.stdenv.lib.maintainers.simons
|
|
|
|
];
|
|
|
|
};
|
|
|
|
})
|