From afe407545feaac9bd4bde8bb44c57bb5b2a838a9 Mon Sep 17 00:00:00 2001 From: aszlig Date: Wed, 12 Sep 2012 05:38:37 +0200 Subject: [PATCH] haskell-wai-test: New package, v1.3.0. ::::::: .||||||| /"""""""""". ,` `. | wai test? | | ,". .-, | ____) because! | | `-` `-' | `---------------' `. ,----. ,' `----./' Now guess what we have left? Just one single destination: , : .___. _ _ .___. ,'-.,-' ___ ,---' ,-. ,--: | | | | | | | | | :: ,'.,-' `--. : : : : | _ | :: `-,-- .--' `--' `--' | |_| | | I have to admit, that i got lazy wthi the ASCII drawings in this commit, but well... isn't this all about lazy ev Signed-off-by: aszlig --- .../libraries/haskell/wai-test/default.nix | 19 +++++++++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 21 insertions(+) create mode 100644 pkgs/development/libraries/haskell/wai-test/default.nix diff --git a/pkgs/development/libraries/haskell/wai-test/default.nix b/pkgs/development/libraries/haskell/wai-test/default.nix new file mode 100644 index 000000000000..0c9b8eb2eb81 --- /dev/null +++ b/pkgs/development/libraries/haskell/wai-test/default.nix @@ -0,0 +1,19 @@ +{ cabal, blazeBuilder, blazeBuilderConduit, caseInsensitive +, conduit, cookie, httpTypes, HUnit, text, transformers, wai +}: + +cabal.mkDerivation (self: { + pname = "wai-test"; + version = "1.3.0"; + sha256 = "15y0aw5c4sh1mns4ss39l0wsxrd1b6yq6m5r638x23zl6y7d9j40"; + buildDepends = [ + blazeBuilder blazeBuilderConduit caseInsensitive conduit cookie + httpTypes HUnit text transformers wai + ]; + meta = { + homepage = "http://www.yesodweb.com/book/wai"; + description = "Unit test framework (built on HUnit) for WAI applications"; + license = self.stdenv.lib.licenses.mit; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index e41d6031695b..49e076902dd1 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1590,6 +1590,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); waiLogger = callPackage ../development/libraries/haskell/wai-logger {}; + waiTest = callPackage ../development/libraries/haskell/wai-test {}; + warp = callPackage ../development/libraries/haskell/warp {}; WebBits_1_0 = callPackage ../development/libraries/haskell/WebBits/1.0.nix {