-
Notifications
You must be signed in to change notification settings - Fork 7
/
cgi.cabal
67 lines (60 loc) · 1.55 KB
/
cgi.cabal
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: cgi
Version: 3001.1.8.5
Copyright: Bjorn Bringert, Andy Gill, Anders Kaseorg, Ian Lynagh,
Erik Meijer, Sven Panne, Jeremy Shaw
Category: Network
Maintainer: Anders Kaseorg <andersk@mit.edu>
Author: Bjorn Bringert
Homepage: http://andersk.mit.edu/haskell/cgi/
License: BSD3
License-file: LICENSE
Synopsis: A library for writing CGI programs
Description:
This is a Haskell library for writing CGI programs.
Build-Type: Simple
Cabal-Version: >=1.2
Flag split-base
Flag bytestring-in-base
Flag extensible-exceptions-in-base
Library
Exposed-Modules:
Network.CGI,
Network.CGI.Monad,
Network.CGI.Protocol,
Network.CGI.Cookie,
Network.CGI.Compat
Other-modules:
Network.CGI.Accept,
Network.CGI.Multipart,
Network.CGI.Header
Extensions:
CPP,
MultiParamTypeClasses
ghc-options: -Wall
Build-depends:
network >= 2.0,
parsec >= 2.0,
mtl >= 1.0,
MonadCatchIO-mtl,
xhtml >= 3000.0.0
If flag(split-base)
Build-depends: base >= 3 && < 5, old-time, old-locale, containers
Else
Build-depends: base < 3
If flag(bytestring-in-base)
Build-depends: base >= 2 && < 3
Else
Build-depends: base < 2 || < 5, bytestring
If flag(extensible-exceptions-in-base)
Build-depends: base >= 4
Else
Build-depends: base < 4, extensible-exceptions
--Executable: printinput
--Main-Is: printinput.hs
--Hs-Source-Dir: examples
--Executable: redirect
--Main-Is: redirect.hs
--Hs-Source-Dir: examples
--Executable: upload
--Main-Is: upload.hs
--Hs-Source-Dir: examples