cgi-3001.3.0.1: cgi.cabal
Name: cgi
Version: 3001.3.0.1
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.9,
xhtml >= 3000.0.0 && < 3000.3,
bytestring < 0.11,
base >= 4.5 && < 5,
time >= 1.5 && < 1.7,
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.9
--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