]> gitweb @ CieloNegro.org - Lucu.git/blob - Lucu.cabal
deed5971d63b8d7544dd07868cfded2fa665d898
[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         It's not 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 Version: 1.0
13 License: PublicDomain
14 License-File: COPYING
15 Author: PHO <pho at cielonegro dot org>
16 Maintainer: PHO <pho at cielonegro dot org>
17 Stability: experimental
18 Homepage: http://cielonegro.org/Lucu.html
19 Bug-Reports: http://static.cielonegro.org/ditz/Lucu/
20 Category: Network
21 Tested-With: GHC == 7.0.3
22 Cabal-Version: >= 1.6
23 Build-Type: Simple
24 Extra-Source-Files:
25     NEWS
26     examples/HelloWorld.hs
27     examples/Implanted.hs
28     examples/ImplantedSmall.hs
29     examples/Makefile
30     examples/Multipart.hs
31     examples/SSL.hs
32     examples/mise-rafturai.html
33     examples/small-file.txt
34
35 Source-Repository head
36     Type: git
37     Location: git://git.cielonegro.org/Lucu.git
38
39 Flag build-lucu-implant-file
40     Description: Build the lucu-implant-file program.
41     Default:     True
42
43 Library
44     Build-Depends:
45         HsOpenSSL                  == 0.10.*,
46         ascii                      == 0.0.*,
47         attoparsec                 == 0.9.*,
48         base                       == 4.*,
49         base-unicode-symbols       == 0.2.*,
50         base64-bytestring          == 0.1.*,
51         blaze-builder              == 0.3.*,
52         blaze-textual              == 0.2.*,
53         bytestring                 == 0.9.*,
54         containers                 == 0.4.*,
55         containers-unicode-symbols == 0.3.*,
56         filepath                   == 1.2.*,
57         hxt                        == 9.1.*,
58         mtl                        == 2.0.*,
59         network                    == 2.3.*,
60         stm                        == 2.2.*,
61         stringsearch               == 0.3.*,
62         template-haskell           == 2.5.*,
63         text                       == 0.11.*,
64         time                       == 1.2.*,
65         time-http                  == 0.2.*,
66         transformers               == 0.2.*,
67         unix                       == 2.4.*
68
69     Exposed-Modules:
70         Network.HTTP.Lucu
71         Network.HTTP.Lucu.Abortion
72         Network.HTTP.Lucu.Authentication
73         Network.HTTP.Lucu.Config
74         Network.HTTP.Lucu.ETag
75         Network.HTTP.Lucu.HttpVersion
76         Network.HTTP.Lucu.Httpd
77         Network.HTTP.Lucu.MIMEParams
78         Network.HTTP.Lucu.MIMEType
79         Network.HTTP.Lucu.MIMEType.DefaultExtensionMap
80         Network.HTTP.Lucu.MIMEType.Guess
81         Network.HTTP.Lucu.MIMEType.TH
82         Network.HTTP.Lucu.MultipartForm
83         Network.HTTP.Lucu.Parser.Http
84         Network.HTTP.Lucu.Parser
85         Network.HTTP.Lucu.Request
86         Network.HTTP.Lucu.Resource
87         Network.HTTP.Lucu.Resource.Tree
88         Network.HTTP.Lucu.Response
89         Network.HTTP.Lucu.StaticFile
90         Network.HTTP.Lucu.StatusCode
91         Network.HTTP.Lucu.Utils
92
93     Other-Modules:
94         Network.HTTP.Lucu.Abortion.Internal
95         Network.HTTP.Lucu.Chunk
96         Network.HTTP.Lucu.ContentCoding
97         Network.HTTP.Lucu.DefaultPage
98         Network.HTTP.Lucu.HandleLike
99         Network.HTTP.Lucu.Headers
100         Network.HTTP.Lucu.Interaction
101         Network.HTTP.Lucu.Postprocess
102         Network.HTTP.Lucu.Preprocess
103         Network.HTTP.Lucu.RequestReader
104         Network.HTTP.Lucu.Resource.Internal
105         Network.HTTP.Lucu.ResponseWriter
106         Network.HTTP.Lucu.SocketLike
107         Network.HTTP.Lucu.StatusCode.Internal
108
109     ghc-options:
110         -Wall
111
112 Executable lucu-implant-file
113     if flag(build-lucu-implant-file)
114         Buildable: True
115     else
116         Buildable: False
117
118     Main-Is: ImplantFile.hs
119
120     Build-Depends:
121         SHA              == 1.5.*,
122         haskell-src-exts == 1.11.*,
123         zlib             == 0.5.*
124
125     ghc-options:
126         -Wall