File: cgi.cabal

package info (click to toggle)
haskell-cgi 3001.5.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 164 kB
  • sloc: haskell: 818; makefile: 6
file content (108 lines) | stat: -rw-r--r-- 2,990 bytes parent folder | download
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
108
name:               cgi
version:            3001.5.0.0
synopsis:           A library for writing CGI programs
description:        This is a Haskell library for writing CGI programs.
license:            BSD3
license-file:       LICENSE
copyright:          Bjorn Bringert, John Chee, Andy Gill, Anders Kaseorg,
                    Ian Lynagh, Erik Meijer, Sven Panne, Jeremy Shaw, Peter Simons
author:             Bjorn Bringert
maintainer:         John Chee <cheecheeo@gmail.com>, Peter Simons <simons@cryp.to>
tested-with:        GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.5, GHC == 8.8.1
category:           Network
homepage:           https://github.com/cheecheeo/haskell-cgi
bug-reports:        https://github.com/cheecheeo/haskell-cgi/issues
build-type:         Simple
extra-source-files: README.md
                    CHANGELOG.md
cabal-version:      >= 1.8

source-repository head
  type:     git
  location: git://github.com/cheecheeo/haskell-cgi.git

flag install-examples
  default:     False
  description: compile (and install) the example programs

library
  exposed-modules:  Network.CGI
                    Network.CGI.Cookie
                    Network.CGI.Monad
                    Network.CGI.Protocol
  other-modules:    Network.CGI.Accept
  hs-source-dirs:   src
  build-depends:    base        >= 4.9 && < 5
                  , bytestring  < 0.11
                  , containers  < 0.7
                  , exceptions  == 0.10.*
                  , mtl         > 2.2.0.1 && < 2.3
                  , multipart   >= 0.1.2 && < 0.3
                  , network-uri == 2.6.*
                  , parsec      >= 2.0 && < 3.2
                  , time        >= 1.5 && < 1.10
                  , xhtml       >= 3000.0.0 && < 3000.3
  other-extensions: MultiParamTypeClasses

executable cookie.cgi
  main-is:        cookie.hs
  hs-source-dirs: examples

  if flag(install-examples)
    build-depends: base, cgi, xhtml
  else
    buildable: False

executable error.cgi
  main-is:        error.hs
  hs-source-dirs: examples

  if flag(install-examples)
    build-depends: base, cgi
  else
    buildable: False

executable hello.cgi
  main-is:        hello.hs
  hs-source-dirs: examples

  if flag(install-examples)
    build-depends: base, cgi
  else
    buildable: False

executable printinput.cgi
  main-is:        printinput.hs
  hs-source-dirs: examples

  if flag(install-examples)
    build-depends: base, cgi
  else
    buildable: False

executable redirect.cgi
  main-is:        redirect.hs
  hs-source-dirs: examples

  if flag(install-examples)
    build-depends: base, cgi
  else
    buildable: False

executable showAllInputs.cgi
  main-is:        showAllInputs.hs
  hs-source-dirs: examples

  if flag(install-examples)
    build-depends: base, cgi
  else
    buildable: False

executable upload.cgi
  main-is:        upload.hs
  hs-source-dirs: examples

  if flag(install-examples)
    build-depends: base, bytestring, cgi, xhtml
  else
    buildable: False