-
Notifications
You must be signed in to change notification settings - Fork 222
/
Copy pathcardano-wallet.cabal
295 lines (284 loc) · 8.52 KB
/
cardano-wallet.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
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
cabal-version: 3.6
name: cardano-wallet
version: 0.2025.1.9
synopsis: The Wallet Backend for a Cardano node.
description: Please see README.md
homepage: https://github.com/cardano-foundation/cardano-wallet
author: Cardano Foundation (High Assurance Lab)
maintainer: [email protected]
copyright: 2018-2022 IOHK, 2023 Cardano Foundation
license: Apache-2.0
category: Web
build-type: Simple
extra-source-files:
extra/Plutus/*.hs
specifications/api/swagger.yaml
common language
default-language: Haskell2010
default-extensions:
NoImplicitPrelude
OverloadedStrings
common opts-lib
ghc-options: -Wall -Wcompat -Wredundant-constraints
if flag(release)
ghc-options: -O2 -Werror
common opts-exe
ghc-options: -threaded -rtsopts -Wall -Wredundant-constraints
if flag(release)
ghc-options: -O2 -Werror
flag release
description: Enable optimization and `-Werror`
default: False
manual: True
library
import: language, opts-lib
hs-source-dirs: src
ghc-options: -Wincomplete-uni-patterns -Wincomplete-record-updates
build-depends:
, address-derivation-discovery
, aeson
, async
, base
, bytestring
, cardano-addresses
, cardano-api:{cardano-api, internal}
, cardano-balance-tx:{cardano-balance-tx, internal}
, cardano-binary
, cardano-crypto
, cardano-crypto-class
, cardano-crypto-wrapper
, cardano-ledger-allegra
, cardano-ledger-api
, cardano-ledger-byron
, cardano-ledger-core
, cardano-slotting
, cardano-strict-containers
, cardano-wallet-launcher
, cardano-wallet-network-layer
, cardano-wallet-primitive
, cardano-wallet-read
, cardano-wallet-secrets
, cardano-wallet-test-utils
, cborg
, containers
, contra-tracer
, crypto-primitives
, deepseq
, delta-store
, delta-types
, directory
, either
, errors
, exceptions
, extra
, fast-logger
, filepath
, fmt
, foldl
, generic-lens
, hashable
, http-api-data
, http-client
, http-client-tls
, http-types
, int-cast
, io-classes
, iohk-monitoring
, iohk-monitoring-extra
, lens
, list-transformer
, memory
, monad-logger
, MonadRandom
, monoid-subclasses
, mtl
, network-uri
, nothunks
, ntp-client
, OddWord
, optparse-applicative
, ouroboros-consensus
, ouroboros-consensus-cardano
, ouroboros-network
, ouroboros-network-api
, path-pieces
, persistent
, persistent-sqlite
, profunctors
, QuickCheck
, quiet
, random
, retry
, safe
, serialise
, split
, splitmix
, statistics
, string-interpolate
, template-haskell
, text
, text-class
, these
, time
, transformers
, unliftio
, unliftio-core
, unordered-containers
, vector
, Win32-network
exposed-modules:
Cardano.Api.Extra
Cardano.DB.Sqlite
Cardano.DB.Sqlite.Delete
Cardano.DB.Sqlite.ForeignKeys
Cardano.DB.Sqlite.Migration.Old
Cardano.Pool.DB
Cardano.Pool.DB.Layer
Cardano.Pool.DB.Log
Cardano.Pool.DB.Model
Cardano.Pool.DB.MVar
Cardano.Pool.DB.Sqlite.TH
Cardano.Pool.Metadata
Cardano.Pool.Metadata.Types
Cardano.Pool.Types
Cardano.Wallet
Cardano.Wallet.Address.Keys.BoundedAddressLength
Cardano.Wallet.Address.Keys.MintBurn
Cardano.Wallet.Address.Keys.PersistPrivateKey
Cardano.Wallet.Address.Keys.SequentialAny
Cardano.Wallet.Address.Keys.Shared
Cardano.Wallet.Address.Keys.WalletKey
Cardano.Wallet.Address.Keys.WitnessCount
Cardano.Wallet.Address.MaybeLight
Cardano.Wallet.Address.States.IsOwned
Cardano.Wallet.Balance.Migration
Cardano.Wallet.Balance.Migration.Planning
Cardano.Wallet.Balance.Migration.Selection
Cardano.Wallet.Checkpoints
Cardano.Wallet.CLI
Cardano.Wallet.Compat
Cardano.Wallet.DB
Cardano.Wallet.DB.Errors
Cardano.Wallet.DB.Layer
Cardano.Wallet.DB.Migration
Cardano.Wallet.DB.Pure.Implementation
Cardano.Wallet.DB.Pure.Layer
Cardano.Wallet.DB.Sqlite.Migration.New
Cardano.Wallet.DB.Sqlite.Migration.Old
Cardano.Wallet.DB.Sqlite.Migration.SchemaVersion1
Cardano.Wallet.DB.Sqlite.Schema
Cardano.Wallet.DB.Sqlite.Types
Cardano.Wallet.DB.Store.Checkpoints.Migration
Cardano.Wallet.DB.Store.Checkpoints.Store
Cardano.Wallet.DB.Store.Delegations.Layer
Cardano.Wallet.DB.Store.Delegations.Migrations.V2.Schema
Cardano.Wallet.DB.Store.Delegations.Migrations.V3.Migration
Cardano.Wallet.DB.Store.Delegations.Migrations.V3.Model
Cardano.Wallet.DB.Store.Delegations.Migrations.V3.Schema
Cardano.Wallet.DB.Store.Delegations.Migrations.V5.Migration
Cardano.Wallet.DB.Store.Delegations.Model
Cardano.Wallet.DB.Store.Delegations.Schema
Cardano.Wallet.DB.Store.Delegations.Store
Cardano.Wallet.DB.Store.Delegations.Types
Cardano.Wallet.DB.Store.Info.Store
Cardano.Wallet.DB.Store.Meta.Layer
Cardano.Wallet.DB.Store.Meta.Model
Cardano.Wallet.DB.Store.Meta.Store
Cardano.Wallet.DB.Store.PrivateKey.Store
Cardano.Wallet.DB.Store.Rewards.Store
Cardano.Wallet.DB.Store.Submissions.Layer
Cardano.Wallet.DB.Store.Submissions.Operations
Cardano.Wallet.DB.Store.Transactions.Decoration
Cardano.Wallet.DB.Store.Transactions.Layer
Cardano.Wallet.DB.Store.Transactions.Model
Cardano.Wallet.DB.Store.Transactions.Store
Cardano.Wallet.DB.Store.Transactions.TransactionInfo
Cardano.Wallet.DB.Store.UTxOHistory.Model
Cardano.Wallet.DB.Store.UTxOHistory.Model.Internal
Cardano.Wallet.DB.Store.UTxOHistory.Store
Cardano.Wallet.DB.Store.UTxOHistory.TxOutCBOR
Cardano.Wallet.DB.Store.Wallets.Layer
Cardano.Wallet.DB.Store.Wallets.Model
Cardano.Wallet.DB.Store.Wallets.Store
Cardano.Wallet.DB.Store.WalletState.Store
Cardano.Wallet.DB.WalletState
Cardano.Wallet.Delegation
Cardano.Wallet.Delegation.Model
Cardano.Wallet.Delegation.Properties
Cardano.Wallet.Flavor
Cardano.Wallet.Gen
Cardano.Wallet.IO.Delegation
Cardano.Wallet.Pools
Cardano.Wallet.Primitive.Delegation.State
Cardano.Wallet.Primitive.Delegation.UTxO
Cardano.Wallet.Primitive.Model
Cardano.Wallet.Primitive.Slotting.TimeTranslation
Cardano.Wallet.Primitive.Types
Cardano.Wallet.Primitive.Types.Address.Constants
Cardano.Wallet.Primitive.Types.Credentials
Cardano.Wallet.Primitive.Types.StateDeltaSeq
Cardano.Wallet.Primitive.Types.Tx.TransactionInfo
Cardano.Wallet.Primitive.Types.Tx.TxMeta
Cardano.Wallet.Primitive.Types.Tx.TxSeq
Cardano.Wallet.Primitive.Types.Tx.TxSeq.Gen
Cardano.Wallet.Primitive.Types.UTxOStatistics
Cardano.Wallet.Registry
Cardano.Wallet.Shelley.BlockchainSource
Cardano.Wallet.Shelley.Network
Cardano.Wallet.Shelley.Transaction
Cardano.Wallet.Submissions.Operations
Cardano.Wallet.Submissions.Primitives
Cardano.Wallet.Submissions.Properties.Common
Cardano.Wallet.Submissions.Properties.Operations
Cardano.Wallet.Submissions.Properties.Primitives
Cardano.Wallet.Submissions.Submissions
Cardano.Wallet.Submissions.TxStatus
Cardano.Wallet.TokenMetadata
Cardano.Wallet.Transaction
Cardano.Wallet.Transaction.Built
Cardano.Wallet.Transaction.Delegation
Cardano.Wallet.Transaction.Voting
Cardano.Wallet.TypeLevel
Control.Concurrent.Concierge
Control.Monad.Exception.Unchecked
Control.Monad.Fail.Extended
Control.Monad.Util
Data.Function.Utils
Data.Text.Class.Extended
Data.Time.Text
Data.Time.Utils
Data.Vector.Shuffle
Database.Persist.PersistValue.Extended
Network.Ntp
UnliftIO.Compat
library mock-token-metadata
import: language, opts-lib
visibility: public
hs-source-dirs: mock-token-metadata/src
build-depends:
, aeson
, base
, bytestring
, cardano-wallet
, cardano-wallet-primitive
, generic-lens
, memory
, network-uri
, servant
, servant-server
, text
, unliftio
, unordered-containers
, wai
, warp
exposed-modules: Cardano.Wallet.TokenMetadata.MockServer
-- Triggers this https://github.com/haskell/cabal/issues/6470
-- if moved to an external library
executable mock-token-metadata-server
import: language, opts-exe
main-is: exe/mock-token-metadata-server.hs
build-depends:
, base
, cardano-wallet:{cardano-wallet, mock-token-metadata}
, optparse-applicative
, wai-extra