forked from seagreen/hjsonschema
-
Notifications
You must be signed in to change notification settings - Fork 1
/
hjsonschema.cabal
207 lines (199 loc) · 5.02 KB
/
hjsonschema.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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
name: hjsonschema
version: 1.9.0
synopsis: JSON Schema library
homepage: https://github.com/seagreen/hjsonschema
license: MIT
license-file: MIT-LICENSE.txt
author: Ian Grant Jeffries
maintainer: [email protected]
category: Data
build-type: Simple
cabal-version: >=1.10
-- Rerun multi-ghc-travis (executable make-travis-yml-2) after changing:
Tested-With: GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.1
extra-source-files:
changelog.md
JSON-Schema-Test-Suite/remotes/*.json
JSON-Schema-Test-Suite/remotes/folder/*.json
JSON-Schema-Test-Suite/tests/draft4/*.json
JSON-Schema-Test-Suite/tests/draft4/optional/*.json
README.md
src/draft4.json
test/Local/*.json
test/supplement/*.json
examples/json/*.json
library
hs-source-dirs:
src
default-language: Haskell2010
default-extensions:
DeriveFunctor
DeriveGeneric
GeneralizedNewtypeDeriving
NoImplicitPrelude
OverloadedStrings
ScopedTypeVariables
if impl(ghc >= 8)
default-extensions: StrictData
ghc-options:
-Wall
exposed-modules:
JSONSchema.Draft4
, JSONSchema.Draft4.Failure
, JSONSchema.Draft4.Schema
, JSONSchema.Draft4.Spec
, JSONSchema.Fetch
, JSONSchema.Types
, JSONSchema.Validator.Draft4
, JSONSchema.Validator.Draft4.Any
, JSONSchema.Validator.Draft4.Array
, JSONSchema.Validator.Draft4.Number
, JSONSchema.Validator.Draft4.Object
, JSONSchema.Validator.Draft4.String
, JSONSchema.Validator.Reference
, JSONSchema.Validator.Types
, JSONSchema.Validator.Utils
other-modules:
JSONSchema.Validator.Draft4.Object.Properties
, Import
build-depends:
base >= 4.7 && < 5
-- 0.11 is for `.:!`:
, aeson >= 0.11
, bytestring >= 0.10
, containers >= 0.5
, file-embed >= 0.0.8
, filepath >= 1.3
, hashable >= 1.2
, hjsonpointer >= 1.1
-- 0.4.30 is for parseUrlThrow:
, http-client >= 0.4.30
, http-client-tls >= 0.3
, http-types >= 0.8
, pcre-heavy >= 1.0
, profunctors >= 5.0
, protolude >= 0.1.10
, QuickCheck >= 2.8
, safe-exceptions >= 0.1.6
, scientific >= 0.3
, unordered-containers >= 0.2
, text >= 1.1
, vector >= 0.10
test-suite spec
hs-source-dirs:
test
src
main-is: Spec.hs
type: exitcode-stdio-1.0
default-language: Haskell2010
ghc-options:
-Wall
default-extensions:
DeriveGeneric
NoImplicitPrelude
OverloadedStrings
ScopedTypeVariables
other-modules:
Import
JSONSchema.Validator.Draft4.String
JSONSchema.Validator.Draft4.StringSpec
build-depends:
base >= 4.7 && < 5
-- 0.11 is for `.:!`:
, aeson >= 0.11
, bytestring >= 0.10
, containers >= 0.5
, file-embed >= 0.0.8
, filepath >= 1.3
, hashable >= 1.2
, hjsonpointer >= 1.1
-- 0.4.30 is for parseUrlThrow:
, http-client >= 0.4.30
, http-client-tls >= 0.3
, http-types >= 0.8
, pcre-heavy >= 1.0
, profunctors >= 5.0
, protolude >= 0.1.10
, QuickCheck >= 2.8
, safe-exceptions >= 0.1.6
, scientific >= 0.3
, unordered-containers >= 0.2
, text >= 1.1
, vector >= 0.10
, hspec >= 2.2
test-suite local
hs-source-dirs:
test
examples
main-is: Local.hs
type: exitcode-stdio-1.0
default-language: Haskell2010
ghc-options:
-Wall
-fno-warn-orphans
default-extensions:
DeriveGeneric
NoImplicitPrelude
OverloadedStrings
ScopedTypeVariables
other-modules:
Local.Failure
, Local.Reference
, Local.Validation
, Shared
-- from ./examples:
, AlternateSchema
, Simple
, TwoStep
build-depends:
base
, aeson
, bytestring
, filepath
, hjsonpointer
, hjsonschema
, profunctors
, protolude
, text
, QuickCheck
, unordered-containers
, vector
-- directory-1.2.5 required for `listDirectory`:
, directory >= 1.2.5
, hspec >= 2.2
test-suite remote
hs-source-dirs:
test
examples
main-is: Remote.hs
type: exitcode-stdio-1.0
default-language: Haskell2010
ghc-options:
-Wall
-fno-warn-orphans
default-extensions:
DeriveGeneric
NoImplicitPrelude
OverloadedStrings
ScopedTypeVariables
other-modules:
Shared
-- from ./examples:
, AlternateSchema
build-depends:
base
, aeson
, async
, bytestring
, filepath
, hjsonpointer
, hjsonschema
, profunctors
, protolude
, text
, unordered-containers
, vector
, directory
, hspec
, wai-app-static
, warp