File: wai-app-file-cgi.cabal

package info (click to toggle)
haskell-wai-app-file-cgi 3.1.10-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 200 kB
  • sloc: haskell: 995; sh: 18; makefile: 3
file content (107 lines) | stat: -rw-r--r-- 4,311 bytes parent folder | download | duplicates (2)
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
Name:                   wai-app-file-cgi
Version:                3.1.10
Author:                 Kazu Yamamoto <kazu@iij.ad.jp>
Maintainer:             Kazu Yamamoto <kazu@iij.ad.jp>
License:                BSD3
License-File:           LICENSE
Synopsis:               File/CGI/Rev Proxy App of WAI
Description:            This WAI application library handles static files,
                        executes CGI scripts, and serves as a reverse proxy
                        (including EventSource).
Homepage:               http://www.mew.org/~kazu/proj/mighttpd/
Category:               Web, Yesod
Cabal-Version:          >= 1.10
Build-Type:             Simple
Extra-Source-Files:     test/cgi-bin/broken
                        test/cgi-bin/echo-env
                        test/data/post
                        test/html/index.html
                        test/html/ja/index.html.ja
                        test/html/no_extension
                        test/html/redirect/index.html
Library
  Default-Language:     Haskell2010
  GHC-Options:          -Wall
  Exposed-Modules:      Network.Wai.Application.Classic
  Other-Modules:        Network.Wai.Application.Classic.CGI
                        Network.Wai.Application.Classic.Conduit
                        Network.Wai.Application.Classic.Def
                        Network.Wai.Application.Classic.EventSource
                        Network.Wai.Application.Classic.Field
                        Network.Wai.Application.Classic.File
                        Network.Wai.Application.Classic.FileInfo
                        Network.Wai.Application.Classic.Header
                        Network.Wai.Application.Classic.Lang
                        Network.Wai.Application.Classic.Path
                        Network.Wai.Application.Classic.Redirect
                        Network.Wai.Application.Classic.Status
                        Network.Wai.Application.Classic.Types
                        Network.Wai.Application.Classic.RevProxy

  Build-Depends:        base >= 4.9 && < 5
                      , array
                      , attoparsec >= 0.10.0.0
                      , bytestring
                      , case-insensitive
                      , conduit >= 1.1
                      , conduit-extra
                      , containers
                      , data-default-class
                      , directory
                      , filepath
                      , http-client >= 0.5
                      , http-conduit >= 2.1
                      , http-date
                      , http-types >= 0.7
                      , mime-types
                      , network
                      , process
                      , sockaddr
                      , static-hash
                      , text
                      , transformers
                      , unix
                      , wai >= 3.2 && < 3.3
                      , wai-conduit
                      , warp >= 3.3 && < 3.4
                      , word8
  if impl(ghc >= 8)
    Default-Extensions:  Strict StrictData

Test-Suite doctest
  Type:                 exitcode-stdio-1.0
  Default-Language:     Haskell2010
  HS-Source-Dirs:       test
  Ghc-Options:          -threaded -Wall
  Main-Is:              doctests.hs
  Build-Depends:        base >= 4.9 && < 5
                      , doctest >= 0.9.3
  if impl(ghc >= 8)
    Default-Extensions:  Strict StrictData

Test-Suite spec
  Type:                 exitcode-stdio-1.0
  Default-Language:     Haskell2010
  HS-Source-Dirs:       test
  Ghc-Options:          -threaded -Wall
  Main-Is:              Spec.hs
  Other-Modules:        ClassicSpec
  Build-Depends:        base >= 4.9 && < 5
                      , bytestring
                      , conduit >= 1.1
                      , conduit-extra
                      , directory
                      , filepath
                      , hspec >= 1.3
                      , http-types
                      , unix
                      , wai >= 3.2 && < 3.3
                      , wai-app-file-cgi
                      , warp >= 3.3 && < 3.4
                      , HTTP
  if impl(ghc >= 8)
    Default-Extensions:  Strict StrictData

Source-Repository head
  Type:                 git
  Location:             git://github.com/kazu-yamamoto/wai-app-file-cgi