summary refs log tree commit diff
path: root/pkgs/development/libraries/haskell/wai-app-static/default.nix
blob: 45dd5562a28b47302a6a27d4e54faa7b558c29ef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ cabal, base64Bytestring, blazeBuilder, blazeHtml, blazeMarkup
, byteable, cryptohash, cryptohashConduit, fileEmbed, filepath
, hspec, httpDate, httpTypes, mimeTypes, network
, optparseApplicative, systemFileio, systemFilepath, text, time
, transformers, unixCompat, unorderedContainers, wai, waiExtra
, waiTest, warp, zlib
}:

cabal.mkDerivation (self: {
  pname = "wai-app-static";
  version = "2.0.1";
  sha256 = "1mygyp70rmhnkc0s8626cxrkvcbil92v4gnx70iz26gfb5q9lc7d";
  isLibrary = true;
  isExecutable = true;
  buildDepends = [
    base64Bytestring blazeBuilder blazeHtml blazeMarkup byteable
    cryptohash cryptohashConduit fileEmbed filepath httpDate httpTypes
    mimeTypes optparseApplicative systemFileio systemFilepath text time
    transformers unixCompat unorderedContainers wai waiExtra warp 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 ];
  };
})