-
Notifications
You must be signed in to change notification settings - Fork 5
/
http-server.cabal
61 lines (51 loc) · 1.42 KB
/
http-server.cabal
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
name: http-server
version: 1.0.6
category: Network
synopsis: A library for writing Haskell web servers.
description: A library for writing Haskell web servers.
author: Galois, Inc.
maintainer: [email protected]
license: BSD3
license-file: LICENSE
homepage: https://github.com/GaloisInc/http-server
cabal-version: >= 1.6
build-type: Simple
extra-source-files:
example/README
example/*.js
example/*.hs
example/*.cabal
flag network-uri
description: Get Network.URI from the network-uri package
default: True
library
exposed-modules:
Network.HTTP.Server
Network.HTTP.Server.HtmlForm
Network.HTTP.Server.Logger
Network.HTTP.Server.Response
other-modules:
Network.HTTP.Server.Utils
extensions:
CPP
UndecidableInstances
build-depends:
HTTP >= 4000.2.0 && < 5000,
base >= 4 && < 5,
mime >= 0.3 && < 2,
url >= 2 && < 3,
utf8-string >= 0.3.4 && < 2,
text >= 1.0
if flag(network-uri)
build-depends: network-uri >= 2.6, network >= 2.6 && < 3
else
build-depends: network >= 2.4.0.0 && < 2.6
if !os(windows)
build-depends: unix >= 2 && < 3
CPP-options: -D_OS_UNIX
if impl(ghc >= 7.6.1)
CPP-options: -DNO_PRELUDE_CATCH
ghc-options: -Wall -O2
source-repository head
type: git
location: https://github.com/GaloisInc/http-server.git