2012-08-09 12:10:53 +02:00
|
|
|
{ cabal, base64Bytestring, blazeBuilder, blazeHtml, blazeMarkup
|
2014-03-27 13:17:51 +01: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 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";
|
2014-03-27 13:17:51 +01:00
|
|
|
version = "2.0.1";
|
|
|
|
sha256 = "1mygyp70rmhnkc0s8626cxrkvcbil92v4gnx70iz26gfb5q9lc7d";
|
2014-03-21 18:47:09 +01:00
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
2011-08-10 01:00:20 +02:00
|
|
|
buildDepends = [
|
2014-03-19 11:45:36 +01:00
|
|
|
base64Bytestring blazeBuilder blazeHtml blazeMarkup byteable
|
2014-03-27 13:17:51 +01:00
|
|
|
cryptohash cryptohashConduit fileEmbed filepath httpDate httpTypes
|
|
|
|
mimeTypes optparseApplicative systemFileio systemFilepath text time
|
2014-03-21 18:47:09 +01:00
|
|
|
transformers unixCompat unorderedContainers wai waiExtra warp zlib
|
2011-08-08 00:51:22 +02:00
|
|
|
];
|
2013-02-24 22:09:07 +01:00
|
|
|
testDepends = [
|
|
|
|
hspec httpDate httpTypes mimeTypes network text time transformers
|
2013-09-12 18:11:43 +02:00
|
|
|
unixCompat wai waiTest zlib
|
2013-02-24 22:09:07 +01: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 15:21:17 +02:00
|
|
|
meta = {
|
2013-02-18 11:11:16 +01:00
|
|
|
homepage = "http://www.yesodweb.com/book/web-application-interface";
|
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;
|
2013-05-11 00:36:36 +02:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2011-08-08 00:51:22 +02:00
|
|
|
};
|
|
|
|
})
|