2014-02-06 19:16:28 +00:00
|
|
|
{ cabal, filepath, httpTypes, mtl, text, wai }:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "wai-middleware-static";
|
2014-03-20 08:38:53 +00:00
|
|
|
version = "0.4.0.3";
|
|
|
|
sha256 = "0nvzdj04g10bcay6x4y5l7gxx38gs3ns0izair8n1j1awrp8px07";
|
2014-02-06 19:16:28 +00:00
|
|
|
buildDepends = [ filepath httpTypes mtl text wai ];
|
2014-03-15 08:15:41 +00:00
|
|
|
jailbreak = true;
|
2014-02-06 19:16:28 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
})
|