diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2014-06-15 17:55:35 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2014-06-15 17:55:35 +0200 |
commit | 9757785295b95aa67d0c824dae73721fe47e7d5b (patch) | |
tree | 9dfebfef885900bc44d537d13b6c08c807262c67 /pkgs/development/libraries/haskell/hspec-wai/default.nix | |
parent | de12094b0e97e36485a26abce86a014d4bddd0de (diff) | |
parent | 0d71d2b631a1c31763806e6878c88db9f0a53e52 (diff) | |
download | nixlib-9757785295b95aa67d0c824dae73721fe47e7d5b.tar nixlib-9757785295b95aa67d0c824dae73721fe47e7d5b.tar.gz nixlib-9757785295b95aa67d0c824dae73721fe47e7d5b.tar.bz2 nixlib-9757785295b95aa67d0c824dae73721fe47e7d5b.tar.lz nixlib-9757785295b95aa67d0c824dae73721fe47e7d5b.tar.xz nixlib-9757785295b95aa67d0c824dae73721fe47e7d5b.tar.zst nixlib-9757785295b95aa67d0c824dae73721fe47e7d5b.zip |
Merge recent master
Diffstat (limited to 'pkgs/development/libraries/haskell/hspec-wai/default.nix')
-rw-r--r-- | pkgs/development/libraries/haskell/hspec-wai/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
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 000000000000..639aa484dfae --- /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; + }; +}) |