From 67167c9170aec411ab9f68137f6e343dce022c92 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 21 Aug 2013 11:52:57 +0200 Subject: [PATCH] haskell-src-exts: add version 1.14.0 and drop obsolete 1.11.1 --- .../haskell-src-exts/{1.11.1.nix => 1.14.0.nix} | 13 +++++++++---- pkgs/top-level/haskell-packages.nix | 2 +- 2 files changed, 10 insertions(+), 5 deletions(-) rename pkgs/development/libraries/haskell/haskell-src-exts/{1.11.1.nix => 1.14.0.nix} (55%) diff --git a/pkgs/development/libraries/haskell/haskell-src-exts/1.11.1.nix b/pkgs/development/libraries/haskell/haskell-src-exts/1.14.0.nix similarity index 55% rename from pkgs/development/libraries/haskell/haskell-src-exts/1.11.1.nix rename to pkgs/development/libraries/haskell/haskell-src-exts/1.14.0.nix index 1918260cc62f..16595e331565 100644 --- a/pkgs/development/libraries/haskell/haskell-src-exts/1.11.1.nix +++ b/pkgs/development/libraries/haskell/haskell-src-exts/1.14.0.nix @@ -1,14 +1,19 @@ -{ cabal, cpphs, happy }: +{ cabal, cpphs, filepath, happy, smallcheck, tasty, tastyHunit +, tastySmallcheck +}: cabal.mkDerivation (self: { pname = "haskell-src-exts"; - version = "1.11.1"; - sha256 = "1jqf8l81zw7x5ryf8h2n0b2636yhxkfp3j4ndbqw6hc7i5q581m6"; + version = "1.14.0"; + sha256 = "070khsw56xwyrclamv5wckj9na2xbzibv702xx52ik2wbs21dr0d"; buildDepends = [ cpphs ]; + testDepends = [ + filepath smallcheck tasty tastyHunit tastySmallcheck + ]; buildTools = [ happy ]; doCheck = false; meta = { - homepage = "http://code.haskell.org/haskell-src-exts"; + homepage = "https://github.com/haskell-suite/haskell-src-exts"; description = "Manipulating Haskell source: abstract syntax, lexer, parser, and pretty-printer"; license = self.stdenv.lib.licenses.bsd3; platforms = self.ghc.meta.platforms; diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index cdfdce27fb4f..a949a56fa0be 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1114,8 +1114,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); haskellSrc_1_0_1_5 = callPackage ../development/libraries/haskell/haskell-src/1.0.1.5.nix {}; haskellSrc = self.haskellSrc_1_0_1_5; - haskellSrcExts_1_11_1 = callPackage ../development/libraries/haskell/haskell-src-exts/1.11.1.nix {}; haskellSrcExts_1_13_5 = callPackage ../development/libraries/haskell/haskell-src-exts/1.13.5.nix {}; + haskellSrcExts_1_14_0 = callPackage ../development/libraries/haskell/haskell-src-exts/1.14.0.nix {}; haskellSrcExts = self.haskellSrcExts_1_13_5; haskellSrcMeta = callPackage ../development/libraries/haskell/haskell-src-meta {};