-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathhappstack-server.cabal
146 lines (136 loc) · 5.9 KB
/
happstack-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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
Name: happstack-server
Version: 7.9.2.1
Synopsis: Web related tools and services.
Description: Happstack Server provides an HTTP server and a rich set of functions for routing requests, handling query parameters, generating responses, working with cookies, serving files, and more. For in-depth documentation see the Happstack Crash Course <http://happstack.com/docs/crashcourse/index.html>
License: BSD3
License-file: COPYING
Author: Happstack team, HAppS LLC
Maintainer: Happstack team <[email protected]>
homepage: http://happstack.com
Category: Web, Happstack
Build-Type: Simple
Cabal-Version: >= 1.10
Extra-Source-Files: tests/Happstack/Server/Tests.hs README.md
tested-with:
GHC == 9.8.2
GHC == 9.6.3
GHC == 9.4.7
GHC == 9.2.8
GHC == 9.0.2
GHC == 8.10.7
GHC == 8.8.4
GHC == 8.6.5
GHC == 8.4.4
GHC == 8.2.2
GHC == 8.0.2
source-repository head
type: git
location: https://github.com/Happstack/happstack-server.git
flag network-uri
description: Get Network.URI from the network-uri package
default: True
Library
Default-language: Haskell2010
Exposed-modules:
Happstack.Server
Happstack.Server.Auth
Happstack.Server.Cookie
Happstack.Server.Compression
Happstack.Server.Error
Happstack.Server.FileServe
Happstack.Server.FileServe.BuildingBlocks
Happstack.Server.I18N
Happstack.Server.Internal.Compression
Happstack.Server.Internal.Cookie
Happstack.Server.Internal.Handler
Happstack.Server.Internal.Types
Happstack.Server.Internal.Listen
Happstack.Server.Internal.LowLevel
Happstack.Server.Internal.LogFormat
Happstack.Server.Internal.MessageWrap
Happstack.Server.Internal.Multipart
Happstack.Server.Internal.RFC822Headers
Happstack.Server.Internal.Socket
Happstack.Server.Internal.TimeoutIO
Happstack.Server.Internal.TimeoutManager
Happstack.Server.Internal.TimeoutSocket
Happstack.Server.Internal.Monads
Happstack.Server.Monads
Happstack.Server.Response
Happstack.Server.Routing
Happstack.Server.RqData
Happstack.Server.SURI
Happstack.Server.SimpleHTTP
Happstack.Server.Types
Happstack.Server.Validation
Other-modules:
Happstack.Server.Internal.Clock
Happstack.Server.Internal.LazyLiner
Happstack.Server.SURI.ParseURI
Paths_happstack_server
if flag(network-uri)
build-depends: network >= 3.0.0 && < 3.3,
network-uri >= 2.6 && < 2.7
else
build-depends: network < 2.6
Build-Depends: base >= 4 && < 5,
base64-bytestring >= 1.0 && < 1.3,
blaze-html >= 0.5 && < 0.10,
bytestring,
containers,
directory >=1.2,
exceptions,
extensible-exceptions,
filepath,
hslogger >= 1.0.2,
html,
monad-control >= 1.0 && < 1.1,
mtl >= 2.2 && < 2.4,
old-locale,
parsec < 4,
process,
sendfile >= 0.7.1 && < 0.8,
system-filepath >= 0.3.1,
syb,
text >= 0.10 && < 2.2,
time,
threads >= 0.5,
transformers >= 0.1.3 && < 0.7,
transformers-base >= 0.4 && < 0.5,
transformers-compat >= 0.3 && < 0.8,
utf8-string >= 0.3.4 && < 1.1,
xhtml < 3000.4,
zlib
hs-source-dirs: src
if !os(windows)
Build-Depends: unix
cpp-options: -DUNIX
if impl(ghc < 8.6)
Default-Extensions: MonadFailDesugaring
Other-Extensions: DeriveDataTypeable, MultiParamTypeClasses,
TypeFamilies, FlexibleContexts,
FlexibleInstances, UndecidableInstances,
ScopedTypeVariables, TypeSynonymInstances, PatternGuards
CPP, ForeignFunctionInterface
ghc-options: -Wall -fwarn-tabs
-- The policy is to support GHC versions no older than the GHC stable
-- branch that was used by the latest Haskell Platform release
-- available 18 months ago. In order to avoid people spending time
-- keeping the build working for older versions, we tell Cabal that
-- it shouldn't allow builds with them.
if impl(ghc < 8.0)
buildable: False
Test-Suite happstack-server-tests
Default-language: Haskell2010
Type: exitcode-stdio-1.0
Main-Is: Test.hs
Other-Modules: Happstack.Server.Tests
GHC-Options: -threaded
hs-source-dirs: tests
Build-depends: HUnit,
base >= 4 && < 5,
bytestring,
containers,
happstack-server,
parsec < 4,
zlib