forked from kadena-io/pact
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpact.cabal
327 lines (311 loc) · 11.9 KB
/
pact.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
327
name: pact
version: 3.0.1
synopsis: Smart contract language library and REPL
description:
Pact is a transactional, database-focused, Turing-incomplete, interpreted language for smart contracts,
logic to be deployed and executed on a blockchain/distributed ledger. For more information see
<http://kadena.io/pact>.
homepage: https://github.com/kadena-io/pact
bug-reports: https://github.com/kadena-io/pact/issues
license: BSD3
license-file: LICENSE
author: Stuart Popejoy
maintainer: [email protected]
copyright: Copyright (C) 2016 Stuart Popejoy
category: Language
build-type: Simple
cabal-version: >=1.22
flag cryptonite-ed25519
description: use cryptonite instead of ed25519-donna
default: False
manual: True
library
exposed-modules: Pact.Analyze.Remote.Types
, Pact.Compile
, Pact.Eval
, Pact.Gas
, Pact.Gas.Table
, Pact.Native
, Pact.Native.Capabilities
, Pact.Native.Db
, Pact.Native.Internal
, Pact.Native.SPV
, Pact.Native.Time
, Pact.Native.Ops
, Pact.Native.Keysets
, Pact.Parse
, Pact.PersistPactDb
, Pact.Persist
, Pact.Persist.Pure
, Pact.Repl
, Pact.Repl.Lib
, Pact.Repl.Types
, Pact.Server.API
, Pact.Types.API
, Pact.Types.ChainId
, Pact.Types.ChainMeta
, Pact.Types.Codec
, Pact.Types.Command
, Pact.Types.Continuation
, Pact.Types.Scheme
, Pact.Types.Exp
, Pact.Types.ExpParser
, Pact.Types.Gas
, Pact.Types.Hash
, Pact.Types.Info
, Pact.Types.Lang
, Pact.Types.Logger
, Pact.Types.Native
, Pact.Types.PactValue
, Pact.Types.Parser
, Pact.Types.Persistence
, Pact.Types.Pretty
, Pact.Types.RPC
, Pact.Types.Runtime
, Pact.Types.Orphans
, Pact.Types.SPV
, Pact.Types.Swagger
, Pact.Types.Term
, Pact.Types.Type
, Pact.Types.Util
, Pact.Types.Version
, Crypto.Hash.Blake2Native
, Pact.Types.Typecheck
, Pact.Typechecker
if impl(ghcjs)
build-depends: ghcjs-dom
exposed-modules:
Pact.Analyze.Remote.Client
if !impl(ghcjs)
hs-source-dirs: src-ghc
exposed-modules:
Pact.Analyze
Pact.Analyze.Alloc
Pact.Analyze.Eval
Pact.Analyze.Eval.Invariant
Pact.Analyze.Eval.Numerical
Pact.Analyze.Eval.Prop
Pact.Analyze.Eval.Core
Pact.Analyze.Eval.Term
Pact.Analyze.Check
Pact.Analyze.Errors
Pact.Analyze.Feature
Pact.Analyze.LegacySFunArray
Pact.Analyze.Model
Pact.Analyze.Model.Dot
Pact.Analyze.Model.Graph
Pact.Analyze.Model.Tags
Pact.Analyze.Model.Text
Pact.Analyze.Parse
Pact.Analyze.Parse.Invariant
Pact.Analyze.Parse.Prop
Pact.Analyze.Parse.Types
Pact.Analyze.Patterns
Pact.Analyze.PrenexNormalize
Pact.Analyze.Translate
Pact.Analyze.Types
Pact.Analyze.Types.Capability
Pact.Analyze.Types.Eval
Pact.Analyze.Types.Languages
Pact.Analyze.Types.Model
Pact.Analyze.Types.Numerical
Pact.Analyze.Types.ObjUtil
Pact.Analyze.Types.Shared
Pact.Analyze.Types.Types
Pact.Analyze.Util
Pact.Analyze.Remote.Server
Pact.ApiReq
Pact.Bench
Pact.Docgen
Pact.Interpreter
Pact.Main
Pact.MockDb
Pact.Persist.MockPersist
Pact.Persist.SQLite
Pact.PersistPactDb.Regression
Pact.ReplTools
Pact.Server.ApiServer
Pact.Server.History.Persistence
Pact.Server.History.Service
Pact.Server.History.Types
Pact.Server.PactService
Pact.Server.Server
Pact.Server.Test
Pact.Types.Crypto
Pact.Types.ECDSA
Pact.Types.Server
Pact.Types.SQLite
build-depends: Decimal >= 0.4.2 && < 0.6
, aeson >= 0.11.3.0 && < 1.5
, algebraic-graphs >= 0.2 && < 0.4
, prettyprinter >= 1.2 && < 1.3
, prettyprinter-ansi-terminal >= 1.1 && < 1.2
, prettyprinter-convert-ansi-wl-pprint
, attoparsec >= 0.13.0.2 && < 0.14
, base >=4.9.0.0 && < 4.13
, base16-bytestring >=0.1.1.6 && < 0.2
, base64-bytestring >= 1.0.0.1
, bound >= 2 && < 2.1
, bytestring >=0.10.8.1 && < 0.11
, cereal >=0.5.4.0 && < 0.6
, containers >= 0.5.7 && < 0.7
, data-default >= 0.7.1.1 && < 0.8
, deepseq >= 1.4.2.0 && < 1.5
, deriving-compat >= 0.5.1
, directory >= 1.2.6.2 && < 1.4
, exceptions >= 0.8.3 && < 0.11
, filepath >= 1.4.1.0 && < 1.5
, hashable >= 1.2.4.0 && < 1.3
, hspec >= 2.2.4 && < 2.8
, lens >= 4.14 && < 4.18
, lens-aeson >= 1.0.0.5 && < 1.1
, megaparsec >= 6
, mtl >= 2.2.1 && < 2.3
, old-locale >= 1.0.0.7 && < 1.1
, optparse-applicative >= 0.12.1.0 && < 0.15
, parsers >= 0.12.4 && < 0.13
, reflection
, safe >= 0.3.11 && < 0.4
, scientific >= 0.3.4.9 && < 0.4
, semigroups >= 0.18.2 && < 0.19
, semigroupoids >= 5.0
, stm >= 2.4.4.1 && < 2.6
, text >= 1.2.2.1 && < 1.3
-- kadena ghcjs compat fork
, thyme == 0.3.6.0
, transformers >= 0.5.2.0 && < 0.6
, trifecta >= 2 && < 2.1
, unordered-containers >= 0.2.7.2 && < 0.3
, utf8-string >= 1.0.1.1 && < 1.1
, vector >= 0.11.0.0 && < 0.13
, vector-algorithms >= 0.7
, vector-space >= 0.10.4 && < 0.16
, mmorph >= 1.1 && < 1.2
, constraints
, servant
, servant-client
, servant-client-core
, servant-swagger
, swagger2 >= 2.3
if impl(ghcjs)
build-depends:
ghcjs-base,
ghcjs-prim
if !impl(ghcjs)
build-depends:
async
, criterion >= 1.1.4 && < 1.6
, cryptonite
, direct-sqlite
, fast-logger
, haskeline >= 0.7.3 && < 0.8
, http-client
, memory
, neat-interpolation
, safe-exceptions >= 0.1.5.0 && < 0.2
, sbv >= 7.11
, servant-server
, statistics >= 0.13.3 && < 0.16
, wai-cors
, warp
, yaml
if !impl(ghcjs) && !os(windows)
build-depends: unix
if !impl(ghcjs) && !os(windows) && !flag(cryptonite-ed25519)
build-depends:
crypto-api
, ed25519-donna
if !impl(ghcjs) && (os(windows) || flag(cryptonite-ed25519))
cpp-options: -DCRYPTONITE_ED25519
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall -Werror -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints
ghc-prof-options: -fprof-auto -fprof-auto-calls
executable pact
main-is: Repl.hs
build-depends: base
, pact
hs-source-dirs: executables
ghc-options: -Wall -threaded -rtsopts -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints
ghc-prof-options: -fprof-auto -fprof-auto-calls
default-language: Haskell2010
if os(darwin)
ghc-options: -optP-Wno-nonportable-include-path
executable bench
main-is: Bench.hs
build-depends: base
, pact
hs-source-dirs: executables pact-lang-api.js
ghc-options: -Wall -threaded -rtsopts -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints
ghc-prof-options: -fprof-auto -fprof-auto-calls
default-language: Haskell2010
test-suite hspec
if !impl(ghcjs)
main-is: hspec.hs
type: exitcode-stdio-1.0
else
main-is: hspec-ghcjs.hs
type: exitcode-stdio-1.0
hs-source-dirs: tests
default-language: Haskell2010
ghc-options: -Wall -threaded -rtsopts -O2 -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints
build-depends:
base
, Decimal
, HUnit
, aeson
, base16-bytestring >=0.1.1.6 && < 0.2
, bound
, bytestring
, containers
, data-default
, deepseq
, directory
, errors >= 2.3
, exceptions
, filepath
, hedgehog == 0.6.*
, hspec
, hw-hspec-hedgehog == 0.1.*
, intervals
, lens
, mmorph
, mtl
, pact
, prettyprinter
, prettyprinter-ansi-terminal
, prettyprinter-convert-ansi-wl-pprint
, text
, transformers
, unordered-containers
, vector
other-modules:
Blake2Spec
KeysetSpec
TypesSpec
if !impl(ghcjs)
build-depends:
neat-interpolation
, sbv
, async
, cryptonite
, http-client
, servant-client
other-modules:
DocgenSpec
, PactTestsSpec
, ParserSpec
, PersistSpec
, RemoteVerifySpec
, SignatureSpec
, TypecheckSpec
, PactContinuationSpec
, AnalyzePropertiesSpec
, AnalyzeSpec
, Analyze.Eval
, Analyze.Gen
, Analyze.TimeGen
, Analyze.Translate
, ClientSpec
, SchemeSpec
, HistoryServiceSpec