Add haskell-hspec-wai

This commit is contained in:
Simon Hengel 2014-06-14 15:13:40 +08:00
parent 315016197a
commit 8a396ee56a
2 changed files with 25 additions and 0 deletions

View File

@ -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;
};
})

View File

@ -1160,6 +1160,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
hspec = callPackage ../development/libraries/haskell/hspec {};
hspecWai = callPackage ../development/libraries/haskell/hspec-wai {};
hspec2 = callPackage ../development/libraries/haskell/hspec2 {};
hspecExpectations = callPackage ../development/libraries/haskell/hspec-expectations {};