mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 07:04:28 +00:00
30 lines
1.1 KiB
Nix
30 lines
1.1 KiB
Nix
{ cabal, base64Bytestring, blazeBuilder, blazeHtml, blazeMarkup
|
|
, cereal, cryptoApi, cryptoConduit, cryptohashCryptoapi, fileEmbed
|
|
, filepath, hspec, httpDate, httpTypes, mimeTypes, network
|
|
, systemFileio, systemFilepath, text, time, transformers
|
|
, unixCompat, unorderedContainers, wai, waiTest, zlib
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "wai-app-static";
|
|
version = "2.0.0.2";
|
|
sha256 = "0d9afs50r08k9zgz7vvh7fvamcvhm8hf4qxca4w0xi7pcj1vql0r";
|
|
buildDepends = [
|
|
base64Bytestring blazeBuilder blazeHtml blazeMarkup cereal
|
|
cryptoApi cryptoConduit cryptohashCryptoapi fileEmbed filepath
|
|
httpDate httpTypes mimeTypes systemFileio systemFilepath text time
|
|
transformers unixCompat unorderedContainers wai zlib
|
|
];
|
|
testDepends = [
|
|
hspec httpDate httpTypes mimeTypes network text time transformers
|
|
unixCompat wai waiTest zlib
|
|
];
|
|
meta = {
|
|
homepage = "http://www.yesodweb.com/book/web-application-interface";
|
|
description = "WAI application for static serving";
|
|
license = self.stdenv.lib.licenses.mit;
|
|
platforms = self.ghc.meta.platforms;
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
|
};
|
|
})
|