From 5a28754957f77c95431d1d409bd7c1d5488f5108 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 22 Apr 2013 11:28:17 +0200 Subject: [PATCH] haskell-hashable: add version 1.2.0.6 --- .../haskell/hashable/{1.2.0.5.nix => 1.2.0.6.nix} | 12 +++++++++--- pkgs/top-level/haskell-packages.nix | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) rename pkgs/development/libraries/haskell/hashable/{1.2.0.5.nix => 1.2.0.6.nix} (57%) diff --git a/pkgs/development/libraries/haskell/hashable/1.2.0.5.nix b/pkgs/development/libraries/haskell/hashable/1.2.0.6.nix similarity index 57% rename from pkgs/development/libraries/haskell/hashable/1.2.0.5.nix rename to pkgs/development/libraries/haskell/hashable/1.2.0.6.nix index d7d89ee86122..3cf4aaafaeaa 100644 --- a/pkgs/development/libraries/haskell/hashable/1.2.0.5.nix +++ b/pkgs/development/libraries/haskell/hashable/1.2.0.6.nix @@ -1,10 +1,16 @@ -{ cabal, text }: +{ cabal, HUnit, QuickCheck, random, testFramework +, testFrameworkHunit, testFrameworkQuickcheck2, text +}: cabal.mkDerivation (self: { pname = "hashable"; - version = "1.2.0.5"; - sha256 = "0frqr294bsx4i21xxd5pw59xpaf0nww0dh4bqn0ywblsm9c7nyqh"; + version = "1.2.0.6"; + sha256 = "0kd0vk87pgrir5zx7b30dvv2lsjjiykqi1gpalkgmgbvhals4p9z"; buildDepends = [ text ]; + testDepends = [ + HUnit QuickCheck random testFramework testFrameworkHunit + testFrameworkQuickcheck2 text + ]; meta = { homepage = "http://github.com/tibbe/hashable"; description = "A class for types that can be converted to a hash value"; diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 3bf5d3d7f749..32c7dc0e6d59 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1003,7 +1003,7 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); happstackHamlet = callPackage ../development/libraries/haskell/happstack/happstack-hamlet.nix {}; hashable_1_1_2_5 = callPackage ../development/libraries/haskell/hashable/1.1.2.5.nix {}; - hashable_1_2_0_5 = callPackage ../development/libraries/haskell/hashable/1.2.0.5.nix {}; + hashable_1_2_0_6 = callPackage ../development/libraries/haskell/hashable/1.2.0.6.nix {}; hashable = self.hashable_1_1_2_5; hashedStorage = callPackage ../development/libraries/haskell/hashed-storage {};