forked from CardanoSolutions/kupo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kupo.cabal
326 lines (319 loc) · 7.86 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
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.34.4.
--
-- see: https://github.com/sol/hpack
name: kupo
version: 2.0.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
data-files:
docs/api/latest.yaml
docs/api/v1.0.0.yaml
docs/api/v1.0.1.yaml
docs/api/v2.0.0-beta.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.Direct
Kupo.App.ChainSync.Ogmios
Kupo.App.Configuration
Kupo.App.Database
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.ChainSync
Kupo.Data.Configuration
Kupo.Data.Database
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.Response
Kupo.Data.Http.Status
Kupo.Data.Http.StatusFlag
Kupo.Data.Ogmios
Kupo.Data.PartialBlock
Kupo.Data.Pattern
Kupo.Options
Kupo.Prelude
Kupo.Version
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 -Wunused-packages -fno-warn-unticked-promoted-constructors -fno-warn-partial-fields
build-depends:
aeson
, base >=4.7 && <5
, base16
, base58-bytestring
, base64
, bech32
, bech32-th
, binary
, bytestring
, cardano-binary
, cardano-crypto-class
, cardano-crypto-wrapper
, cardano-ledger-alonzo
, cardano-ledger-babbage
, cardano-ledger-byron
, cardano-ledger-core
, cardano-ledger-shelley
, cardano-ledger-shelley-ma
, cardano-slotting
, cborg
, containers
, contra-tracer
, contra-tracers
, fast-bech32
, file-embed
, filepath
, generic-lens
, http-client
, http-types
, io-classes
, lens
, lens-aeson
, network-mux
, optparse-applicative
, ouroboros-consensus
, ouroboros-consensus-byron
, ouroboros-consensus-cardano
, ouroboros-consensus-protocol
, ouroboros-consensus-shelley
, ouroboros-network
, ouroboros-network-framework
, relude
, safe
, safe-exceptions
, sqlite-simple
, strict-containers
, text
, time
, transformers
, typed-protocols
, unix
, wai
, warp
, websockets
, websockets-json
, yaml
if flag(production)
ghc-options: -Werror -O2
default-language: Haskell2010
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 -Wunused-packages -threaded -rtsopts
build-depends:
base >=4.7 && <5
, kupo
if flag(production)
ghc-options: -O2 -Werror "-with-rtsopts=-N2 -A16m -qb -qg"
default-language: Haskell2010
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.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
, quickcheck-state-machine
, relude
, sqlite-simple
, temporary
, text
, wai
, wai-extra
, yaml
default-language: Haskell2010