From 8a396ee56a6d832fee3450d3b64300c6cbc311d4 Mon Sep 17 00:00:00 2001 From: Simon Hengel Date: Sat, 14 Jun 2014 15:13:40 +0800 Subject: Add haskell-hspec-wai --- .../libraries/haskell/hspec-wai/default.nix | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pkgs/development/libraries/haskell/hspec-wai/default.nix (limited to 'pkgs/development') diff --git a/pkgs/development/libraries/haskell/hspec-wai/default.nix b/pkgs/development/libraries/haskell/hspec-wai/default.nix new file mode 100644 index 00000000000..639aa484dfa --- /dev/null +++ b/pkgs/development/libraries/haskell/hspec-wai/default.nix @@ -0,0 +1,23 @@ +{ cabal, aeson, aesonQq, caseInsensitive, doctest, hspec2 +, hspecMeta, httpTypes, markdownUnlit, scotty, text, transformers +, wai, waiExtra +}: + +cabal.mkDerivation (self: { + pname = "hspec-wai"; + version = "0.2.0"; + sha256 = "1hykc6k3kkjzz0x16i6ijcavsxfc003sp7fwvg2v9pzpmf9rfhhd"; + buildDepends = [ + aeson aesonQq caseInsensitive hspec2 httpTypes text transformers + wai waiExtra + ]; + testDepends = [ + aeson caseInsensitive doctest hspec2 hspecMeta httpTypes + markdownUnlit scotty text transformers wai waiExtra + ]; + meta = { + description = "Experimental Hspec support for testing WAI applications (depends on hspec2!)"; + license = self.stdenv.lib.licenses.mit; + platforms = self.ghc.meta.platforms; + }; +}) -- cgit 1.4.1