From 54124516de7b441b21671ddb302df1993986039b Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 17 Sep 2013 11:29:41 +0200 Subject: [PATCH] haskell-happy: add version 1.19.0 --- .../development/tools/parsing/happy/1.19.0.nix | 18 ++++++++++++++++++ pkgs/top-level/haskell-packages.nix | 5 +++-- 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 pkgs/development/tools/parsing/happy/1.19.0.nix diff --git a/pkgs/development/tools/parsing/happy/1.19.0.nix b/pkgs/development/tools/parsing/happy/1.19.0.nix new file mode 100644 index 000000000000..2ff2950591ec --- /dev/null +++ b/pkgs/development/tools/parsing/happy/1.19.0.nix @@ -0,0 +1,18 @@ +{ cabal, mtl, perl }: + +cabal.mkDerivation (self: { + pname = "happy"; + version = "1.19.0"; + sha256 = "1phk44crr1zi4sd3slxj1ik5ll799zl48k69z1miws3mxq6w076z"; + isLibrary = false; + isExecutable = true; + buildDepends = [ mtl ]; + buildTools = [ perl ]; + meta = { + homepage = "http://www.haskell.org/happy/"; + description = "Happy is a parser generator for Haskell"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 49aa41c7601b..53334b13ffba 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -176,7 +176,7 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x cabalInstall = self.cabalInstall_1_18_0_1; alex = self.alex_3_1_0; haddock = self.haddock_2_13_2; - happy = self.happy_1_18_11; + happy = self.happy_1_19_0; primitive = self.primitive_0_5_0_1; # semi-official, but specified }; @@ -2363,7 +2363,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x happy_1_18_9 = callPackage ../development/tools/parsing/happy/1.18.9.nix {}; happy_1_18_10 = callPackage ../development/tools/parsing/happy/1.18.10.nix {}; happy_1_18_11 = callPackage ../development/tools/parsing/happy/1.18.11.nix {}; - happy = self.happy_1_18_11; + happy_1_19_0 = callPackage ../development/tools/parsing/happy/1.19.0.nix {}; + happy = self.happy_1_19_0; happyMeta = callPackage ../development/tools/haskell/happy-meta {};