forked from input-output-hk/cardano-sl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstack.yaml
267 lines (233 loc) · 8.99 KB
/
stack.yaml
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
resolver: lts-12.17
flags:
ether:
disable-tup-instances: true
extra-package-dbs: []
# The dependency graph which was previously here has been dropped in favor of
# PNG output from the script `scripts/package-dep-graph.sh`, which uses
# `stack dot` to construct a graph which represents the current state exactly.
packages:
- util
- util/test
- networking
- binary
- binary/test
- crypto
- crypto/test
- core
- core/test
- db
- db/test
- infra
- infra/test
- chain
- chain/test
- lib
- generator
- client
- auxx
- script-runner
- explorer
- node
- tools
- tools/post-mortem
- utxo
- wallet
- node-ipc
- faucet
- acid-state-exts
- x509
- cluster
- mnemonic
# IOHK projects:
- location:
git: https://github.com/input-output-hk/cardano-report-server.git
commit: 93f2246c54436e7f98cc363b4e0f8f1cb5e78717
extra-dep: true
- location:
git: https://github.com/input-output-hk/cardano-crypto
commit: 45e1a0eafac774c109704be44ca06fd8cae193ba
extra-dep: true
# to be removed when haskell-ip is in the current stackage version
- location:
git: https://github.com/andrewthad/haskell-ip
commit: 9bb453139aa82cc973125091800422a523e1eb8f
extra-dep: true
## Vendored/Forked dependencies
#
# For these projects, please include a note describing:
# 1. why we're using a fork
# 2. what branch the commit is on
# 3. a link to the PR that upstreams the patch
#
# this extra-dep is to avoid printing microseconds with unicode
# no PR upstream was made
# TODO(parsonsmatt): why was this change done?
- location:
git: https://github.com/serokell/time-units.git
commit: 6c3747c1ac794f952de996dd7ba8a2f6d63bf132
extra-dep: true
# not reviewing this too deeply as we're dumping kademlia
- location:
git: https://github.com/serokell/kademlia.git
commit: 7120bb4d28e708acd52dfd61d3dca7914fac7d7f # master
extra-dep: true
# These three are needed for cardano-sl-networking
#
# This defines a bundle type and attribute:
# https://github.com/haskell-distributed/network-transport/compare/master...serokell:018a50b9042c2115c3ec9c9fd5ca5f28737dd29c?expand=1
# Seems relatively straightforward to PR.
- location:
git: https://github.com/serokell/network-transport
commit: 018a50b9042c2115c3ec9c9fd5ca5f28737dd29c
extra-dep: true
# This doesn't have much difference at all with the upstream master:
# https://github.com/haskell-distributed/network-transport-tcp/compare/master...serokell:3d56652123bd296dc759cd31947eb2a17924e68a?expand=1
# As above, seems relatively straightforward to PR.
- location:
git: https://github.com/avieth/network-transport-tcp
commit: 2634e5e32178bb0456d800d133f8664321daa2ef # csl-0.6.0
extra-dep: true
# This one has more changes:
# https://github.com/haskell-distributed/network-transport-inmemory/compare/master...avieth:5d8ff2b07b9df35cf61329a3d975e2c8cf95c12a?expand=1
# Do we have an issue that documents why we made these changes, so we can make a PR upstream?
- location:
git: https://github.com/avieth/network-transport-inmemory
commit: 5d8ff2b07b9df35cf61329a3d975e2c8cf95c12a
extra-dep: true
# Waiting on the space leak bug fix PR to be merged:
# https://github.com/acid-state/acid-state/pull/104
- location:
git: https://github.com/parsonsmatt/acid-state
commit: a1b23e2056f134e53f705a694ab85deeecabec5c
extra-dep: true
# Required for explorer.
# We forked it because it has some unacceptable version bounds. We didn't
# add any features nor fix any bugs.
- location:
git: https://github.com/input-output-hk/engine.io.git
commit: 8f9216b8f9c7bd96cb1feeb82db5271744d67fcd
extra-dep: true
subdirs:
- socket-io
- engine-io
- engine-io-wai
# Library has never been released on Hackage yet
- location:
git: https://github.com/input-output-hk/canonical-json.git
commit: f66762e4c4fe484ed109d28ad541fc55cc841c2c
extra-dep: true
# The latest release of clock on hackage is *way* too old (0.7.2)
# and can not be cross compiled. As
# https://github.com/corsis/clock/commit/f7fe4fb5691d56c342e6fbf5a99c121ab24a6b41
# hasn't made it into any release yet.
- location:
git: https://github.com/corsis/clock.git
commit: ef60bd51a3587a173adf565c33bf2886df6e3842
extra-dep: true
# Library has never been released on Hackage yet
- location:
git: https://github.com/input-output-hk/rocksdb-haskell-ng.git
commit: 49f501a082d745f3b880677220a29cafaa181452
extra-dep: true
# Because log-warper mainline depends on a lifted-async which depends upon a
# buggy async
- location:
git: https://github.com/input-output-hk/log-warper.git
commit: 0b7d4d48310f139d75829d31883aaa87ce53312c
extra-dep: true
# Exposes a custom discovery function so you can specify the prefix.
# https://github.com/hedgehogqa/haskell-hedgehog/compare/master...input-output-hk:master
- location:
git: https://github.com/input-output-hk/haskell-hedgehog.git
commit: e63fb354bfbad07f3befdd43b382c655944218be
subdirs:
- hedgehog
extra-dep: true
# Add custom stylish-haskell while waiting for PR upstream: https://github.com/jaspervdj/stylish-haskell/pull/214
- location:
git: https://github.com/input-output-hk/stylish-haskell.git
commit: ecfd3b307d8d13a6d12aff03055f25a39a17e182
extra-dep: true
# Custom Universum prelude, that brings back some of the
# formatting logic, as well as `pretty`.
- location:
git: https://github.com/input-output-hk/universum.git
commit: 7f1b2483f71cacdfd032fe447064d6e0a1df50fc
extra-dep: true
# Need to adjust version bounds on serokell-util.
# serokell-util has an upper bound preventing 6.3 for some reason
- location:
git: https://github.com/input-output-hk/serokell-util.git
commit: 4ead9809e119483e7832da5f8224b0c4d4a2d5d6
extra-dep: true
# Inspector, as used in cardano-crypto
- location:
git: https://github.com/primetype/inspector.git
commit: c975f4329365f0379c04358138e616fb96fb0b79
extra-dep: true
nix:
shell-file: nix/stack-shell.nix
extra-deps:
# Serokell-specific utilities not on stackage
- fmt-0.6
# Servant stuff not found on stackage
- servant-multipart-0.11.2
# Needed for coin selection in the wallet
- normaldistribution-1.1.0.3
# This used to be Serokell.Aeson.Options
- aeson-options-0.0.0
- servant-swagger-ui-redoc-0.3.0.1.21.2
# Needed to LTS-12.16 compatibility
- wai-middleware-throttle-0.3.0.0
- ether-0.5.1.0
- servant-quickcheck-0.0.7.2
- o-clock-0.1.1
- beam-sqlite-0.3.2.3
- katip-0.6.3.0
- Chart-1.9
- Chart-diagrams-1.9
- SVGFonts-1.6.0.3
- pvss-0.2.0
- systemd-1.1.2
- base58-bytestring-0.1.0
- pipes-interleave-1.1.3
- tabl-1.0.3
- loc-0.1.3.3
- hspec-2.5.5
- micro-recursion-schemes-5.0.2.2
- token-bucket-0.1.0.1
- lzma-clib-5.2.2
# katip-0.6.3.0 conflicts with Win32-2.6.1.0
allow-newer: true
# This is for CI to pass --fast to all dependencies
apply-ghc-options: everything
# If you find it too restrictive, you can use `scripts/build/cardano-sl.sh' script
ghc-options:
cardano-sl: -Wall -Werror -Wcompat -fwarn-redundant-constraints
cardano-sl-auxx: -Wall -Werror -Wcompat -fwarn-redundant-constraints
cardano-sl-binary: -Wall -Werror -Wcompat -fwarn-redundant-constraints
cardano-sl-binary-test: -Wall -Werror -Wcompat -fwarn-redundant-constraints
cardano-sl-chain: -Wall -Werror -Wcompat -fwarn-redundant-constraints
cardano-sl-chain-test: -Wall -Werror -Wcompat -fwarn-redundant-constraints
cardano-sl-client: -Wall -Werror -Wcompat -fwarn-redundant-constraints
cardano-sl-core: -Wall -Werror -Wcompat -fwarn-redundant-constraints
cardano-sl-core-test: -Wall -Werror -Wcompat -fwarn-redundant-constraints
cardano-sl-crypto: -Wall -Werror -Wcompat -fwarn-redundant-constraints
cardano-sl-crypto-test: -Wall -Werror -Wcompat -fwarn-redundant-constraints
cardano-sl-db: -Wall -Werror -Wcompat -fwarn-redundant-constraints
cardano-sl-db-test: -Wall -Werror -Wcompat -fwarn-redundant-constraints
cardano-sl-explorer: -Wall -Werror -Wcompat -fwarn-redundant-constraints
cardano-sl-generator: -Wall -Werror -Wcompat -fwarn-redundant-constraints
cardano-sl-infra: -Wall -Werror -Wcompat -fwarn-redundant-constraints
cardano-sl-networking: -Werror -Wcompat -fwarn-redundant-constraints
cardano-sl-node: -Wall -Werror -Wcompat -fwarn-redundant-constraints
cardano-sl-tools: -Wall -Werror -Wcompat -fwarn-redundant-constraints
cardano-sl-tools-post-mortem: -Wall -Werror -Wcompat -fwarn-redundant-constraints
cardano-sl-util: -Wall -Werror -Wcompat -fwarn-redundant-constraints
cardano-sl-util-test: -Wall -Werror -Wcompat -fwarn-redundant-constraints
cardano-sl-node-ipc: -Wall -Werror -Wcompat -fwarn-redundant-constraints
cardano-sl-x509: -Wall -Werror -Wcompat -fwarn-redundant-constraints
cardano-sl-mnemonic: -Wall -Werror -Wcompat -fwarn-redundant-constraints
cardano-sl-cluster: -Wall -Werror -Wcompat -fwarn-redundant-constraints
cardano-wallet: -Wall -Werror -Wcompat -fwarn-redundant-constraints