Merge pull request #2936 from sol/master

Add haskell-hspec-wai
This commit is contained in:
Shea Levy 2014-06-14 11:43:26 -04:00
commit 564c4515b1
3 changed files with 27 additions and 2 deletions

View file

@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "aeson-qq";
version = "0.7.0";
sha256 = "1sq34pnwiyf5lngqph4m463ijr185akzbrdi3i40zmqlrymssv3c";
version = "0.7.1";
sha256 = "1b2ham1h6mlm49ax9k2agf8yymbgkk094nq2apn703i2d9v00im6";
buildDepends = [ aeson haskellSrcMeta parsec text vector ];
testDepends = [ aeson hspec ];
meta = {

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 {};