2012-08-09 12:10:53 +02:00
|
|
|
{ cabal, base64Bytestring, blazeBuilder, blazeHtml, blazeMarkup
|
|
|
|
, cereal, cryptoConduit, cryptohash, fileEmbed, httpDate, httpTypes
|
|
|
|
, mimeTypes, systemFileio, systemFilepath, text, time, transformers
|
2012-02-16 15:05:41 +01:00
|
|
|
, unixCompat, wai
|
2011-08-10 01:00:20 +02:00
|
|
|
}:
|
2011-08-08 00:51:22 +02:00
|
|
|
|
2011-08-10 01:00:20 +02:00
|
|
|
cabal.mkDerivation (self: {
|
2011-08-08 00:51:22 +02:00
|
|
|
pname = "wai-app-static";
|
2012-08-09 12:10:53 +02:00
|
|
|
version = "1.3.0";
|
|
|
|
sha256 = "1xsjq0xip9anbd4cpami8w6d2p0pdp375hzw1jx6pvajjmkjksqn";
|
2011-08-10 01:00:20 +02:00
|
|
|
buildDepends = [
|
2012-08-09 12:10:53 +02:00
|
|
|
base64Bytestring blazeBuilder blazeHtml blazeMarkup cereal
|
|
|
|
cryptoConduit cryptohash fileEmbed httpDate httpTypes mimeTypes
|
|
|
|
systemFileio systemFilepath text time transformers unixCompat wai
|
2011-08-08 00:51:22 +02:00
|
|
|
];
|
2012-08-23 17:37:40 +02:00
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e 's|, base64-bytestring.*|, base64-bytestring|' wai-app-static.cabal
|
|
|
|
'';
|
|
|
|
meta = {
|
2011-08-29 22:27:47 +02:00
|
|
|
homepage = "http://www.yesodweb.com/book/wai";
|
2011-08-08 00:51:22 +02:00
|
|
|
description = "WAI application for static serving";
|
2012-04-09 14:37:39 +02:00
|
|
|
license = self.stdenv.lib.licenses.mit;
|
2011-08-09 11:54:50 +02:00
|
|
|
platforms = self.ghc.meta.platforms;
|
2012-03-24 11:21:28 +01:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2011-08-08 00:51:22 +02:00
|
|
|
};
|
|
|
|
})
|