Add wai-middleware-static haskell package

Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
Shea Levy 2014-02-06 14:16:28 -05:00
parent 15282d8228
commit f4c4f121cb
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,14 @@
{ cabal, filepath, httpTypes, mtl, text, wai }:
cabal.mkDerivation (self: {
pname = "wai-middleware-static";
version = "0.4.0.2";
sha256 = "0nw54h8baphjdwsd118g9j5w4g2mnb2hrny0n4ih4jlqlcqam3lf";
buildDepends = [ filepath httpTypes mtl text wai ];
meta = {
homepage = "https://github.com/scotty-web/scotty";
description = "WAI middleware that intercepts requests to static files";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -2480,6 +2480,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
waiLogger = callPackage ../development/libraries/haskell/wai-logger {};
waiMiddlewareStatic = callPackage ../development/libraries/haskell/wai-middleware-static {};
waiTest = callPackage ../development/libraries/haskell/wai-test {};
warp = callPackage ../development/libraries/haskell/warp {};