From fb5c721cbead4d01120ee6f78431d0a9c6faa521 Mon Sep 17 00:00:00 2001 From: aszlig Date: Wed, 12 Sep 2012 05:17:44 +0200 Subject: [PATCH] haskell-hspec-expectations: New package, v0.3.0.2. Let's continue our trip into the ancient realms of yesod-test: .---- yesod-test -------. | | | | | | hspec wai-test html-conduit -. | | | filesystem-conduit | | tagstream-conduit `. . .`-___ ' ' ' `- ` `-'-'._, , ' ______ `', ''' '' `-(o,-` `. , ,'hspec, `' ) ,'' ,' __.-,,_,._,-,,' ,-', expectations `-,===,-'-,-'-,====='-, ,'''' ' `,,==-,-'-,-======,-'---' ,' -,-,-,-,,_ `-,__ '', ` ' ' ' /'/' `-,-.__`-,' )' Signed-off-by: aszlig --- .../haskell/hspec-expectations/default.nix | 14 ++++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 16 insertions(+) create mode 100644 pkgs/development/libraries/haskell/hspec-expectations/default.nix diff --git a/pkgs/development/libraries/haskell/hspec-expectations/default.nix b/pkgs/development/libraries/haskell/hspec-expectations/default.nix new file mode 100644 index 000000000000..bd2d4d290eef --- /dev/null +++ b/pkgs/development/libraries/haskell/hspec-expectations/default.nix @@ -0,0 +1,14 @@ +{ cabal, HUnit }: + +cabal.mkDerivation (self: { + pname = "hspec-expectations"; + version = "0.3.0.2"; + sha256 = "1jwwi4pbv0pc88vdg5y0ljjq41sha4v4y5qaxi6qms7rl6cp4qkr"; + buildDepends = [ HUnit ]; + 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; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index eabe79f14ca7..cd502e2f6d20 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -940,6 +940,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); hsloggerTemplate = callPackage ../development/libraries/haskell/hslogger-template {}; + hspecExpectations = callPackage ../development/libraries/haskell/hspec-expectations {}; + hsyslog = callPackage ../development/libraries/haskell/hsyslog {}; html_1_0_1_2 = callPackage ../development/libraries/haskell/html/1.0.1.2.nix {};