2012-08-09 11:10:53 +01:00
|
|
|
{ cabal, base64Bytestring, blazeBuilder, blazeHtml, blazeMarkup
|
2014-03-27 12:17:51 +00:00
|
|
|
, byteable, cryptohash, cryptohashConduit, fileEmbed, filepath
|
|
|
|
, hspec, httpDate, httpTypes, mimeTypes, network
|
|
|
|
, optparseApplicative, systemFileio, systemFilepath, text, time
|
|
|
|
, transformers, unixCompat, unorderedContainers, wai, waiExtra
|
|
|
|
, waiTest, warp, zlib
|
2011-08-10 00:00:20 +01:00
|
|
|
}:
|
2011-08-07 23:51:22 +01:00
|
|
|
|
2011-08-10 00:00:20 +01:00
|
|
|
cabal.mkDerivation (self: {
|
2011-08-07 23:51:22 +01:00
|
|
|
pname = "wai-app-static";
|
2014-03-27 12:17:51 +00:00
|
|
|
version = "2.0.1";
|
|
|
|
sha256 = "1mygyp70rmhnkc0s8626cxrkvcbil92v4gnx70iz26gfb5q9lc7d";
|
2014-03-21 17:47:09 +00:00
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
2011-08-10 00:00:20 +01:00
|
|
|
buildDepends = [
|
2014-03-19 10:45:36 +00:00
|
|
|
base64Bytestring blazeBuilder blazeHtml blazeMarkup byteable
|
2014-03-27 12:17:51 +00:00
|
|
|
cryptohash cryptohashConduit fileEmbed filepath httpDate httpTypes
|
|
|
|
mimeTypes optparseApplicative systemFileio systemFilepath text time
|
2014-03-21 17:47:09 +00:00
|
|
|
transformers unixCompat unorderedContainers wai waiExtra warp zlib
|
2011-08-07 23:51:22 +01:00
|
|
|
];
|
2013-02-24 21:09:07 +00:00
|
|
|
testDepends = [
|
|
|
|
hspec httpDate httpTypes mimeTypes network text time transformers
|
2013-09-12 17:11:43 +01:00
|
|
|
unixCompat wai waiTest zlib
|
2013-02-24 21:09:07 +00:00
|
|
|
];
|
Use jailbreak to get rid of overspecified version restrictions to fix
builds of Agda, accelerate-cuda, clientsession, filestore, ghc-events,
gitit, happstack, happstack, happstack, hledger-lib, hledger, mime-mail,
pandoc, snap, wai-app-static, yesod-static, and urlencoded.
2012-09-06 14:21:17 +01:00
|
|
|
meta = {
|
2013-02-18 10:11:16 +00:00
|
|
|
homepage = "http://www.yesodweb.com/book/web-application-interface";
|
2011-08-07 23:51:22 +01:00
|
|
|
description = "WAI application for static serving";
|
2012-04-09 13:37:39 +01:00
|
|
|
license = self.stdenv.lib.licenses.mit;
|
2011-08-09 10:54:50 +01:00
|
|
|
platforms = self.ghc.meta.platforms;
|
2013-05-10 23:36:36 +01:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2011-08-07 23:51:22 +01:00
|
|
|
};
|
|
|
|
})
|