forked from CardanoSolutions/kupo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kupo.cabal
382 lines (375 loc) · 9.46 KB
/
kupo.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
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.35.0.
--
-- see: https://github.com/sol/hpack
name: kupo
version: 0
synopsis: A daemon for building lookup indexes from entities of the Cardano blockchain
description: Please see the README on GitHub at <https://github.com/cardanosolutions/kupo/tree/master/README.md>
category: Web
stability: stable
homepage: https://github.com/cardanosolutions/kupo#readme
bug-reports: https://github.com/cardanosolutions/kupo/issues
author: KtorZ <matthias.benkort@gmail.com>
maintainer: matthias.benkort@gmail.com
copyright: 2020-2021 KtorZ
license: MPL-2.0
license-file: LICENSE
build-type: Simple
extra-source-files:
db/v1.0.0-beta/001.sql
db/v1.0.0/001.sql
db/v1.0.0/002.sql
db/v1.0.1/001.sql
db/v2.0.0-beta/001.sql
db/v2.1.0/001.sql
db/v2.1.0/002.sql
db/v2.1.0/003.sql
db/v2.2.0/001.sql
data-files:
docs/api/latest.yaml
docs/api/v2.7.2.yaml
docs/api/v2.8.0.yaml
source-repository head
type: git
location: https://github.com/cardanosolutions/kupo
flag production
description: Compile executables for production.
manual: True
default: False
library
exposed-modules:
Kupo
Kupo.App
Kupo.App.ChainSync
Kupo.App.ChainSync.Hydra
Kupo.App.ChainSync.Node
Kupo.App.ChainSync.Ogmios
Kupo.App.Configuration
Kupo.App.Database
Kupo.App.FetchBlock.Node
Kupo.App.FetchBlock.Ogmios
Kupo.App.Health
Kupo.App.Http
Kupo.App.Http.HealthCheck
Kupo.App.Mailbox
Kupo.Control.MonadAsync
Kupo.Control.MonadCatch
Kupo.Control.MonadDelay
Kupo.Control.MonadLog
Kupo.Control.MonadOuroboros
Kupo.Control.MonadSTM
Kupo.Control.MonadThrow
Kupo.Control.MonadTime
Kupo.Data.Cardano
Kupo.Data.Cardano.Address
Kupo.Data.Cardano.AssetId
Kupo.Data.Cardano.AssetName
Kupo.Data.Cardano.BinaryData
Kupo.Data.Cardano.Block
Kupo.Data.Cardano.BlockNo
Kupo.Data.Cardano.Datum
Kupo.Data.Cardano.DatumHash
Kupo.Data.Cardano.HeaderHash
Kupo.Data.Cardano.Metadata
Kupo.Data.Cardano.MetadataHash
Kupo.Data.Cardano.NativeScript
Kupo.Data.Cardano.Output
Kupo.Data.Cardano.OutputIndex
Kupo.Data.Cardano.OutputReference
Kupo.Data.Cardano.Point
Kupo.Data.Cardano.PolicyId
Kupo.Data.Cardano.Script
Kupo.Data.Cardano.ScriptHash
Kupo.Data.Cardano.ScriptReference
Kupo.Data.Cardano.SlotNo
Kupo.Data.Cardano.Tip
Kupo.Data.Cardano.Transaction
Kupo.Data.Cardano.TransactionId
Kupo.Data.Cardano.TransactionIndex
Kupo.Data.Cardano.Value
Kupo.Data.ChainSync
Kupo.Data.Configuration
Kupo.Data.Database
Kupo.Data.FetchBlock
Kupo.Data.Health
Kupo.Data.Http.Default
Kupo.Data.Http.Error
Kupo.Data.Http.FilterMatchesBy
Kupo.Data.Http.ForcedRollback
Kupo.Data.Http.GetCheckpointMode
Kupo.Data.Http.OrderMatchesBy
Kupo.Data.Http.Response
Kupo.Data.Http.SlotRange
Kupo.Data.Http.Status
Kupo.Data.Http.StatusFlag
Kupo.Data.Hydra
Kupo.Data.Ogmios
Kupo.Data.PartialBlock
Kupo.Data.Pattern
Kupo.Options
Kupo.Prelude
Kupo.Version
Kupo.Version.TH
other-modules:
Paths_kupo
hs-source-dirs:
src
default-extensions:
BangPatterns
BinaryLiterals
ConstraintKinds
DataKinds
DefaultSignatures
DeriveDataTypeable
DeriveFoldable
DeriveFunctor
DeriveGeneric
DeriveTraversable
DerivingStrategies
EmptyDataDecls
ExistentialQuantification
FlexibleContexts
FlexibleInstances
FunctionalDependencies
GADTs
InstanceSigs
KindSignatures
LambdaCase
MultiParamTypeClasses
MultiWayIf
NamedFieldPuns
NoImplicitPrelude
NumericUnderscores
OverloadedStrings
PartialTypeSignatures
PatternGuards
RankNTypes
ScopedTypeVariables
StandaloneDeriving
TupleSections
TypeApplications
TypeFamilies
TypeSynonymInstances
ViewPatterns
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wpartial-fields -Wredundant-constraints -fno-warn-unticked-promoted-constructors -fno-warn-partial-fields
build-depends:
aeson
, attoparsec-aeson
, base >=4.7 && <5
, base16
, base58-bytestring
, base64
, bech32
, bech32-th
, binary
, bytestring
, cardano-crypto-class
, cardano-crypto-wrapper
, cardano-ledger-allegra
, cardano-ledger-alonzo
, cardano-ledger-api
, cardano-ledger-babbage
, cardano-ledger-binary
, cardano-ledger-byron
, cardano-ledger-conway
, cardano-ledger-core
, cardano-ledger-mary
, cardano-ledger-shelley
, cardano-slotting
, cardano-strict-containers
, cborg
, containers
, contra-tracer
, contra-tracers
, directory
, fast-bech32
, file-embed
, filepath
, generic-lens
, http-client
, http-types
, io-classes
, lens
, lens-aeson
, network-mux
, optparse-applicative
, ouroboros-consensus
, ouroboros-consensus-cardano
, ouroboros-consensus-diffusion
, ouroboros-consensus-protocol
, ouroboros-network
, ouroboros-network-api
, ouroboros-network-framework
, ouroboros-network-protocols
, prometheus
, relude
, resource-pool
, safe
, safe-exceptions
, scientific
, sqlite-simple
, template-haskell
, text
, text-ansi
, time
, transformers
, typed-protocols
, unix
, wai
, warp
, websockets
, websockets-json
, yaml
default-language: Haskell2010
if flag(production)
ghc-options: -Wunused-packages -Werror -O2
executable kupo
main-is: Main.hs
other-modules:
Paths_kupo
hs-source-dirs:
app
default-extensions:
BangPatterns
BinaryLiterals
ConstraintKinds
DataKinds
DefaultSignatures
DeriveDataTypeable
DeriveFoldable
DeriveFunctor
DeriveGeneric
DeriveTraversable
DerivingStrategies
EmptyDataDecls
ExistentialQuantification
FlexibleContexts
FlexibleInstances
FunctionalDependencies
GADTs
InstanceSigs
KindSignatures
LambdaCase
MultiParamTypeClasses
MultiWayIf
NamedFieldPuns
NoImplicitPrelude
NumericUnderscores
OverloadedStrings
PartialTypeSignatures
PatternGuards
RankNTypes
ScopedTypeVariables
StandaloneDeriving
TupleSections
TypeApplications
TypeFamilies
TypeSynonymInstances
ViewPatterns
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wpartial-fields -Wredundant-constraints -threaded -rtsopts
build-depends:
base >=4.7 && <5
, kupo
default-language: Haskell2010
if flag(production)
ghc-options: -O2 -Wunused-packages -Werror "-with-rtsopts=-N -A16m -qb -qg"
test-suite unit
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
Test.Kupo.App.ConfigurationSpec
Test.Kupo.App.Http.Client
Test.Kupo.App.HttpSpec
Test.Kupo.App.MailboxSpec
Test.Kupo.AppSpec
Test.Kupo.Data.CardanoSpec
Test.Kupo.Data.DatabaseSpec
Test.Kupo.Data.Generators
Test.Kupo.Data.Http.FilterMatchesBySpec
Test.Kupo.Data.Http.ForcedRollbackSpec
Test.Kupo.Data.Http.Helpers
Test.Kupo.Data.Http.OrderMatchesBySpec
Test.Kupo.Data.Http.SlotRangeSpec
Test.Kupo.Data.HydraSpec
Test.Kupo.Data.OgmiosSpec
Test.Kupo.Data.Pattern.Fixture
Test.Kupo.Data.PatternSpec
Test.Kupo.Data.UtxoConstraint
Test.Kupo.Fixture
Test.Kupo.OptionsSpec
Test.KupoSpec
Paths_kupo
hs-source-dirs:
test
default-extensions:
BangPatterns
BinaryLiterals
ConstraintKinds
DataKinds
DefaultSignatures
DeriveDataTypeable
DeriveFoldable
DeriveFunctor
DeriveGeneric
DeriveTraversable
DerivingStrategies
EmptyDataDecls
ExistentialQuantification
FlexibleContexts
FlexibleInstances
FunctionalDependencies
GADTs
InstanceSigs
KindSignatures
LambdaCase
MultiParamTypeClasses
MultiWayIf
NamedFieldPuns
NoImplicitPrelude
NumericUnderscores
OverloadedStrings
PartialTypeSignatures
PatternGuards
RankNTypes
ScopedTypeVariables
StandaloneDeriving
TupleSections
TypeApplications
TypeFamilies
TypeSynonymInstances
ViewPatterns
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wpartial-fields -Wredundant-constraints -Wunused-packages -threaded -rtsopts -with-rtsopts=-N
build-tool-depends:
hspec-discover:hspec-discover
build-depends:
QuickCheck
, aeson
, base
, bytestring
, cardano-crypto-class
, containers
, directory
, filepath
, hspec
, http-client
, http-media
, http-types
, io-classes
, io-sim
, kupo
, lens-aeson
, openapi3
, process
, quickcheck-state-machine
, si-timers
, sqlite-simple
, stm
, temporary
, text
, transformers
, wai
, wai-extra
, websockets
, yaml
default-language: Haskell2010