httpd-shed-0.4.0.3: httpd-shed.cabal
Name: httpd-shed
Version: 0.4.0.3
Cabal-Version: >= 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: Andy Gill
Copyright: (c) 2009 Andy Gill
Build-Type: Simple
cabal-version: >= 1.6
Source-Repository head
Type: git
Location: https://github.com/andygill/httpd-shed/
Flag buildExamples
Description: Build example executables
Default: False
flag network-uri
description: Get Network.URI from the network-uri package
default: True
Library
if flag(network-uri)
build-depends: network-uri >= 2.6, network >= 2.6
else
build-depends: network-uri < 2.6, network < 2.6
Build-Depends:
network >=2.3 && <2.7,
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
If !flag(buildExamples)
Buildable: False
Main-Is: Main.hs
Hs-Source-Dirs: ., test