From e3d0676b65df13ae26f854ffc1473741d71eda28 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sat, 4 Oct 2014 23:04:16 +0200 Subject: [PATCH] haskell-BNFC: update to version 2.7.0.1 --- .../tools/haskell/BNFC/default.nix | 25 ++++++++++--------- 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/pkgs/development/tools/haskell/BNFC/default.nix b/pkgs/development/tools/haskell/BNFC/default.nix index f335aebc570b..4acc8f38f175 100644 --- a/pkgs/development/tools/haskell/BNFC/default.nix +++ b/pkgs/development/tools/haskell/BNFC/default.nix @@ -1,24 +1,25 @@ -{ cabal, mtl, fetchpatch, alex, happy }: +# This file was auto-generated by cabal2nix. Please do NOT edit manually! + +{ cabal, alex, deepseq, filepath, happy, hspec, HUnit, mtl +, QuickCheck, temporary +}: cabal.mkDerivation (self: { pname = "BNFC"; - version = "2.6.0.3"; - sha256 = "0i38rwslkvnicnlxbrxybnwkgfin04lnr4q12lcvli4ldp2ylfjq"; + version = "2.7.0.1"; + sha256 = "18009jrpd5kcaz06j4ksay4c7c65m4zrc7jrp3rjx81bs6gkrwk1"; isLibrary = true; isExecutable = true; - buildDepends = [ mtl ]; + buildDepends = [ deepseq filepath mtl ]; + testDepends = [ + deepseq filepath hspec HUnit mtl QuickCheck temporary + ]; buildTools = [ alex happy ]; - patches = [ (fetchpatch { url = "https://github.com/BNFC/bnfc/pull/3.patch"; sha256 = "1i87crwva5m3v095lv3zxs38pr6nmly58krlr6sxpwnakpr0pxsp"; }) ]; - patchFlags = "-p2"; - preConfigure = "runhaskell Setup.lhs clean"; meta = { homepage = "http://bnfc.digitalgrammars.com/"; description = "A compiler front-end generator"; - license = "GPL"; + license = self.stdenv.lib.licenses.gpl2; platforms = self.ghc.meta.platforms; - maintainers = [ - self.stdenv.lib.maintainers.andres - self.stdenv.lib.maintainers.simons - ]; + maintainers = with self.stdenv.lib.maintainers; [ andres simons ]; }; })