From 8a134745de8e81282c6aaedb33940244246df1b0 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 29 Mar 2013 16:41:26 +0100 Subject: [PATCH] haskell-hspec-expectations: add version 0.3.2 --- .../{default.nix => 0.3.0.3.nix} | 0 .../haskell/hspec-expectations/0.3.2.nix | 17 +++++++++++++++++ pkgs/top-level/haskell-packages.nix | 4 +++- 3 files changed, 20 insertions(+), 1 deletion(-) rename pkgs/development/libraries/haskell/hspec-expectations/{default.nix => 0.3.0.3.nix} (100%) create mode 100644 pkgs/development/libraries/haskell/hspec-expectations/0.3.2.nix diff --git a/pkgs/development/libraries/haskell/hspec-expectations/default.nix b/pkgs/development/libraries/haskell/hspec-expectations/0.3.0.3.nix similarity index 100% rename from pkgs/development/libraries/haskell/hspec-expectations/default.nix rename to pkgs/development/libraries/haskell/hspec-expectations/0.3.0.3.nix diff --git a/pkgs/development/libraries/haskell/hspec-expectations/0.3.2.nix b/pkgs/development/libraries/haskell/hspec-expectations/0.3.2.nix new file mode 100644 index 000000000000..52defb43e4cb --- /dev/null +++ b/pkgs/development/libraries/haskell/hspec-expectations/0.3.2.nix @@ -0,0 +1,17 @@ +{ cabal, hspec, HUnit, markdownUnlit, silently }: + +cabal.mkDerivation (self: { + pname = "hspec-expectations"; + version = "0.3.2"; + sha256 = "0962wlngqck0wc7mcby9bzci1s8d9a91vsm39rnab5wifhc2c6xi"; + buildDepends = [ HUnit ]; + testDepends = [ hspec HUnit markdownUnlit silently ]; + doCheck = false; + meta = { + homepage = "https://github.com/sol/hspec-expectations#readme"; + description = "Catchy combinators for HUnit"; + license = self.stdenv.lib.licenses.mit; + platforms = self.ghc.meta.platforms; + maintainers = [ self.stdenv.lib.maintainers.simons ]; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 37fe7cbe281c..70f6aac74301 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1109,7 +1109,9 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); hspec = callPackage ../development/libraries/haskell/hspec {}; - hspecExpectations = callPackage ../development/libraries/haskell/hspec-expectations {}; + hspecExpectations_0_3_0_3 = callPackage ../development/libraries/haskell/hspec-expectations/0.3.0.3.nix {}; + hspecExpectations_0_3_2 = callPackage ../development/libraries/haskell/hspec-expectations/0.3.2.nix {}; + hspecExpectations = self.hspecExpectations_0_3_0_3; hspecMeta = callPackage ../development/libraries/haskell/hspec-meta {};