-
Notifications
You must be signed in to change notification settings - Fork 0
/
wire-cli.cabal
236 lines (229 loc) · 8.17 KB
/
wire-cli.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
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
cabal-version: 2.4
-- Initial package description 'wire-cli.cabal' generated by 'cabal init'.
-- For further documentation, see http://haskell.org/cabal/users-guide/
name: wire-cli
version: 0.1.0.0
-- synopsis:
-- description:
-- bug-reports:
-- license:
license-file: LICENSE
author: Akshay Mankar
maintainer: akshay@wire.com
-- copyright:
-- category:
build-type: Simple
extra-source-files: CHANGELOG.md
common shared-properties
default-language: Haskell2010
build-depends: base >=4.12 && <5
ghc-options: -Wall
default-extensions: DataKinds
, FlexibleContexts
, GADTs
, LambdaCase
, PolyKinds
, RankNTypes
, ScopedTypeVariables
, TypeApplications
, TypeOperators
, TypeFamilies
, OverloadedStrings
executable wire-cli
main-is: Main.hs
-- other-modules:
-- other-extensions:
ghc-options: -Wall -threaded
build-depends: base
, wire-cli
hs-source-dirs: app
default-language: Haskell2010
executable wire-gui
main-is: Main.hs
ghc-options: -Wall -threaded
build-depends: base
, wire-cli
hs-source-dirs: gui
default-language: Haskell2010
library
import: shared-properties
hs-source-dirs: src
ghc-options: -fplugin=Polysemy.Plugin
build-depends:
HsOpenSSL
, HsOpenSSL-x509-system
, aeson
, async
, base64
, bytestring
, bytestring-conversion
, containers
, cookie
, cryptobox-haskell
, deriving-aeson
, directory
, extra
, filepath
, gi-gio
, gi-gio-hs-list-model
, gi-glib
, gi-gtk >= 4.0.5
, gi-pango
, haskell-gi-base
, http-client
, http-client-openssl
, http-client-websockets
, http-types
, keys
, lens-family
, network-uri
, optparse-applicative
, polysemy
, polysemy-plugin
, polysemy-zoo >= 0.7
, profunctors
, proto-lens
, schema-profunctor
, servant
, servant-client
, servant-client-core
, swagger2
, text
, time
, types-common
, unagi-chan
, unordered-containers
, uuid
, websockets
, wire-api
, wire-message
exposed-modules:
Wire.CLI.App
, Wire.CLI.Backend
, Wire.CLI.Backend.API
, Wire.CLI.Backend.Credential
, Wire.CLI.Backend.Effect
, Wire.CLI.Backend.Event
, Wire.CLI.Backend.HTTP
, Wire.CLI.Backend.Notification
, Wire.CLI.Backend.Orphans
, Wire.CLI.Backend.User
, Wire.CLI.Chan
, Wire.CLI.Connection
, Wire.CLI.Conv
, Wire.CLI.CryptoBox
, Wire.CLI.CryptoBox.Effect
, Wire.CLI.CryptoBox.FFI
, Wire.CLI.CryptoBox.Util
, Wire.CLI.Display
, Wire.CLI.Display.Effect
, Wire.CLI.Display.Print
, Wire.CLI.Error
, Wire.CLI.Execute
, Wire.CLI.Message
, Wire.CLI.Notification
, Wire.CLI.Notification.Types
, Wire.CLI.Options
, Wire.CLI.Properties
, Wire.CLI.Store
, Wire.CLI.Store.Effect
, Wire.CLI.Store.File
, Wire.CLI.Store.StoredMessage
, Wire.CLI.Store.StoredMessage.JSON
, Wire.CLI.User
, Wire.CLI.Util.ByteStringJSON
, Wire.CLI.Util.JSONStrategy
, Wire.CLI.Util.Schema
, Wire.CLI.UUIDGen
, Wire.GUI.App
, Wire.GUI.Login
, Wire.GUI.Worker
, Wire.GUI.SlowSync
, Wire.GUI.Conversation
, Wire.GUI.Wait
test-suite "unit"
import: shared-properties
hs-source-dirs: test
main-is: Spec.hs
type: exitcode-stdio-1.0
build-tool-depends: hspec-discover:hspec-discover
ghc-options: -fplugin=Polysemy.Plugin -threaded
build-depends:
QuickCheck
, aeson
, base64
, bytestring
, containers
, cookie
, cryptobox-haskell
, generic-random
, hspec
, polysemy-zoo
, http-client
, lens-family
, network-arbitrary
, network-uri
, polysemy
, polysemy-mocks
, polysemy-plugin
, proto-lens
, proto-lens-arbitrary
, quickcheck-instances
, temporary
, text
, time
, wire-cli
, wire-message
, unagi-chan
, uuid
, wire-api
, types-common
other-modules:
Wire.CLI.APIArbitrary
, Wire.CLI.Backend.Arbitrary
, Wire.CLI.Backend.TypesSpec
, Wire.CLI.ConnectionSpec
, Wire.CLI.ConvSpec
, Wire.CLI.CryptoBox.TestUtil
, Wire.CLI.ExecuteSpec
, Wire.CLI.MessageSpec
, Wire.CLI.Mocks.Backend
, Wire.CLI.Mocks.CryptoBox
, Wire.CLI.Mocks.Display
, Wire.CLI.Mocks.Store
, Wire.CLI.Mocks.UUIDGen
, Wire.CLI.NotificationSpec
, Wire.CLI.Store.Arbitrary
, Wire.CLI.Store.FileSpec
, Wire.CLI.Store.StoredMessageSpec
, Wire.CLI.TestUtil
executable "wire-cli-integration"
default-language: Haskell2010
hs-source-dirs: integration
main-is: Spec.hs
ghc-options: -Wall -threaded
build-depends: aeson
, base >=4.12 && <5
, bytestring
, HsOpenSSL
, HsOpenSSL-x509-system
, hspec
, hspec-core
, http-client
, http-client-openssl
, http-types
, lens-family
, network-uri
, optparse-applicative
, polysemy
, proto-lens
, random
, retry
, shelly
, temporary
, text
, wire-cli
, wire-message
, wire-api
, types-common
other-modules: TestInput