/
plutus-ledger-api.cabal
100 lines (94 loc) · 2.82 KB
/
plutus-ledger-api.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
cabal-version: 2.2
name: plutus-ledger-api
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: Interface to the Plutus ledger for the Cardano ledger.
description:
Interface to the Plutus scripting support for the Cardano ledger.
category: Language
build-type: Simple
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 -Wunused-packages
-Wincomplete-uni-patterns -Wincomplete-record-updates
-Wredundant-constraints -Widentities -Wunused-packages
-- See Plutus Tx readme
-fobject-code -fno-ignore-interface-pragmas -fno-omit-interface-pragmas
library
import: lang
hs-source-dirs: src
default-language: Haskell2010
exposed-modules:
Data.Aeson.Extras
Data.Either.Extras
Data.Text.Prettyprint.Doc.Extras
Plutus.V1.Ledger.Address
Plutus.V1.Ledger.Ada
Plutus.V1.Ledger.Api
Plutus.V1.Ledger.Bytes
Plutus.V1.Ledger.Contexts
Plutus.V1.Ledger.Credential
Plutus.V1.Ledger.Crypto
Plutus.V1.Ledger.DCert
Plutus.V1.Ledger.Examples
Plutus.V1.Ledger.Interval
Plutus.V1.Ledger.Orphans
Plutus.V1.Ledger.Scripts
Plutus.V1.Ledger.Slot
Plutus.V1.Ledger.Tx
Plutus.V1.Ledger.TxId
Plutus.V1.Ledger.Time
Plutus.V1.Ledger.Value
Plutus.V2.Ledger.Api
Plutus.V2.Ledger.Contexts
build-depends:
base >=4.9 && <5,
aeson -any,
bytestring -any,
cborg -any,
containers -any,
flat -any,
hashable -any,
plutus-core -any,
memory -any,
mtl -any,
plutus-tx -any,
serialise -any,
template-haskell -any,
text -any,
prettyprinter -any,
transformers -any,
base16-bytestring >= 1,
deepseq -any,
newtype-generics -any,
tagged -any,
lens -any,
scientific -any
test-suite plutus-ledger-api-test
import: lang
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: test
other-modules:
Spec.Interval
Spec.Time
build-depends:
base >=4.9 && <5,
aeson -any,
plutus-ledger-api -any,
hedgehog -any,
tasty -any,
tasty-hedgehog -any,
tasty-hunit -any