summary refs log tree commit diff
path: root/pkgs/development/tools/haskell/BNFC/default.nix
blob: 3cb85b86acbdbc989df3ce7d34d87619852edfeb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ cabal, mtl, fetchurl }:

cabal.mkDerivation (self: {
  pname = "BNFC";
  version = "2.6.0.3";
  sha256 = "0i38rwslkvnicnlxbrxybnwkgfin04lnr4q12lcvli4ldp2ylfjq";
  isLibrary = true;
  isExecutable = true;
  buildDepends = [ mtl ];
  patches = [ (fetchurl { url = "https://github.com/BNFC/bnfc/pull/3.patch"; sha256 = "103l04ylzswgxrmpv5zy6dd0jyr96z21mdkpgk1z4prvn8wjl624"; }) ];
  patchFlags = "-p2";
  meta = {
    homepage = "http://bnfc.digitalgrammars.com/";
    description = "A compiler front-end generator";
    license = "GPL";
    platforms = self.ghc.meta.platforms;
    maintainers = [
      self.stdenv.lib.maintainers.andres
      self.stdenv.lib.maintainers.simons
    ];
  };
})