forked from TokTok/hs-toxcore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
toxcore.cabal
201 lines (190 loc) · 5.07 KB
/
toxcore.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
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
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:
Data.Binary.Bits
Data.Binary.Bits.Get
Data.Binary.Bits.Put
Network.Tox
Network.Tox.Application.GroupChats
Network.Tox.Binary
Network.Tox.Crypto
Network.Tox.Crypto.Box
Network.Tox.Crypto.CombinedKey
Network.Tox.Crypto.Key
Network.Tox.Crypto.Keyed
Network.Tox.Crypto.KeyedT
Network.Tox.Crypto.KeyPair
Network.Tox.Crypto.Nonce
Network.Tox.DHT
Network.Tox.DHT.ClientList
Network.Tox.DHT.ClientNode
Network.Tox.DHT.DhtPacket
Network.Tox.DHT.DhtRequestPacket
Network.Tox.DHT.DhtState
Network.Tox.DHT.Distance
Network.Tox.DHT.KBuckets
Network.Tox.DHT.NodeList
Network.Tox.DHT.NodesRequest
Network.Tox.DHT.NodesResponse
Network.Tox.DHT.Operation
Network.Tox.DHT.PendingReplies
Network.Tox.DHT.PingPacket
Network.Tox.DHT.RpcPacket
Network.Tox.DHT.Stamped
Network.Tox.Encoding
Network.Tox.Network.MonadRandomBytes
Network.Tox.Network.Networked
Network.Tox.NodeInfo
Network.Tox.NodeInfo.HostAddress
Network.Tox.NodeInfo.NodeInfo
Network.Tox.NodeInfo.PortNumber
Network.Tox.NodeInfo.SocketAddress
Network.Tox.NodeInfo.TransportProtocol
Network.Tox.Protocol
Network.Tox.Protocol.Packet
Network.Tox.Protocol.PacketKind
Network.Tox.SaveData
Network.Tox.SaveData.Bytes
Network.Tox.SaveData.Conferences
Network.Tox.SaveData.DHT
Network.Tox.SaveData.Friend
Network.Tox.SaveData.Groups
Network.Tox.SaveData.Nodes
Network.Tox.SaveData.Util
Network.Tox.Time
Network.Tox.Timed
Network.Tox.TimedT
Network.Tox.TypeName
build-depends:
base <5
, base16-bytestring >=1
, binary
, bytestring
, clock >=0.3 && <0.8.4.0
, 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: Network.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
Network.Tox.Crypto.BoxSpec
Network.Tox.Crypto.CombinedKeySpec
Network.Tox.Crypto.KeyPairSpec
Network.Tox.Crypto.KeySpec
Network.Tox.Crypto.NonceSpec
Network.Tox.CryptoSpec
Network.Tox.DHT.ClientListSpec
Network.Tox.DHT.DhtPacketSpec
Network.Tox.DHT.DhtRequestPacketSpec
Network.Tox.DHT.DhtStateSpec
Network.Tox.DHT.DistanceSpec
Network.Tox.DHT.KBucketsSpec
Network.Tox.DHT.NodesRequestSpec
Network.Tox.DHT.NodesResponseSpec
Network.Tox.DHT.OperationSpec
Network.Tox.DHT.PendingRepliesSpec
Network.Tox.DHT.PingPacketSpec
Network.Tox.DHT.RpcPacketSpec
Network.Tox.DHTSpec
Network.Tox.EncodingSpec
Network.Tox.NodeInfo.HostAddressSpec
Network.Tox.NodeInfo.NodeInfoSpec
Network.Tox.NodeInfo.PortNumberSpec
Network.Tox.NodeInfo.SocketAddressSpec
Network.Tox.NodeInfo.TransportProtocolSpec
Network.Tox.NodeInfoSpec
Network.Tox.Protocol.PacketKindSpec
Network.Tox.Protocol.PacketSpec
Network.Tox.ProtocolSpec
Network.Tox.SaveDataSpec
build-tool-depends: hspec-discover:hspec-discover
build-depends:
async
, base <5
, binary
, bytestring
, containers
, hspec
, monad-validate
, msgpack-binary
, msgpack-types >=0.2 && <0.4
, mtl
, QuickCheck
, saltine
, text
, toxcore