2014-02-06 19:16:28 +00:00
|
|
|
{ cabal, filepath, httpTypes, mtl, text, wai }:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "wai-middleware-static";
|
2014-03-26 08:51:02 +00:00
|
|
|
version = "0.5.0.0";
|
|
|
|
sha256 = "0mvsm1ff7i2v09gchkc60r8klin1lb0w690m2kwhf9q6y7fxphdf";
|
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";
|
2014-03-26 08:51:02 +00:00
|
|
|
description = "WAI middleware that serves requests to static files";
|
2014-02-06 19:16:28 +00:00
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
};
|
|
|
|
})
|