on wai-extra/0.2.2.1 help sign in
typeable/wai/wai-extra.cabal
51 lines 2.2 kB history raw
1Name: wai-extra
2Version: 0.2.2.1
3Synopsis: Provides some basic WAI handlers and middleware.
4Description: The goal here is to provide common features without many dependencies.
5License: BSD3
6License-file: LICENSE
7Author: Michael Snoyman
8Maintainer: michael@snoyman.com
9Homepage: http://github.com/snoyberg/wai-extra
10Category: Web
11Build-Type: Simple
12Cabal-Version: >=1.2
13Stability: Stable
14extra-source-files: cbits/crc32.h cbits/inffast.h cbits/inflate.h
15 cbits/trees.h cbits/deflate.h cbits/inffixed.h
16 cbits/inftrees.h cbits/zutil.h
18Library
19 Build-Depends: base >= 3 && < 5,
20 bytestring >= 0.9 && < 0.10,
21 wai >= 0.2.0 && < 0.3,
22 old-locale >= 1.0 && < 1.1,
23 time >= 1.1.4 && < 1.3,
24 sendfile >= 0.6.1 && < 0.7,
25 network >= 2.2.1.5 && < 2.3,
26 directory >= 1.0.1 && < 1.1,
27 utf8-string >= 0.3.4 && < 0.4
28 Exposed-modules: Network.Wai.Handler.CGI
29 Network.Wai.Handler.SimpleServer
30 Network.Wai.Middleware.CleanPath
31 Network.Wai.Middleware.Gzip
32 Network.Wai.Middleware.Jsonp
33 Network.Wai.Zlib
34 Network.Wai.Parse
35 Network.Wai.Handler.Helper
36 ghc-options: -Wall
37 c-sources: c/helper.c
38 include-dirs: c
39 -- Following lines and cbits folder taken from zlib package.
40 if !os(windows)
41 -- Normally we use the the standard system zlib:
42 extra-libraries: z
43 else
44 -- However for the benefit of users of Windows (which does not have zlib
45 -- by default) we bundle a complete copy of the C sources of zlib-1.2.3
46 c-sources: cbits/adler32.c cbits/compress.c cbits/crc32.c
47 cbits/deflate.c cbits/gzio.c cbits/infback.c
48 cbits/inffast.c cbits/inflate.c cbits/inftrees.c
49 cbits/trees.c cbits/uncompr.c cbits/zutil.c
50 include-dirs: cbits
51 install-includes: zlib.h zconf.h