]> gitweb @ CieloNegro.org - Lucu.git/blob - Lucu.cabal
Make use of mimeType quasi-quoter.
[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     ImplantFile.hs
26     NEWS
27     data/CompileMimeTypes.hs
28     data/Makefile
29     data/mime.types
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 Library
48     Build-Depends:
49         HsOpenSSL                  == 0.10.*,
50         ascii                      == 0.0.*,
51         attoparsec                 == 0.9.*,
52         base                       == 4.*,
53         base-unicode-symbols       == 0.2.*,
54         base64-bytestring          == 0.1.*,
55         blaze-builder              == 0.3.*,
56         blaze-textual              == 0.2.*,
57         bytestring                 == 0.9.*,
58         containers                 == 0.4.*,
59         containers-unicode-symbols == 0.3.*,
60         filepath                   == 1.2.*,
61         haskell-src-exts           == 1.11.*,
62         hxt                        == 9.1.*,
63         mtl                        == 2.0.*,
64         network                    == 2.3.*,
65         stm                        == 2.2.*,
66         stringsearch               == 0.3.*,
67         template-haskell           == 2.5.*,
68         text                       == 0.11.*,
69         time                       == 1.2.*,
70         time-http                  == 0.2.*,
71         transformers               == 0.2.*,
72         unix                       == 2.4.*
73
74     Exposed-Modules:
75         Network.HTTP.Lucu
76         Network.HTTP.Lucu.Abortion
77         Network.HTTP.Lucu.Authentication
78         Network.HTTP.Lucu.Config
79         Network.HTTP.Lucu.ETag
80         Network.HTTP.Lucu.HttpVersion
81         Network.HTTP.Lucu.Httpd
82         Network.HTTP.Lucu.MIMEParams
83         Network.HTTP.Lucu.MIMEType
84         Network.HTTP.Lucu.MIMEType.DefaultExtensionMap
85         Network.HTTP.Lucu.MIMEType.Guess
86         Network.HTTP.Lucu.MIMEType.TH
87         Network.HTTP.Lucu.MultipartForm
88         Network.HTTP.Lucu.Parser.Http
89         Network.HTTP.Lucu.Parser
90         Network.HTTP.Lucu.Request
91         Network.HTTP.Lucu.Resource
92         Network.HTTP.Lucu.Resource.Tree
93         Network.HTTP.Lucu.Response
94         Network.HTTP.Lucu.StaticFile
95         Network.HTTP.Lucu.Utils
96
97     Other-Modules:
98         Network.HTTP.Lucu.Abortion.Internal
99         Network.HTTP.Lucu.Chunk
100         Network.HTTP.Lucu.ContentCoding
101         Network.HTTP.Lucu.DefaultPage
102         Network.HTTP.Lucu.HandleLike
103         Network.HTTP.Lucu.Headers
104         Network.HTTP.Lucu.Interaction
105         Network.HTTP.Lucu.Postprocess
106         Network.HTTP.Lucu.Preprocess
107         Network.HTTP.Lucu.RequestReader
108         Network.HTTP.Lucu.Resource.Internal
109         Network.HTTP.Lucu.ResponseWriter
110         Network.HTTP.Lucu.SocketLike
111
112     ghc-options:
113         -Wall
114
115 Executable lucu-implant-file
116     if flag(build-lucu-implant-file)
117         Buildable: True
118     else
119         Buildable: False
120
121     Main-Is: ImplantFile.hs
122
123     Build-Depends:
124         SHA  == 1.5.*,
125         zlib == 0.5.*
126
127     ghc-options:
128         -Wall
129
130 --Executable HelloWorld
131 --    Main-Is: HelloWorld.hs
132 --    Hs-Source-Dirs: ., examples
133 --    ghc-options: -fglasgow-exts -Wall -funbox-strict-fields -O3 -prof -auto-all
134
135 --Executable Multipart
136 --    Main-Is: Multipart.hs
137 --    Hs-Source-Dirs: ., examples
138 --    ghc-options: -XBangPatterns -fglasgow-exts -Wall -funbox-strict-fields -prof -auto-all