cgi-3001.2.2.2: cgi.cabal
Name: cgi
Version: 3001.2.2.2
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
Cabal-Version: >=1.6
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,
old-time < 1.2,
old-locale < 1.1,
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
--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