-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathtoxcore.cabal
More file actions
246 lines (235 loc) · 5.83 KB
/
toxcore.cabal
File metadata and controls
246 lines (235 loc) · 5.83 KB
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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
name: toxcore
synopsis: A Tox protocol implementation in Haskell
version: 0.2.12
cabal-version: >=1.10
license: GPL-3
license-file: LICENSE
build-type: Simple
author: iphy
maintainer: iphy
copyright: Copyright (c) 2016-2020 The TokTok Team
homepage: https://toktok.ltd
category: Network
description: A Tox protocol implementation in Haskell
source-repository head
type: git
location: https://github.com/TokTok/hs-toxcore
flag library-only
description: Build only library, no executables or tests.
default: False
flag webservice
description: Build the toxsave parser webservice.
default: True
library
default-language: Haskell2010
hs-source-dirs: src
ghc-options: -Wall
exposed-modules:
Tox.Application.GroupChat
Tox.Application.GroupChatPackets
Tox.Application.LegacyGroup
Tox.Conduit.DHT
Tox.Conduit.Encoding
Tox.Conduit.Network
Tox.Core.Bits
Tox.Core.Bits.Get
Tox.Core.Bits.Put
Tox.Core.PingArray
Tox.Core.Time
Tox.Core.Timed
Tox.Core.TypeName
Tox.Crypto.Core
Tox.Crypto.Core.Box
Tox.Crypto.Core.CombinedKey
Tox.Crypto.Core.Hash
Tox.Crypto.Core.Key
Tox.Crypto.Core.KeyPair
Tox.Crypto.Core.Keyed
Tox.Crypto.Core.MonadRandomBytes
Tox.Crypto.Core.Nonce
Tox.DHT
Tox.DHT.ClientList
Tox.DHT.ClientNode
Tox.DHT.DhtPacket
Tox.DHT.DhtRequestPacket
Tox.DHT.DhtState
Tox.DHT.Distance
Tox.DHT.KBuckets
Tox.DHT.Node
Tox.DHT.NodeList
Tox.DHT.NodesRequest
Tox.DHT.NodesResponse
Tox.DHT.Operation
Tox.DHT.PendingReplies
Tox.DHT.PingPacket
Tox.DHT.RpcPacket
Tox.DHT.Stamped
Tox.Network.Core
Tox.Network.Core.Backend
Tox.Network.Core.Encoding
Tox.Network.Core.HostAddress
Tox.Network.Core.Networked
Tox.Network.Core.NodeInfo
Tox.Network.Core.Packet
Tox.Network.Core.PacketKind
Tox.Network.Core.PortNumber
Tox.Network.Core.Protocol
Tox.Network.Core.SocketAddress
Tox.Network.Core.TimedT
Tox.Network.Core.TransportProtocol
Tox.Network.Discovery.LAN
Tox.Network.TCP.Client
Tox.Network.TCP.Connections
Tox.Network.TCP.Server
Tox.Onion.Path
Tox.Onion.RPC
Tox.Onion.Tunnel
Tox.Persistence
Tox.Persistence.Bytes
Tox.Persistence.Conferences
Tox.Persistence.DHT
Tox.Persistence.Friend
Tox.Persistence.Groups
Tox.Persistence.Nodes
Tox.Persistence.Util
Tox.Session.Connection
Tox.Session.Friend
Tox.Toxcore
Tox.Transport.Reliability
Tox.Transport.SecureSession
Tox.Transport.SecureSession.Manager
Tox.Transport.Stream
build-depends:
base <5
, base16-bytestring >=1
, binary
, bytestring
, clock >=0.3 && <0.8.4.0
, conduit
, conduit-extra
, containers
, entropy
, integer-gmp
, iproute
, lens-family
, monad-validate
, MonadRandom
, msgpack-arbitrary
, msgpack-binary >=0.0.12
, msgpack-types
, mtl
, network
, QuickCheck >=2.9.1
, random <1.3
, saltine >=0.2
, transformers
executable toxsave-convert
default-language: Haskell2010
hs-source-dirs: tools
ghc-options: -Wall
main-is: toxsave-convert.hs
build-depends:
base <5
, binary
, bytestring
, groom
, text
, toxcore
executable webservice
main-is: webservice.hs
ghc-options: -Wall
hs-source-dirs: web
default-language: Haskell2010
other-modules: Tox.App
if flag(library-only) || !flag(webservice)
buildable: False
build-depends:
base >=4 && <5
, binary
, bytestring
, groom
, msgpack-binary
, QuickCheck
, servant >=0.5
, servant-server >=0.5
, toxcore
, wai
, wai-cors
, warp
test-suite testsuite
default-language: Haskell2010
type: exitcode-stdio-1.0
hs-source-dirs: test
ghc-options: -Wall
main-is: testsuite.hs
other-modules:
Data.Result
Tox.Core.Bits.GetSpec
Tox.Core.Bits.PutSpec
Tox.Core.BitsSpec
Tox.Core.TimeSpec
Tox.Crypto.Core.BoxSpec
Tox.Crypto.Core.CombinedKeySpec
Tox.Crypto.Core.KeyPairSpec
Tox.Crypto.Core.KeySpec
Tox.Crypto.Core.MonadRandomBytesSpec
Tox.Crypto.Core.NonceSpec
Tox.Crypto.CoreSpec
Tox.DHT.ClientListSpec
Tox.DHT.ClientNodeSpec
Tox.DHT.DhtPacketSpec
Tox.DHT.DhtRequestPacketSpec
Tox.DHT.DhtStateSpec
Tox.DHT.DistanceSpec
Tox.DHT.KBucketsSpec
Tox.DHT.NodeListSpec
Tox.DHT.NodeSpec
Tox.DHT.NodesRequestSpec
Tox.DHT.NodesResponseSpec
Tox.DHT.OperationSpec
Tox.DHT.PendingRepliesSpec
Tox.DHT.PingPacketSpec
Tox.DHT.RpcPacketSpec
Tox.DHT.StampedSpec
Tox.DHTSpec
Tox.Network.Core.EncodingSpec
Tox.Network.Core.HostAddressSpec
Tox.Network.Core.NodeInfoSpec
Tox.Network.Core.PacketKindSpec
Tox.Network.Core.PacketSpec
Tox.Network.Core.PortNumberSpec
Tox.Network.Core.ProtocolSpec
Tox.Network.Core.SocketAddressSpec
Tox.Network.Core.TransportProtocolSpec
Tox.Onion.PathSpec
Tox.Onion.RPCSpec
Tox.Onion.TunnelSpec
Tox.Persistence.BytesSpec
Tox.Persistence.ConferencesSpec
Tox.Persistence.DHTSpec
Tox.Persistence.FriendSpec
Tox.Persistence.GroupsSpec
Tox.Persistence.NodesSpec
Tox.PersistenceSpec
Tox.Transport.ReliabilitySpec
Tox.Transport.SecureSessionSpec
Tox.Transport.StreamSpec
build-tool-depends: hspec-discover:hspec-discover
build-depends:
async
, base <5
, binary
, bytestring
, clock
, containers
, hspec
, monad-validate
, MonadRandom
, msgpack-binary
, msgpack-types >=0.2 && <0.4
, mtl
, QuickCheck
, random
, saltine
, text
, toxcore