/
marlowe-playground-server.cabal
165 lines (160 loc) · 4.01 KB
/
marlowe-playground-server.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
cabal-version: >=1.10
name: marlowe-playground-server
version: 0.1.0.0
license: Apache-2.0
license-files:
LICENSE
NOTICE
author: Pablo Lamela
category: Web
build-type: Simple
extra-source-files:
README.md
source-repository head
type: git
location: https://github.com/iohk/plutus
library
exposed-modules:
-- src
API
Marlowe.Config
Marlowe.Contracts
Marlowe.Mermaid
Server
-- contracts
ContractForDifferences
ContractForDifferencesWithOracle
CouponBondGuaranteed
Escrow
EscrowWithCollateral
Example
Swap
ZeroCouponBond
-- Include 'contracts' so haskell.nix knows to include the files that we embed with TH
hs-source-dirs:
src
contracts
default-language: Haskell2010
build-depends:
aeson -any,
base >=4.7 && <5,
bytestring -any,
bytestring -any,
containers -any,
cookie -any,
directory -any,
exceptions -any,
file-embed -any,
filepath -any,
hashable -any,
http-client -any,
http-client-tls -any,
http-conduit -any,
http-types -any,
playground-common -any,
jwt -any,
lens -any,
marlowe -any,
marlowe-symbolic -any,
marlowe-actus -any,
monad-logger -any,
mtl -any,
newtype-generics -any,
process -any,
servant >= 0.16,
servant-client -any,
servant-client-core -any,
servant-purescript -any,
servant-server -any,
stm -any,
temporary -any,
text -any,
time -any,
time-units -any,
transformers -any,
unordered-containers,
wai-cors -any,
web-ghc -any,
uuid -any,
validation -any
executable marlowe-playground-server
main-is: Main.hs
other-modules:
Webserver
PSGenerator
Types
Escrow
EscrowWithCollateral
Example
CouponBondGuaranteed
ZeroCouponBond
Swap
Option
ContractForDifferences
ContractForDifferencesWithOracle
hs-source-dirs: app contracts
default-language: Haskell2010
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall
-Wincomplete-uni-patterns -Wincomplete-record-updates
build-depends:
aeson -any,
base -any,
bytestring -any,
containers -any,
directory -any,
filepath -any,
http-client -any,
http-types -any,
playground-common -any,
lens -any,
marlowe -any,
marlowe-playground-server -any,
marlowe-symbolic -any,
marlowe-actus -any,
monad-logger -any,
mtl -any,
plutus-ledger,
plutus-tx,
purescript-bridge -any,
optparse-applicative -any,
servant-client -any,
servant-foreign -any,
servant-server -any,
servant-purescript -any,
text -any,
wai -any,
warp -any,
web-ghc -any,
time -any,
time-units -any
executable flow-chart-generator
main-is: FlowChartGenerator.hs
other-modules:
Types
Escrow
EscrowWithCollateral
Example
CouponBondGuaranteed
ZeroCouponBond
Swap
Option
ContractForDifferences
ContractForDifferencesWithOracle
hs-source-dirs: app contracts
default-language: Haskell2010
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -Wunused-packages
-Wincomplete-uni-patterns -Wincomplete-record-updates
build-depends:
aeson -any,
base -any,
playground-common -any,
marlowe -any,
marlowe-playground-server -any
test-suite marlowe-playground-server-test
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: test
default-language: Haskell2010
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends:
base -any