/
plutus-ledger.cabal
136 lines (129 loc) · 3.96 KB
/
plutus-ledger.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
cabal-version: 2.2
name: plutus-ledger
version: 0.1.0.0
license: Apache-2.0
license-files:
LICENSE
NOTICE
maintainer: michael.peyton-jones@iohk.io
author: Michael Peyton Jones, Jann Mueller
synopsis: Wallet API
description:
Plutus ledger library
category: Language
build-type: Simple
extra-doc-files: README.md
source-repository head
type: git
location: https://github.com/input-output-hk/plutus
common lang
default-language: Haskell2010
default-extensions: ExplicitForAll ScopedTypeVariables
DeriveGeneric StandaloneDeriving DeriveLift
GeneralizedNewtypeDeriving DeriveFunctor DeriveFoldable
DeriveTraversable MultiParamTypeClasses FlexibleContexts
ghc-options: -Wall -Wnoncanonical-monad-instances
-Wincomplete-uni-patterns -Wincomplete-record-updates
-Wredundant-constraints -Widentities
-- See Plutus Tx readme
-fobject-code -fno-ignore-interface-pragmas -fno-omit-interface-pragmas
flag defer-plugin-errors
description:
Defer errors from the plugin, useful for things like Haddock that can't handle it.
default: False
manual: True
library
import: lang
hs-source-dirs: src
default-language: Haskell2010
exposed-modules:
Ledger
Ledger.AddressMap
Ledger.Blockchain
Ledger.Constraints
Ledger.Constraints.OffChain
Ledger.Constraints.OnChain
Ledger.Constraints.TxConstraints
Ledger.Generators
Ledger.Oracle
Ledger.Orphans
Ledger.Index
Ledger.Tokens
Ledger.Typed.Scripts
Ledger.Typed.Scripts.Validators
Ledger.Typed.Tx
Ledger.Typed.TypeUtils
reexported-modules:
Data.Aeson.Extras,
Data.Either.Extras,
Data.Text.Prettyprint.Doc.Extras,
Plutus.V1.Ledger.Address as Ledger.Address,
Plutus.V1.Ledger.Ada as Ledger.Ada,
Plutus.V1.Ledger.Bytes as Ledger.Bytes,
Plutus.V1.Ledger.Contexts as Ledger.Contexts,
Plutus.V1.Ledger.Credential as Ledger.Credential,
Plutus.V1.Ledger.DCert as Ledger.DCert,
Plutus.V1.Ledger.Crypto as Ledger.Crypto,
Plutus.V1.Ledger.Interval as Ledger.Interval,
Plutus.V1.Ledger.Scripts as Ledger.Scripts,
Plutus.V1.Ledger.Slot as Ledger.Slot,
Plutus.V1.Ledger.Tx as Ledger.Tx,
Plutus.V1.Ledger.TxId as Ledger.TxId,
Plutus.V1.Ledger.Value as Ledger.Value
build-depends:
base >=4.9 && <5,
aeson -any,
base16-bytestring,
bytestring -any,
cborg -any,
containers -any,
cryptonite >=0.25,
flat -any,
hashable -any,
hedgehog -any,
plutus-core -any,
plutus-ledger-api -any,
memory -any,
mtl -any,
natural-transformation -any,
operational -any,
plutus-tx-plugin -any,
prettyprinter -any,
plutus-tx -any,
serialise -any,
servant -any,
template-haskell -any,
text -any,
transformers -any,
recursion-schemes -any,
lens -any,
deriving-compat -any,
newtype-generics -any,
http-api-data -any,
cardano-crypto -any,
deepseq -any,
freer-simple -any,
semigroups -any
ghc-options: -fprint-potential-instances
if flag(defer-plugin-errors)
ghc-options: -fplugin-opt PlutusTx.Plugin:defer-errors
test-suite plutus-ledger-test
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: test
default-language: Haskell2010
build-depends:
base >=4.9 && <5,
containers -any,
hedgehog -any,
tasty -any,
tasty-hedgehog -any,
tasty-hunit -any,
transformers -any,
plutus-ledger -any,
plutus-tx -any,
lens -any,
bytestring -any,
aeson -any,
plutus-core -any,
plutus-tx-plugin -any