haskell-BNFC: fix broken version number in executable

This commit is contained in:
Peter Simons 2013-02-19 13:26:01 +01:00
parent dfebdde16f
commit 7dfd7a93d4

View File

@ -1,4 +1,4 @@
{ cabal, mtl }:
{ cabal, mtl, fetchurl }:
cabal.mkDerivation (self: {
pname = "BNFC";
@ -7,6 +7,8 @@ cabal.mkDerivation (self: {
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";