forked from kadena-io/chainweb-node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcabal.project
211 lines (174 loc) · 6.29 KB
/
cabal.project
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
packages: chainweb.cabal
debug-info: True
-- -------------------------------------------------------------------------- --
-- Platform specific locations of external libraries
if os(darwin)
if arch(aarch64)
package *
extra-include-dirs:
/opt/homebrew/include
/opt/homebrew/opt/openssl/include
extra-lib-dirs:
/opt/homebrew/lib
/opt/homebrew/opt/openssl/lib
else
package *
extra-include-dirs:
/opt/local/include
/usr/local/opt/openssl/include
extra-lib-dirs:
/opt/local/lib
/usr/local/opt/openssl/lib/
-- -------------------------------------------------------------------------- --
-- Package Specific Build Settings
package chainweb
tests: True
benchmarks: True
if impl(ghc >= 9.8.1)
package chainweb
ghc-options: -Wno-x-partial
-- Remove once we actually upgrade to GHC 9.8.1, these
-- will be released
allow-newer: bytesmith:bytestring
allow-newer: bytebuild:*
allow-newer: byteslice:*
constraints: haskell-src-meta >= 0.8.13
package pact
ghc-options: -Wwarn
optimization: True
-- avoid conflict with cryptonite during linking
flags: +cryptonite-ed25519 -build-tool
package rocksdb-haskell-kadena
ghc-options: -Wwarn -optc-w -optcxx-w
package crypton
flags: +support_pclmuldq
package vault
documentation: false
package yet-another-logger
flags: -tbmqueue
-- -------------------------------------------------------------------------- --
-- Source Repository Packages
--
-- In order to determine proper sha256 value each time the revision is
-- changed, please run the following command:
--
-- nix-prefetch-git --url <location> --rev <tag>
source-repository-package
type: git
location: https://github.com/kadena-io/pact.git
tag: 495c8738acaa0157958ab23a06cd94abbc99d2d5
--sha256: 1dn322m5mx43bn3ki37zdk9daknnr6sz8y7d89si75m84rl0w27k
source-repository-package
type: git
location: https://github.com/kadena-io/pact-json.git
tag: 1d260bfaa48312b54851057885de4c43c420e35f
--sha256: 0fzq4mzaszj5clvixx9mn1x6r4dcrnwvbl2znd0p5mmy5h2jr0hh
source-repository-package
type: git
location: https://github.com/kadena-io/chainweb-storage.git
tag: 4b45c1ab9c070c6d16a058bcbab0c06ac0fb6d4e
--sha256: 0m6c7kl6x5a3k02q2i7qzfx91kxz19dzav0piqfxra52bq0x3sm6
source-repository-package
type: git
location: https://github.com/kadena-io/rocksdb-haskell.git
tag: b35d82bad2194a916c821457069388410662b58c
--sha256: 0p60xjqv7ayy6vh263id6l2fpa4rr95vnhisa691ix9h8rnwc7hk
source-repository-package
type: git
location: https://github.com/kadena-io/rosetta.git
tag: 6c8dd2eea1f6d0dba925646dbcb6e07feeccbfd5
--sha256: 19pjy06xrx2siggzybcmly0qaq4ds3yzxcsvqwgs4qh9kkzh0kqh
source-repository-package
type: git
location: https://github.com/kadena-io/kadena-ethereum-bridge.git
tag: 7119860463f05e452288eac651c38313a04d6b6b
--sha256: 191iy36rpb3rk15kk48n8vqiawaablcms9imgld5sg15gb7859vf
source-repository-package
type: git
location: https://github.com/kadena-io/wai-middleware-validation.git
tag: e0437bf82e9b4d3fec5ad42ef6e860f4bd04e1b4
--sha256: 1az7jcggcj275djnfsvhdg3n7hjrj6vp8rj137fxrg4hazh0hyzv
-- Required for backward compatibility:
-- ixset-typed FIX (no PR yet)
source-repository-package
type: git
location: https://github.com/larskuhtz/ixset-typed
tag: d8019c3404d6f3b3c0b0416e9899cfdf614ef425
--sha256: 09msayidg23rsdz97fcfqqalm4pbawx3c1qihgab8hnlmjxby103
-- Patch merged into master (upcoming version 10.0). We are currently using 9.2
source-repository-package
type: git
location: https://github.com/larskuhtz/sbv
tag: b66e3a04c20f753213fe7e5115a95b3fe34109f9
--sha256: 0dca5pl56nz8ijnqavnpxw5f47qmpalszd5w0ag8bq3fd0l3839m
-- Required for non-canonical decode in base64-bytestring (remove after 2.20 fork)
source-repository-package
type: git
location: https://github.com/emilypi/base64-bytestring-kadena
tag: 174af3523616c8fe01449da5ccbb9f16df097ac3
--sha256: sha256-kVFIy+Aj3TNJpsM1Cs/5uGmzeWwHKYWjjCQ+L1/XOj8=
source-repository-package
type: git
location: https://github.com/chessai/patience
tag: 2f67d546ea6608fc6ebe5f2f6976503cbf340442
--sha256: 0x137akvbh4kr3qagksw74xdj2xz5vjnx1fbr41bb54a0lkcb8mm
source-repository-package
type: git
location: https://github.com/andrewthad/chronos
tag: b199bf6df1453af95832c2d2f9f0ef48c3622caa
--sha256: 056awkmdmkqdd5g3m8a1ibg2vp02kbppmidkfh4aildb1brq970a
-- -------------------------------------------------------------------------- --
-- Relaxed Bounds
-- GHC-9:
allow-newer: token-bucket:*
allow-newer: ixset-typed:*
-- TODO: I think this fixed?
allow-newer: rosetta:*
-- Servant is notoriously forcing outdated upper bounds onto its users.
-- It is usually safe to just ignore those.
--
allow-newer: servant-server:*
allow-newer: servant-client-core:*
allow-newer: servant-client:*
allow-newer: servant:*
-- these are more liberal than necessary, but since everything works fine
-- with this there's no reason to constrain it more than necessary.
-- These packages are tightly bound to the GHC version and these
-- settings ensure that we use the versions that are shipped with the
-- GHC version that we are using.
allow-newer: *:Cabal
allow-newer: *:Cabal-syntax
allow-newer: *:array
allow-newer: *:base
allow-newer: *:bytestring
allow-newer: *:containers
allow-newer: *:deepseq
allow-newer: *:directory
allow-newer: *:exceptions
allow-newer: *:ghc-compact
allow-newer: *:ghc-prim
allow-newer: *:integer-gmp
allow-newer: *:mtl
allow-newer: *:parsec
allow-newer: *:pretty
allow-newer: *:process
allow-newer: *:stm
allow-newer: *:template-haskell
allow-newer: *:text
allow-newer: *:time
allow-newer: *:transformers
-- Pact uses a vendored version of trifecta that has outdated
-- upper bounds
allow-newer: trifecta:*
-- wai-middleware-validation dependencies
allow-newer: wai-middleware-validation:*
allow-newer: validation:*
allow-newer: these:*
allow-newer: regex-base:*
allow-newer: regex-tdfa:*
allow-newer: base-compat-batteries:*
-- -------------------------------------------------------------------------- --
-- Upper Bounds
allow-newer: webauthn:these
allow-newer: webauthn:time
allow-newer: webauthn:aeson