2014-02-06 20:16:28 +01:00
|
|
|
{ cabal, filepath, httpTypes, mtl, text, wai }:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "wai-middleware-static";
|
2014-03-26 09:51:02 +01:00
|
|
|
version = "0.5.0.0";
|
|
|
|
sha256 = "0mvsm1ff7i2v09gchkc60r8klin1lb0w690m2kwhf9q6y7fxphdf";
|
2014-02-06 20:16:28 +01:00
|
|
|
buildDepends = [ filepath httpTypes mtl text wai ];
|
2014-03-15 09:15:41 +01:00
|
|
|
jailbreak = true;
|
2014-02-06 20:16:28 +01:00
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/scotty-web/scotty";
|
2014-03-26 09:51:02 +01:00
|
|
|
description = "WAI middleware that serves requests to static files";
|
2014-02-06 20:16:28 +01:00
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
};
|
|
|
|
})
|