forked from cheecheeo/haskell-cgi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcgi.cabal
More file actions
89 lines (79 loc) · 2.09 KB
/
cgi.cabal
File metadata and controls
89 lines (79 loc) · 2.09 KB
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
Name: cgi
Version: 3001.4.0.0
Copyright: Bjorn Bringert, John Chee, Andy Gill, Anders Kaseorg,
Ian Lynagh, Erik Meijer, Sven Panne, Jeremy Shaw
Category: Network
Maintainer: John Chee <cheecheeo@gmail.com>
Author: Bjorn Bringert
Homepage: https://github.com/cheecheeo/haskell-cgi
bug-reports: https://github.com/cheecheeo/haskell-cgi/issues
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
extra-source-files: CHANGELOG.md
Cabal-Version: >=1.8
source-repository head
type: git
location: git://github.com/cheecheeo/haskell-cgi.git
Flag network-uri
description: Get Network.URI from the network-uri package
default: True
Flag old-mtl
description: Use mtl-compat and mtl < 2.2.0.1
default: False
Library
Exposed-Modules:
Network.CGI,
Network.CGI.Monad,
Network.CGI.Protocol,
Network.CGI.Cookie,
Network.CGI.Compat
Other-modules:
Network.CGI.Accept
Extensions:
CPP,
MultiParamTypeClasses
ghc-options: -Wall
Build-depends:
parsec >= 2.0 && < 3.2,
exceptions < 0.11,
xhtml >= 3000.0.0 && < 3000.3,
bytestring < 0.11,
base >= 4.5 && < 5,
time >= 1.5 && < 1.9,
containers < 0.6,
multipart >= 0.1.2 && < 0.2
If flag(network-uri)
Build-depends: network-uri == 2.6.*, network == 2.6.*
Else
Build-depends: network < 2.6
If flag(old-mtl)
Build-depends:
mtl>=2.1.3.1 && < 2.3, mtl-compat >= 0.2.1.1 && < 0.3
Else
Build-depends:
mtl>=2.2.1 && < 2.3
test-suite doctests
type: exitcode-stdio-1.0
ghc-options: -threaded
main-is: DocTestMain.hs
other-modules:
DocTest
hs-source-dirs: src
ghc-options: -Wall
build-depends:
base
, doctest >= 0.8 && < 0.12
, QuickCheck >= 2.8.1 && < 2.10
--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