forked from jaspervdj/websockets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
websockets.cabal
147 lines (130 loc) · 4.42 KB
/
websockets.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
147
Name: websockets
Version: 0.9.6.2
Synopsis:
A sensible and clean way to write WebSocket-capable servers in Haskell.
Description:
This library allows you to write WebSocket-capable servers.
.
An example server:
<https://github.com/jaspervdj/websockets/blob/master/example/server.lhs>
.
An example client:
<https://github.com/jaspervdj/websockets/blob/master/example/client.hs>
.
See also:
.
* The specification of the WebSocket protocol:
<http://www.whatwg.org/specs/web-socket-protocol/>
.
* The JavaScript API for dealing with WebSockets:
<http://www.w3.org/TR/websockets/>
License: BSD3
License-file: LICENCE
Copyright: (c) 2010-2011 Siniša Biđin
(c) 2011-2013 Jasper Van der Jeugt
(c) 2011 Steffen Schuldenzucker
(c) 2011 Alex Lang
Author: Siniša Biđin <[email protected]>
Jasper Van der Jeugt <[email protected]>
Steffen Schuldenzucker <[email protected]>
Alex Lang <[email protected]>
Maintainer: Jasper Van der Jeugt <[email protected]>
Stability: experimental
Category: Network
Build-type: Simple
Cabal-version: >= 1.8
Homepage: http://jaspervdj.be/websockets
Bug-reports: https://github.com/jaspervdj/websockets/issues
Extra-source-files:
CHANGELOG
Flag Example
Description: Build the example server
Default: False
Manual: True
Library
Hs-source-dirs: src
Ghc-options: -Wall
Exposed-modules:
Network.WebSockets
Network.WebSockets.Connection
Network.WebSockets.Stream
-- Network.WebSockets.Util.PubSub TODO
Other-modules:
Network.WebSockets.Client
Network.WebSockets.Http
Network.WebSockets.Hybi13
Network.WebSockets.Hybi13.Demultiplex
Network.WebSockets.Hybi13.Mask
Network.WebSockets.Protocol
Network.WebSockets.Server
Network.WebSockets.Types
Build-depends:
attoparsec >= 0.10 && < 0.14,
base >= 4.4 && < 5,
base64-bytestring >= 0.1 && < 1.1,
binary >= 0.5 && < 0.9,
blaze-builder >= 0.3 && < 0.5,
bytestring >= 0.9 && < 0.11,
case-insensitive >= 0.3 && < 1.3,
containers >= 0.3 && < 0.6,
network >= 2.3 && < 2.7,
random >= 1.0 && < 1.2,
SHA >= 1.5 && < 1.7,
text >= 0.10 && < 1.3,
entropy >= 0.2.1 && < 0.4
Test-suite websockets-tests
Type: exitcode-stdio-1.0
Hs-source-dirs: src tests/haskell
Main-is: TestSuite.hs
Ghc-options: -Wall
Other-modules:
Network.WebSockets.Handshake.Tests
Network.WebSockets.Http.Tests
Network.WebSockets.Server.Tests
Network.WebSockets.Tests
Network.WebSockets.Tests.Util
Build-depends:
HUnit >= 1.2 && < 1.4,
QuickCheck >= 2.7 && < 2.9,
test-framework >= 0.4 && < 0.9,
test-framework-hunit >= 0.2 && < 0.4,
test-framework-quickcheck2 >= 0.2 && < 0.4,
-- Copied from regular dependencies...
attoparsec >= 0.10 && < 0.14,
base >= 4 && < 5,
base64-bytestring >= 0.1 && < 1.1,
binary >= 0.5 && < 0.9,
blaze-builder >= 0.3 && < 0.5,
bytestring >= 0.9 && < 0.11,
case-insensitive >= 0.3 && < 1.3,
containers >= 0.3 && < 0.6,
network >= 2.3 && < 2.7,
random >= 1.0 && < 1.2,
SHA >= 1.5 && < 1.7,
text >= 0.10 && < 1.3,
entropy >= 0.2.1 && < 0.4
Executable websockets-example
If !flag(Example)
Buildable: False
Hs-source-dirs: example
Main-is: server.lhs
Ghc-options: -Wall
Build-depends:
websockets,
-- Copied from regular dependencies...
attoparsec >= 0.10 && < 0.14,
base >= 4 && < 5,
base64-bytestring >= 0.1 && < 1.1,
binary >= 0.5 && < 0.9,
blaze-builder >= 0.3 && < 0.5,
bytestring >= 0.9 && < 0.11,
case-insensitive >= 0.3 && < 1.3,
containers >= 0.3 && < 0.6,
network >= 2.3 && < 2.7,
random >= 1.0 && < 1.2,
SHA >= 1.5 && < 1.7,
text >= 0.10 && < 1.3,
entropy >= 0.2.1 && < 0.4
Source-repository head
Type: git
Location: https://github.com/jaspervdj/websockets