2013-02-19 13:26:01 +01:00
|
|
|
{ cabal, mtl, fetchurl }:
|
2011-08-12 11:04:07 +02:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "BNFC";
|
2013-01-25 14:52:04 +01:00
|
|
|
version = "2.6.0.3";
|
|
|
|
sha256 = "0i38rwslkvnicnlxbrxybnwkgfin04lnr4q12lcvli4ldp2ylfjq";
|
|
|
|
isLibrary = true;
|
2011-08-12 11:04:07 +02:00
|
|
|
isExecutable = true;
|
2012-02-16 15:05:41 +01:00
|
|
|
buildDepends = [ mtl ];
|
2013-02-19 13:26:01 +01:00
|
|
|
patches = [ (fetchurl { url = "https://github.com/BNFC/bnfc/pull/3.patch"; sha256 = "103l04ylzswgxrmpv5zy6dd0jyr96z21mdkpgk1z4prvn8wjl624"; }) ];
|
|
|
|
patchFlags = "-p2";
|
2011-08-12 11:04:07 +02:00
|
|
|
meta = {
|
2013-01-25 14:52:04 +01:00
|
|
|
homepage = "http://bnfc.digitalgrammars.com/";
|
2011-08-12 11:04:07 +02: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
|
|
|
|
];
|
|
|
|
};
|
|
|
|
})
|