summary refs log tree commit diff
path: root/pkgs/development/libraries/haskell/warp
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2013-02-24 22:09:07 +0100
committerPeter Simons <simons@cryp.to>2013-02-25 00:32:40 +0100
commita30df956918aab12b7e83539ca98dafa9a829af4 (patch)
tree981222687f44e0b24f1cbdd095127c4c6e630b49 /pkgs/development/libraries/haskell/warp
parentd0bfd6936e640db813c21d6c6fc34421ff49e941 (diff)
downloadnixpkgs-a30df956918aab12b7e83539ca98dafa9a829af4.tar
nixpkgs-a30df956918aab12b7e83539ca98dafa9a829af4.tar.gz
nixpkgs-a30df956918aab12b7e83539ca98dafa9a829af4.tar.bz2
nixpkgs-a30df956918aab12b7e83539ca98dafa9a829af4.tar.lz
nixpkgs-a30df956918aab12b7e83539ca98dafa9a829af4.tar.xz
nixpkgs-a30df956918aab12b7e83539ca98dafa9a829af4.tar.zst
nixpkgs-a30df956918aab12b7e83539ca98dafa9a829af4.zip
Re-generate all Haskell packages with the latest version of cabal2nix.
This change brings support for building and running the regressions test suites.
Diffstat (limited to 'pkgs/development/libraries/haskell/warp')
-rw-r--r--pkgs/development/libraries/haskell/warp/default.nix10
1 files changed, 8 insertions, 2 deletions
diff --git a/pkgs/development/libraries/haskell/warp/default.nix b/pkgs/development/libraries/haskell/warp/default.nix
index 290e60ff3b7..d924d4f38b0 100644
--- a/pkgs/development/libraries/haskell/warp/default.nix
+++ b/pkgs/development/libraries/haskell/warp/default.nix
@@ -1,6 +1,7 @@
 { cabal, blazeBuilder, blazeBuilderConduit, caseInsensitive
-, conduit, hashable, httpTypes, liftedBase, network, networkConduit
-, simpleSendfile, transformers, unixCompat, void, wai
+, conduit, hashable, hspec, httpTypes, HUnit, liftedBase, network
+, networkConduit, QuickCheck, simpleSendfile, transformers
+, unixCompat, void, wai
 }:
 
 cabal.mkDerivation (self: {
@@ -12,6 +13,11 @@ cabal.mkDerivation (self: {
     httpTypes liftedBase network networkConduit simpleSendfile
     transformers unixCompat void wai
   ];
+  testDepends = [
+    blazeBuilder blazeBuilderConduit caseInsensitive conduit hashable
+    hspec httpTypes HUnit liftedBase network networkConduit QuickCheck
+    simpleSendfile transformers unixCompat void wai
+  ];
   meta = {
     homepage = "http://github.com/yesodweb/wai";
     description = "A fast, light-weight web server for WAI applications";