/
blockfrost-api.cabal
172 lines (165 loc) · 6.14 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
cabal-version: 2.2
name: blockfrost-api
version: 0.1.0.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: srk@48.io
copyright: 2021 blockfrost.io
category: Web
build-type: Simple
extra-source-files:
CHANGELOG.md
LICENSE
README.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
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.Metadata
, Blockfrost.API.Cardano.Network
, Blockfrost.API.Cardano.Pools
, Blockfrost.API.Cardano.Scripts
, Blockfrost.API.Cardano.Transactions
, 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.Metadata
, Blockfrost.Types.Cardano.Network
, Blockfrost.Types.Cardano.Pools
, Blockfrost.Types.Cardano.Scripts
, Blockfrost.Types.Cardano.Transactions
, 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.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.Util.LensRules
, Blockfrost.Util.Pagination
, Blockfrost.Util.Sorting
, Blockfrost.Util.Tag
build-depends: base >= 4.7 && < 5
, bytestring
, data-default-class
, text
, time
, aeson
, deriving-aeson
, lens
, template-haskell
, servant ^>= 0.18
, servant-docs
, servant-multipart-api
, safe-money
, quickcheck-instances
, QuickCheck
, 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.Epochs
, Cardano.Ledger
, Cardano.Metadata
, Cardano.Network
, Cardano.Pools
, Cardano.Scripts
, Cardano.Transactions
, IPFS
, NutLink
build-depends: base >= 4.7 && < 5
, blockfrost-api
, aeson
, bytestring
, 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