]> gitweb @ CieloNegro.org - Lucu.git/blob - Lucu.cabal
Data.URI.Scheme
[Lucu.git] / Lucu.cabal
1 Name:          Lucu
2 Synopsis:      Embedded HTTP Server
3 Description:
4     .
5     Lucu is an embedded HTTP server library.
6     .
7     This isn't a replacement for Apache nor lighttpd. It is intended
8     to be used to build an efficient web-based RESTful application
9     which runs behind a reverse-proxy so it doesn't have some
10     functionalities like logging, client filtering and such.
11     .
12     The library has indeed so many exposed modules, but in general
13     you don't need to import any modules other than
14     "Network.HTTP.Lucu".
15     .
16 Version:       1.0
17 License:       PublicDomain
18 License-File:  COPYING
19 Author:        PHO <pho at cielonegro dot org>
20 Maintainer:    PHO <pho at cielonegro dot org>
21 Stability:     experimental
22 Homepage:      http://cielonegro.org/Lucu.html
23 Bug-Reports:   http://static.cielonegro.org/ditz/Lucu/
24 Category:      Network
25 Tested-With:   GHC == 7.0.3
26 Cabal-Version: >= 1.6
27 Build-Type:    Simple
28 Extra-Source-Files:
29     NEWS
30     examples/HelloWorld.hs
31     examples/Implanted.hs
32     examples/ImplantedSmall.hs
33     examples/Makefile
34     examples/Multipart.hs
35     examples/SSL.hs
36     examples/mise-rafturai.html
37     examples/small-file.txt
38
39 Source-Repository head
40     Type: git
41     Location: git://git.cielonegro.org/Lucu.git
42
43 Flag build-lucu-implant-file
44     Description: Build the lucu-implant-file program.
45     Default:     True
46
47 Flag ssl
48     Description: Enable SSL support.
49     Default:     False
50
51 Library
52     Build-Depends:
53         arrow-list                 == 0.2.*,
54         ascii                      == 0.0.*,
55         attempt                    == 0.3.*,
56         attoparsec                 == 0.10.*,
57         base                       == 4.*,
58         base-unicode-symbols       == 0.2.*,
59         base64-bytestring          == 0.1.*,
60         blaze-builder              == 0.3.*,
61         blaze-html                 == 0.4.*,
62         bytestring                 == 0.9.*,
63         case-insensitive           == 0.4.*,
64         collections-api            == 1.0.*,
65         collections-base-instances == 1.0.*,
66         containers                 == 0.4.*,
67         convertible-ascii          == 0.1.*,
68         convertible-text           == 0.4.*,
69         data-default               == 0.3.*,
70         directory                  == 1.1.*,
71         filepath                   == 1.2.*,
72         hashable                   == 1.1.*,
73         mtl                        == 2.0.*,
74         network                    == 2.3.*,
75         old-time                   == 1.0.*,
76         stm                        == 2.2.*,
77         stringsearch               == 0.3.*,
78         syb                        == 0.3.*,
79         tagged                     == 0.2.*,
80         template-haskell           == 2.5.*,
81         text                       == 0.11.*,
82         time                       == 1.2.*,
83         time-http                  == 0.5.*,
84         transformers               == 0.2.*
85
86     if flag(ssl)
87         Build-Depends:
88             HsOpenSSL == 0.10.*
89         CPP-Options:
90             -DHAVE_SSL
91
92     Exposed-Modules:
93         Data.URI
94         Data.Collections.Newtype.TH
95         Network.HTTP.Lucu
96         Network.HTTP.Lucu.Abortion
97         Network.HTTP.Lucu.Authentication
98         Network.HTTP.Lucu.Config
99         Network.HTTP.Lucu.Dispatcher
100         Network.HTTP.Lucu.ETag
101         Network.HTTP.Lucu.HandleLike
102         Network.HTTP.Lucu.Headers
103         Network.HTTP.Lucu.HttpVersion
104         Network.HTTP.Lucu.Httpd
105         Network.HTTP.Lucu.Implant
106         Network.HTTP.Lucu.Implant.PrettyPrint
107         Network.HTTP.Lucu.Implant.Rewrite
108         Network.HTTP.Lucu.MIMEParams
109         Network.HTTP.Lucu.MIMEType
110         Network.HTTP.Lucu.MIMEType.DefaultExtensionMap
111         Network.HTTP.Lucu.MIMEType.Guess
112         Network.HTTP.Lucu.MultipartForm
113         Network.HTTP.Lucu.Parser.Http
114         Network.HTTP.Lucu.Parser
115         Network.HTTP.Lucu.Request
116         Network.HTTP.Lucu.Resource
117         Network.HTTP.Lucu.Response
118         Network.HTTP.Lucu.Response.StatusCode
119         Network.HTTP.Lucu.Router
120         Network.HTTP.Lucu.SocketLike
121         Network.HTTP.Lucu.StaticFile
122         Network.HTTP.Lucu.Utils
123
124     Other-Modules:
125         Data.URI.Internal.Scheme
126         Network.HTTP.Lucu.Abortion.Internal
127         Network.HTTP.Lucu.Chunk
128         Network.HTTP.Lucu.ContentCoding
129         Network.HTTP.Lucu.DefaultPage
130         Network.HTTP.Lucu.Dispatcher.Internal
131         Network.HTTP.Lucu.Interaction
132         Network.HTTP.Lucu.MIMEParams.Internal
133         Network.HTTP.Lucu.OrphanInstances
134         Network.HTTP.Lucu.Postprocess
135         Network.HTTP.Lucu.Preprocess
136         Network.HTTP.Lucu.RequestReader
137         Network.HTTP.Lucu.Resource.Internal
138         Network.HTTP.Lucu.Response.StatusCode.Internal
139         Network.HTTP.Lucu.ResponseWriter
140
141     ghc-options:
142         -Wall
143
144 Executable lucu-implant-file
145     if flag(build-lucu-implant-file)
146         Buildable: True
147     else
148         Buildable: False
149
150     Main-Is: ImplantFile.hs
151
152     Build-Depends:
153         SHA  == 1.5.*,
154         zlib == 0.5.*
155
156     ghc-options:
157         -Wall -rtsopts