forked from andygill/httpd-shed
-
Notifications
You must be signed in to change notification settings - Fork 4
/
httpd-shed.cabal
60 lines (53 loc) · 1.72 KB
/
httpd-shed.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
Name: httpd-shed
Version: 0.4.1.2
License: BSD3
License-File: LICENSE
Author: Andy Gill, Brandon Moore, Henning Thielemann, John Van Enk.
Category: Network, Web
Synopsis: A simple web-server with an interact style API
Description:
This web server promotes a Request to IO Response function
into a local web server. The user can decide how to interpret
the requests, and the library is intended for implementing Ajax APIs.
Maintainer: Ganesh Sittampalam
Copyright: (c) 2009 Andy Gill
Build-Type: Simple
cabal-version: >= 1.10
Source-Repository head
Type: git
Location: https://github.com/hsenag/httpd-shed/
Flag buildExamples
Description: Build example executables
Default: False
flag network-uri
description: Get Network.URI from the network-uri package
default: True
flag network-bsd
description: Get Network.BSD from the network-bsd package
default: True
Library
default-language: Haskell2010
if flag(network-uri)
build-depends: network-uri >= 2.6, network >= 2.6
else
build-depends: network-uri < 2.6, network < 2.6
if flag(network-bsd)
build-depends: network-bsd >= 2.7 && < 2.9,
network >= 2.7
else
build-depends: network < 2.7
Build-Depends:
network >=2.3 && <3.3,
network-uri >=2.5 && <2.7,
base >= 4.0 && <5.0
Ghc-Options: -Wall
Exposed-modules:
Network.Shed.Httpd
-- Trivial test; we need real tests!
Executable httpd-shed-test
default-language: Haskell2010
If !flag(buildExamples)
Buildable: False
build-depends: base, httpd-shed, network, network-uri, network-bsd
Main-Is: Main.hs
Hs-Source-Dirs: test