-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.yaml
More file actions
290 lines (279 loc) · 6.13 KB
/
package.yaml
File metadata and controls
290 lines (279 loc) · 6.13 KB
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
name: hoard
version: 0.1.0.0
synopsis: TODO write a short description
description: TODO write a long description
author: Christian Georgii
maintainer: christian.georgii@moduscreate.com
license: MIT
language: GHC2021
ghc-options:
- -Weverything
# SafeHaskell is a myth
- -Wno-unsafe
- -Wno-missing-safe-haskell-mode
# Removes all the pros of type inference
- -Wno-monomorphism-restriction
# Most of the time completely unnecessary
- -Wno-missing-kind-signatures
# Very tedious to enforce for _all_ local bindings
- -Wno-missing-local-signatures
# Tedious because it also enforces an explicit import list on records
- -Wno-missing-import-lists
# Noise
- -Wno-implicit-prelude
# Forces us to write ': instead of : for Effectful's (:) operator, and many
# other tedious things.
- -Wno-unticked-promoted-constructors
# False positive flags `base` and `tasty-discover`, unfortunately.
#
# `base` is used directly by the `Paths_hoard.hs` module generated by cabal, so
# we need to keep it as a dependency.
#
# `tasty-discover` is used in our testing harness to ease running test files
# through its compiler plugin. We don't use `tasty-discover` directly in our
# code though, so it is falsely flagged as unused.
- -Wno-unused-packages
- -O0
- -fplugin=Effectful.Plugin
- -threaded
dependencies:
- effectful-core
- effectful-plugin
default-extensions:
- BlockArguments
- DataKinds
- DeriveAnyClass
- DerivingStrategies
- DerivingVia
- DuplicateRecordFields
- FlexibleContexts
- GADTs
- LambdaCase
- MultiWayIf
- OverloadedLabels
- OverloadedRecordDot
- OverloadedStrings
- StrictData
- TemplateHaskell
- TypeFamilies
library:
source-dirs: hoard/src
dependencies:
- name: base
mixin:
- hiding (Prelude)
- atelier-prelude
- atelier
- aeson
- base16-bytestring
- data-default
- time
- bytestring
- cardano-api
- cardano-ledger-byron
- cardano-ledger-core
- casing
- cborg
- containers
- contra-tracer
- directory
- effectful
- effectful-th
- filepath
- hasql
- hasql-pool
- hasql-transaction
- hs-opentelemetry-api
- hs-opentelemetry-sdk
- http-api-data
- iproute
- ki
- list-t
- network
- network-mux
- optparse-applicative
- ouroboros-consensus
- ouroboros-consensus-cardano
- ouroboros-consensus-diffusion
- ouroboros-consensus-protocol
- resource-registry
- stm
- ouroboros-network
- ouroboros-network-api
- ouroboros-network-framework
- ouroboros-network-protocols
- prometheus-client
- prometheus-metrics-ghc
- rel8
- insert-ordered-containers
- lens
- openapi3
- servant-openapi3
- servant-server
- stm-containers
- string-conversions
- text
- transformers
- typed-process
- typed-protocols
- unagi-chan
- unix
- unordered-containers
- uuid
- warp
- yaml
internal-libraries:
atelier-prelude:
source-dirs: atelier/prelude
dependencies:
- base
- relude
atelier:
source-dirs: atelier/src
dependencies:
- name: base
mixin:
- hiding (Prelude)
- atelier-prelude
- aeson
- base64-bytestring
- bytestring
- casing
- containers
- contra-tracer
- data-default
- effectful
- effectful-th
- hasql
- hasql-pool
- hasql-transaction
- hs-opentelemetry-api
- hs-opentelemetry-exporter-otlp
- hs-opentelemetry-sdk
- http-api-data
- ki
- list-t
- prometheus-client
- prometheus-metrics-ghc
- rel8
- stm-containers
- text
- time
- time-units
- unagi-chan
- unordered-containers
- uuid
atelier-testing:
source-dirs: atelier/testing
dependencies:
- name: base
mixin:
- hiding (Prelude)
- atelier-prelude
- atelier
- hasql
- hasql-pool
- hspec
- postgres-options
- string-conversions
- text
- tmp-postgres
- unix
- uuid
executables:
hoard-exe:
main: Main.hs
source-dirs: hoard/app
ghc-options:
- '"-with-rtsopts=-N -T"'
dependencies:
- name: base
mixin:
- hiding (Prelude)
- atelier-prelude
- hoard
- atelier
- data-default
- effectful
tests:
atelier-test:
main: Driver.hs
source-dirs: atelier/test
ghc-options:
# Complains about `test/Driver.hs` emitted by tasty-discover, and is handled by
# our fourmolu config.
- -Wno-prepositive-qualified-module
- -threaded
build-tools:
- tasty-discover:tasty-discover
dependencies:
- name: base
mixin:
- hiding (Prelude)
- atelier-prelude
- atelier
- async
- containers
- effectful
- hs-opentelemetry-api
- hedgehog
- hspec
- hspec-hedgehog
- stm
- tasty
- tasty-hspec
- time
hoard-test:
main: Driver.hs
source-dirs: hoard/test
ghc-options:
# Complains about `test/Driver.hs` emitted by tasty-discover, and is handled by
# our fourmolu config.
- -Wno-prepositive-qualified-module
- -threaded
build-tools:
- tasty-discover:tasty-discover
dependencies:
- name: base
mixin:
- hiding (Prelude)
- atelier-prelude
- hoard
- atelier
- atelier-testing
- containers
- "ouroboros-consensus-cardano:unstable-byron-testlib"
- "ouroboros-consensus-cardano:unstable-shelley-testlib"
- "ouroboros-consensus:unstable-consensus-testlib"
- aeson
- async
- cardano-api
- cardano-ledger-core
- data-default
- effectful
- hasql
- hasql-pool
- hasql-transaction
- hs-opentelemetry-api
- hspec
- http-client
- network
- ouroboros-consensus
- ouroboros-consensus-cardano
- ouroboros-consensus-protocol
- ouroboros-network-api
- ouroboros-network-protocols
- process
- rel8
- servant-client
- servant-client-core
- servant-server
- string-conversions
- tasty
- tasty-discover
- tasty-hspec
- text
- time
- transformers
- uuid
- warp