diff options
author | Shea Levy <shea@shealevy.com> | 2014-02-06 14:16:28 -0500 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2014-02-06 14:16:28 -0500 |
commit | f4c4f121cb4c07f628d5260a5f85cf63ae6b3289 (patch) | |
tree | 90213312f2a4a86c471602b7dc8b497a99f5bb9b /pkgs/development/libraries/haskell | |
parent | 15282d8228b0b9f216c02f057ea90288e70f9b7f (diff) |
Add wai-middleware-static haskell package
Signed-off-by: Shea Levy <shea@shealevy.com>
Diffstat (limited to 'pkgs/development/libraries/haskell')
-rw-r--r-- | pkgs/development/libraries/haskell/wai-middleware-static/default.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pkgs/development/libraries/haskell/wai-middleware-static/default.nix b/pkgs/development/libraries/haskell/wai-middleware-static/default.nix new file mode 100644 index 0000000000000..859c75c39c3d1 --- /dev/null +++ b/pkgs/development/libraries/haskell/wai-middleware-static/default.nix @@ -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; + }; +}) |