From 34ed797ecf212ce8ccded33e076c7af6f86708fc Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 20 Mar 2014 09:32:08 +0100 Subject: [PATCH] haskell-QuickCheck: add version 2.7 --- .../libraries/haskell/QuickCheck/2.7.nix | 16 ++++++++++++++++ pkgs/top-level/haskell-packages.nix | 1 + 2 files changed, 17 insertions(+) create mode 100644 pkgs/development/libraries/haskell/QuickCheck/2.7.nix diff --git a/pkgs/development/libraries/haskell/QuickCheck/2.7.nix b/pkgs/development/libraries/haskell/QuickCheck/2.7.nix new file mode 100644 index 000000000000..4c3847a65f93 --- /dev/null +++ b/pkgs/development/libraries/haskell/QuickCheck/2.7.nix @@ -0,0 +1,16 @@ +{ cabal, random, testFramework, tfRandom }: + +cabal.mkDerivation (self: { + pname = "QuickCheck"; + version = "2.7"; + sha256 = "0l7qijcwbf81wdizsv7qzmm73dsjbldm2sx305cqs6bmnynbl508"; + buildDepends = [ random tfRandom ]; + testDepends = [ testFramework ]; + meta = { + homepage = "http://code.haskell.org/QuickCheck"; + description = "Automatic testing of Haskell programs"; + 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 fc59708a3a7a..da5c9daddf06 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -2048,6 +2048,7 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x QuickCheck_2_4_2 = callPackage ../development/libraries/haskell/QuickCheck/2.4.2.nix {}; QuickCheck_2_5_1_1 = callPackage ../development/libraries/haskell/QuickCheck/2.5.1.1.nix {}; QuickCheck_2_6 = callPackage ../development/libraries/haskell/QuickCheck/2.6.nix {}; + QuickCheck_2_7 = callPackage ../development/libraries/haskell/QuickCheck/2.7.nix {}; QuickCheck1 = self.QuickCheck_1_2_0_1; QuickCheck2 = self.QuickCheck_2_6; QuickCheck = self.QuickCheck2;