on wai-extra/0.1.3.1 help sign in
typeable/wai/wai-extra.cabal
50 lines 2.2 kB history raw
1Name: wai-extra
2Version: 0.1.3.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.0.0 && < 0.2,
22 old-locale >= 1.0 && < 1.1,
23 time >= 1.1.4 && < 1.2,
24 sendfile >= 0.6.1 && < 0.7,
25 network >= 2.2.1.5 && < 2.3,
26 directory >= 1.0.1 && < 1.1
27 Exposed-modules: Network.Wai.Handler.CGI
28 Network.Wai.Handler.SimpleServer
29 Network.Wai.Middleware.CleanPath
30 Network.Wai.Middleware.Gzip
31 Network.Wai.Middleware.Jsonp
32 Network.Wai.Zlib
33 Network.Wai.Parse
34 Other-modules: Network.Wai.Handler.Helper
35 ghc-options: -Wall
36 c-sources: c/helper.c
37 include-dirs: c
38 -- Following lines and cbits folder taken from zlib package.
39 if !os(windows)
40 -- Normally we use the the standard system zlib:
41 extra-libraries: z
42 else
43 -- However for the benefit of users of Windows (which does not have zlib
44 -- by default) we bundle a complete copy of the C sources of zlib-1.2.3
45 c-sources: cbits/adler32.c cbits/compress.c cbits/crc32.c
46 cbits/deflate.c cbits/gzio.c cbits/infback.c
47 cbits/inffast.c cbits/inflate.c cbits/inftrees.c
48 cbits/trees.c cbits/uncompr.c cbits/zutil.c
49 include-dirs: cbits
50 install-includes: zlib.h zconf.h