forked from wireapp/wire-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstack.yaml
More file actions
277 lines (238 loc) · 7.65 KB
/
stack.yaml
File metadata and controls
277 lines (238 loc) · 7.65 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
resolver: lts-18.18
# to bump blocks of custom dependencies to the latest version on hackage:
#
# /tmp/1.sh:
# #!/bin/bash
# cabal list "$1" | perl -ne '/^..'$1'$/ && { $x=1 }; /^$/ && { $x=0 }; if ($x) { /version: (.+)$/ && print "$1" }'
#
# /tmp/2.sh:
# #!/bin/bash
# perl -ne '/^- (\S+)-([01123456789\.]+)(\@\S+)?(.*)$/ && do { print "- $1-"; system("/tmp/1.sh $1"); print "$4\n" }'
#
# ... and then pipe the blocks of extra-deps through /tmp/2.sh.
# sorry for the hideous code, couldn't get it into one line (some
# limitation to perl that i don't want to have to understand).
# anyway it works!
packages:
- libs/api-bot
- libs/api-client
- libs/bilge
- libs/brig-types
- libs/cargohold-types
- libs/cassandra-util
- libs/extended
- libs/dns-util
- libs/deriving-swagger2
- libs/galley-types
- libs/gundeck-types
- libs/hscim
- libs/imports
- libs/metrics-core
- libs/metrics-wai
- libs/polysemy-wire-zoo
- libs/ropes
- libs/schema-profunctor
- libs/sodium-crypto-sign
- libs/ssl-util
- libs/tasty-cannon
- libs/types-common
- libs/types-common-aws
- libs/types-common-journal
- libs/wai-utilities
- libs/wire-api
- libs/wire-api-federation
- libs/wire-message-proto-lens
- libs/zauth
- services/brig
- services/cannon
- services/cargohold
- services/federator
- services/galley
- services/gundeck
- services/proxy
- services/spar
- tools/api-simulations
- tools/db/assets
- tools/db/auto-whitelist
- tools/db/migrate-sso-feature-flag
- tools/db/service-backfill
- tools/db/billing-team-member-backfill
- tools/db/find-undead
- tools/db/move-team
- tools/db/repair-handles
- tools/rex
- tools/stern
nix:
shell-file: stack-deps.nix
# HaskellNet, HaskellNet-SSL, bloodhound, multihash and stm-hamt have bounds
# issues. We didn't catch those before because in snapshot files, allow-newer:
# true seems to be the default. We should fix these bound issues (we have a
# fork of multihash for this reason already) but for now we just ignore the bounds
allow-newer: true
extra-deps:
- bytestring-arbitrary-0.1.3@sha256:14db64d4fe126fbad2eb8d3601bfd80a693f3131e2db0e76891feffe44f10df8,1773
- git: https://github.com/fimad/prometheus-haskell
commit: 2e3282e5fb27ba8d989c271a0a989823fad7ec43
subdirs:
- wai-middleware-prometheus
# wai-middleware-prometheus can be pulled from hackage once the
# a version > 1.0.0 of wai-middleware-prometheus is available
# (required: https://github.com/fimad/prometheus-haskell/pull/45)
- git: https://github.com/wireapp/saml2-web-sso
commit: 74371cd775cb98d6cf85f6e182244a3c4fd48702 # master (Jul 07, 2022)
- git: https://github.com/kim/hs-collectd
commit: 885da222be2375f78c7be36127620ed772b677c9
- git: https://gitlab.com/twittner/wai-routing
commit: 7e996a93fec5901767f845a50316b3c18e51a61d
# Our fork of multihash with relaxed upper bounds
- git: https://github.com/wireapp/haskell-multihash.git
commit: 300a6f46384bfca33e545c8bab52ef3717452d12
# https://github.com/hspec/hspec-wai/pull/49
- git: https://github.com/wireapp/hspec-wai
commit: 0a5142cd3ba48116ff059c041348b817fb7bdb25
- git: https://github.com/wireapp/bloodhound
commit: c68e6d877d87988331bf391ed16780383a58eefa # (2022-03-17) branch: wire-fork, aeson 2 support, updateByQuery
# For bloodhound
- aeson-2.0.3.0
- deriving-aeson-0.2.8
- semialign-1.2.0.1
- OneTuple-0.3.1
- hashable-1.4.0.2
- attoparsec-0.14.4
- text-short-0.1.5
- time-compat-1.9.6.1
- lens-5.0.1
- quickcheck-instances-0.3.27
- swagger2-2.8.2
- optics-extra-0.4
- optics-core-0.4
- optics-th-0.4
- http-api-data-0.4.3
- shakespeare-2.0.25.1
- servant-swagger-1.1.10
- foldl-1.4.12
- stache-2.3.1
- microlens-aeson-2.4.1
# Fork to force usage of path-style s3 URLs. More about S3 URLs:
# https://aws.amazon.com/blogs/aws/amazon-s3-path-deprecation-plan-the-rest-of-the-story/
- git: https://github.com/wireapp/amazonka
commit: 7ced54b0396296307b9871d293cc0ac161e5743d # (2022-02-24) branch: s3-no-vhost
subdirs:
- lib/amazonka
- lib/amazonka-core
- lib/services/amazonka-cloudfront
- lib/services/amazonka-dynamodb
- lib/services/amazonka-s3
- lib/services/amazonka-ses
- lib/services/amazonka-sns
- lib/services/amazonka-sqs
- lib/services/amazonka-sso
- lib/services/amazonka-sts
# Use forked swagger to support aeson >= 2
- git: https://gitlab.com/axeman/swagger
commit: e2d3f5b5274b8d8d301b5377b0af4319cea73f9e
# Use forked cql-io for https://gitlab.com/twittner/cql-io/-/merge_requests/20
- git: https://gitlab.com/axeman/cql-io
commit: c2b6aa995b5817ed7c78c53f72d5aa586ef87c36
############################################################
# Wire packages
############################################################
- git: https://github.com/wireapp/cryptobox-haskell
commit: 7546a1a25635ef65183e3d44c1052285e8401608 # master (Jul 21, 2016)
- git: https://github.com/wireapp/hsaml2
commit: d43818aac56678f0be02d0101d224fe0f6cdf131 # (Mar 21, 2022)
- git: https://github.com/wireapp/http-client
commit: 9100baeddbd15d93dc58a826ae812dafff29d5fd # master (Jun 16, 2020)
subdirs:
- http-client
- http-client-openssl
- http-client-tls
- http-conduit
# Dropped from upstream snapshot
- template-0.2.0.10
- HaskellNet-0.6
- smtp-mail-0.3.0.0
- stm-containers-1.2
- redis-resp-1.0.0
- stm-hamt-1.2.0.6
- primitive-unlifted-1.0.0.0
- prometheus-2.2.2 # Only in nightly so far
# Not on stackage
- currency-codes-3.0.0.1
- mime-0.4.0.2
- data-timeout-0.3.1
- geoip2-0.4.1.0
- stomp-queue-0.5.1
- text-icu-translit-0.1.0.7
- wai-middleware-gunzip-0.0.2
- cql-io-tinylog-0.1.0
- invertible-hxt-0.1
- base58-bytestring-0.1.0
- stompl-0.6.0
- pattern-trie-0.1.1
- markov-chain-usage-model-0.0.0
- wai-predicates-1.0.0
- redis-io-1.1.0
- warp-3.3.17
# Not latest as last one breaks wai-routing
- wai-route-0.4.0
# Not updated on Stackage yet
- QuickCheck-2.14.2
- splitmix-0.1.0.4 # needed for QuickCheck
- servant-mock-0.8.7
- servant-swagger-ui-0.3.5.3.52.5
- tls-1.5.5
- cryptonite-0.29
# For changes from https://github.com/haskell-servant/servant/pull/1502
# Not released to hackage yet
- git: https://github.com/haskell-servant/servant.git
commit: 75db4a5327d6d04ae2460bd5ffd008fe16197ba8
subdirs:
- servant
- servant-server
- servant-client
- servant-client-core
- HsOpenSSL-x509-system-0.1.0.4
- cql-4.0.3
- primitive-extras-0.10.1.1
- text-format-0.3.2
- hex-0.2.0
# Not in the upstream snapshot and not using latest version on hackage due to
# breaking change
- quickcheck-state-machine-0.7.1
- servant-multipart-0.12.1
# Dependencies on upstream source
# Required for GHC 8.8, but not released to hackage yet
- git: https://github.com/dpwright/HaskellNet-SSL
commit: ca84ef29a93eaef7673fa58056cdd8dae1568d2d # master (Sep 14, 2020)
# Fix for server sending too many empty data frames
- git: https://github.com/wireapp/http2
commit: aa3501ad58e1abbd196781fac25a84f41ec2a787 # avoid-empty-data branch
# Error handling fix: https://github.com/vincenthz/hs-certificate/pull/125
- git: https://github.com/vincenthz/hs-certificate
commit: a899bda3d7666d25143be7be8f3105fc076703d9 # master (Sep 29, 2021)
subdirs:
- x509-store
# Not on stackage yet
- polysemy-1.7.1.0
- polysemy-plugin-0.4.2.0
- polysemy-check-0.9.0.0
# polysemy-check has this upper bound
- kind-generics-0.4.1.0
# ad-hoc additions (on 2021-10-10)
- proto-lens-0.7.1.0
- proto-lens-protoc-0.7.1.0
- proto-lens-runtime-0.7.0.1
- proto-lens-setup-0.4.0.5
- tracing-0.0.7.2
- zlib-0.6.3.0
- timeout-0.1.1
############################################################
# Development tools
############################################################
- ormolu-0.1.4.1
- ghc-lib-parser-8.10.1.20200412@sha256:b0517bb150a02957d7180f131f5b94abd2a7f58a7d1532a012e71618282339c2,8751 # for ormolu
- headroom-0.4.2.0
- implicit-hie-0.1.2.6
# For aeson >= 2
- hoogle-5.0.18.3