File: warp.cabal

package info (click to toggle)
haskell-warp 1.2.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 108 kB
  • sloc: haskell: 943; makefile: 3
file content (66 lines) | stat: -rw-r--r-- 2,467 bytes parent folder | download
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
Name:                warp
Version:             1.2.1.1
Synopsis:            A fast, light-weight web server for WAI applications.
License:             MIT
License-file:        LICENSE
Author:              Michael Snoyman, Matt Brown
Maintainer:          michael@snoyman.com
Homepage:            http://github.com/yesodweb/wai
Category:            Web, Yesod
Build-Type:          Simple
Cabal-Version:       >=1.8
Stability:           Stable
Description:         The premier WAI handler. For more information, see <http://steve.vinoski.net/blog/2011/05/01/warp-a-haskell-web-server/>.
extra-source-files:  test/main.hs

flag network-bytestring
    Default: False

Library
  Build-Depends:     base                      >= 3        && < 5
                   , bytestring                >= 0.9.1.4
                   , wai                       >= 1.2      && < 1.3
                   , transformers              >= 0.2.2    && < 0.4
                   , conduit                   >= 0.4      && < 0.5
                   , network-conduit           >= 0.4      && < 0.5
                   , blaze-builder-conduit     >= 0.4      && < 0.5
                   , lifted-base               >= 0.1      && < 0.2
                   , blaze-builder             >= 0.2.1.4  && < 0.4
                   , simple-sendfile           >= 0.2.2    && < 0.3
                   , http-types                >= 0.6      && < 0.7
                   , case-insensitive          >= 0.2
                   , unix-compat               >= 0.2
                   , ghc-prim
  if flag(network-bytestring)
      build-depends: network               >= 2.2.1.5 && < 2.2.3
                   , network-bytestring    >= 0.1.3   && < 0.1.4
  else
      build-depends: network               >= 2.3     && < 2.4
  Exposed-modules:   Network.Wai.Handler.Warp
  Other-modules:     Timeout
                     ReadInt
                     Paths_warp
  ghc-options:       -Wall
  if os(windows)
      Cpp-options: -DWINDOWS

test-suite test
    main-is: main.hs
    hs-source-dirs: test
    type: exitcode-stdio-1.0

    ghc-options:   -Wall
    build-depends: base >= 4 && < 5
                 , HUnit
                 , hspec
                 , bytestring
                 , warp
                 , conduit
                 , network
                 , http-types
                 , transformers
                 , wai

source-repository head
  type:     git
  location: git://github.com/yesodweb/wai.git