From 1152fb2e22c027f673c919ec609d066bb414eee8 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 20 Feb 2013 11:49:02 +0100 Subject: [PATCH] haskell-smallcheck: add version 1.0.1 --- .../haskell/smallcheck/{default.nix => 0.6.2.nix} | 0 .../libraries/haskell/smallcheck/1.0.1.nix | 15 +++++++++++++++ pkgs/top-level/haskell-packages.nix | 4 +++- 3 files changed, 18 insertions(+), 1 deletion(-) rename pkgs/development/libraries/haskell/smallcheck/{default.nix => 0.6.2.nix} (100%) create mode 100644 pkgs/development/libraries/haskell/smallcheck/1.0.1.nix diff --git a/pkgs/development/libraries/haskell/smallcheck/default.nix b/pkgs/development/libraries/haskell/smallcheck/0.6.2.nix similarity index 100% rename from pkgs/development/libraries/haskell/smallcheck/default.nix rename to pkgs/development/libraries/haskell/smallcheck/0.6.2.nix diff --git a/pkgs/development/libraries/haskell/smallcheck/1.0.1.nix b/pkgs/development/libraries/haskell/smallcheck/1.0.1.nix new file mode 100644 index 000000000000..a11eb501a861 --- /dev/null +++ b/pkgs/development/libraries/haskell/smallcheck/1.0.1.nix @@ -0,0 +1,15 @@ +{ cabal, dlist }: + +cabal.mkDerivation (self: { + pname = "smallcheck"; + version = "0.6.2"; + sha256 = "0yz7an3k71ia7sgs8xpkh37xz9ipsnbf13680185cij8llq8zbyr"; + buildDepends = [ dlist ]; + meta = { + homepage = "https://github.com/feuerbach/smallcheck"; + description = "A property-based testing library"; + 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 91e51b694fbb..efb302648d29 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1544,7 +1544,9 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); skein = callPackage ../development/libraries/haskell/skein {}; - smallcheck = callPackage ../development/libraries/haskell/smallcheck {}; + smallcheck_0_6_2 = callPackage ../development/libraries/haskell/smallcheck/0.6.2.nix {}; + smallcheck_1_0_1 = callPackage ../development/libraries/haskell/smallcheck/1.0.1.nix {}; + smallcheck = self.smallcheck_1_0_1; snap = callPackage ../development/libraries/haskell/snap/snap.nix {};