-
Notifications
You must be signed in to change notification settings - Fork 21
/
blockfrost-api.cabal
185 lines (178 loc) · 6.85 KB
/
blockfrost-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
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
cabal-version: 2.2
name: blockfrost-api
version: 0.12.1.0
synopsis: API definitions for blockfrost.io
description: Core types and Servant API description
homepage: https://github.com/blockfrost/blockfrost-haskell
license: Apache-2.0
license-file: LICENSE
author: blockfrost.io
maintainer: [email protected]
copyright: 2021 blockfrost.io
category: Cardano
build-type: Simple
extra-source-files:
LICENSE
README.md
extra-doc-files:
CHANGELOG.md
flag BuildFast
Default: True
Description: Turn off optimizations
flag Production
Default: False
Manual: True
Description: Production build
common libstuff
default-language: Haskell2010
default-extensions:
DataKinds
DeriveAnyClass
DeriveGeneric
DerivingVia
DuplicateRecordFields
GADTs
GeneralizedNewtypeDeriving
FlexibleContexts
FlexibleInstances
InstanceSigs
LambdaCase
MultiParamTypeClasses
QuasiQuotes
RankNTypes
ScopedTypeVariables
TemplateHaskell
TypeApplications
TypeFamilies
TypeOperators
ViewPatterns
OverloadedStrings
ghc-options: -Wall -Wunused-packages -fno-warn-orphans
if flag(BuildFast)
ghc-options: -O0
if flag(Production)
ghc-options: -Werror
library
import: libstuff
hs-source-dirs: src
exposed-modules: Blockfrost.API
, Blockfrost.API.Common
, Blockfrost.API.Cardano
, Blockfrost.API.Cardano.Accounts
, Blockfrost.API.Cardano.Addresses
, Blockfrost.API.Cardano.Assets
, Blockfrost.API.Cardano.Blocks
, Blockfrost.API.Cardano.Epochs
, Blockfrost.API.Cardano.Ledger
, Blockfrost.API.Cardano.Mempool
, Blockfrost.API.Cardano.Metadata
, Blockfrost.API.Cardano.Network
, Blockfrost.API.Cardano.Pools
, Blockfrost.API.Cardano.Scripts
, Blockfrost.API.Cardano.Transactions
, Blockfrost.API.Cardano.Utils
, Blockfrost.API.IPFS
, Blockfrost.API.NutLink
, Blockfrost.Auth
, Blockfrost.Env
, Blockfrost.Lens
, Blockfrost.Types
, Blockfrost.Types.ApiError
, Blockfrost.Types.Common
, Blockfrost.Types.Cardano
, Blockfrost.Types.Cardano.Accounts
, Blockfrost.Types.Cardano.Addresses
, Blockfrost.Types.Cardano.Assets
, Blockfrost.Types.Cardano.Blocks
, Blockfrost.Types.Cardano.Epochs
, Blockfrost.Types.Cardano.Genesis
, Blockfrost.Types.Cardano.Mempool
, Blockfrost.Types.Cardano.Metadata
, Blockfrost.Types.Cardano.Network
, Blockfrost.Types.Cardano.Pools
, Blockfrost.Types.Cardano.Scripts
, Blockfrost.Types.Cardano.Transactions
, Blockfrost.Types.Cardano.Utils
, Blockfrost.Types.IPFS
, Blockfrost.Types.NutLink
, Blockfrost.Types.Shared
, Blockfrost.Types.Shared.Ada
, Blockfrost.Types.Shared.Address
, Blockfrost.Types.Shared.BlockHash
, Blockfrost.Types.Shared.BlockIndex
, Blockfrost.Types.Shared.Epoch
, Blockfrost.Types.Shared.CBOR
, Blockfrost.Types.Shared.DatumHash
, Blockfrost.Types.Shared.Opts
, Blockfrost.Types.Shared.POSIXMillis
, Blockfrost.Types.Shared.ScriptHash
, Blockfrost.Types.Shared.Slot
, Blockfrost.Types.Shared.TxHash
, Blockfrost.Types.Shared.Amount
, Blockfrost.Types.Shared.AssetId
, Blockfrost.Types.Shared.PolicyId
, Blockfrost.Types.Shared.PoolId
, Blockfrost.Types.Shared.Quantity
, Blockfrost.Types.Shared.ValidationPurpose
, Blockfrost.Util.LensRules
, Blockfrost.Util.Pagination
, Blockfrost.Util.Sorting
, Blockfrost.Util.Tag
, Blockfrost.Util.UserAgent
, Paths_blockfrost_api
autogen-modules: Paths_blockfrost_api
build-depends: base >= 4.7 && < 5
, bytestring
, containers
, data-default-class
, text
, time
, aeson >= 2.0 && < 3.0
, deriving-aeson
, lens >= 5.0 && < 5.4
, template-haskell
, servant >= 0.18 && < 0.21
, servant-docs
, servant-multipart-api
, safe-money >= 0.9 && < 0.10
, vector
test-suite blockfrost-api-tests
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
other-modules: AmountSpec
, APISpec
, Cardano.Accounts
, Cardano.Addresses
, Cardano.Assets
, Cardano.Blocks
, Cardano.Epochs
, Cardano.Ledger
, Cardano.Metadata
, Cardano.Network
, Cardano.Pools
, Cardano.Scripts
, Cardano.Transactions
, Cardano.Utils
, IPFS
, NutLink
build-depends: base >= 4.7 && < 5
, blockfrost-api
, aeson
, bytestring
, containers
, text
, data-default
, safe-money
, raw-strings-qq
, vector
, hspec
, tasty
, tasty-hspec
, tasty-hunit
build-tool-depends:
tasty-discover:tasty-discover
default-language: Haskell2010
source-repository head
type: git
location: https://github.com/blockfrost/blockfrost-haskell