git.iko.soy/typeable/hjsonschema
on master help sign in
typeable/hjsonschema/hjsonschema.cabal
162 lines 3.9 kB history raw
1name: hjsonschema
2version: 1.9.0
3synopsis: JSON Schema library
4homepage: https://github.com/seagreen/hjsonschema
5license: MIT
6license-file: MIT-LICENSE.txt
7author: Ian Grant Jeffries
8maintainer: ian@housejeffries.com
9category: Data
10build-type: Simple
11cabal-version: >=1.10
12-- Rerun multi-ghc-travis (executable make-travis-yml-2) after changing:
13Tested-With: GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.1
14extra-source-files:
15 changelog.md
16 JSON-Schema-Test-Suite/remotes/*.json
17 JSON-Schema-Test-Suite/remotes/folder/*.json
18 JSON-Schema-Test-Suite/tests/draft4/*.json
19 JSON-Schema-Test-Suite/tests/draft4/optional/*.json
20 README.md
21 src/draft4.json
22 test/Local/*.json
23 test/supplement/*.json
24 examples/json/*.json
26library
27 hs-source-dirs:
28 src
29 default-language: Haskell2010
30 default-extensions:
31 DeriveFunctor
32 DeriveGeneric
33 GeneralizedNewtypeDeriving
34 NoImplicitPrelude
35 OverloadedStrings
36 ScopedTypeVariables
37 if impl(ghc >= 8)
38 default-extensions: StrictData
39 ghc-options:
40 -Wall
41 exposed-modules:
42 JSONSchema.Draft4
43 , JSONSchema.Draft4.Failure
44 , JSONSchema.Draft4.Schema
45 , JSONSchema.Draft4.Spec
46 , JSONSchema.Fetch
47 , JSONSchema.Types
48 , JSONSchema.Validator.Draft4
49 , JSONSchema.Validator.Draft4.Any
50 , JSONSchema.Validator.Draft4.Array
51 , JSONSchema.Validator.Draft4.Number
52 , JSONSchema.Validator.Draft4.Object
53 , JSONSchema.Validator.Draft4.String
54 , JSONSchema.Validator.Reference
55 , JSONSchema.Validator.Types
56 , JSONSchema.Validator.Utils
57 other-modules:
58 JSONSchema.Validator.Draft4.Object.Properties
59 , Import
60 build-depends:
61 base >= 4.7 && < 5
62 -- 0.11 is for `.:!`:
63 , aeson >= 0.11
64 , bytestring >= 0.10
65 , containers >= 0.5
66 , file-embed >= 0.0.8
67 , filepath >= 1.3
68 , hashable >= 1.2
69 , hjsonpointer >= 1.1
70 -- 0.4.30 is for parseUrlThrow:
71 , http-client >= 0.4.30
72 , http-client-tls >= 0.3
73 , http-types >= 0.8
74 , pcre-heavy >= 1.0
75 , profunctors >= 5.0
76 , protolude >= 0.1.10
77 , QuickCheck >= 2.8
78 , safe-exceptions >= 0.1.6
79 , scientific >= 0.3
80 , unordered-containers >= 0.2
81 , text >= 1.1
82 , vector >= 0.10
84test-suite local
85 hs-source-dirs:
86 test
87 examples
88 main-is: Local.hs
89 type: exitcode-stdio-1.0
90 default-language: Haskell2010
91 ghc-options:
92 -Wall
93 -fno-warn-orphans
94 default-extensions:
95 DeriveGeneric
96 NoImplicitPrelude
97 OverloadedStrings
98 ScopedTypeVariables
99 other-modules:
100 Local.Failure
101 , Local.Reference
102 , Local.Validation
103 , Shared
104 -- from ./examples:
105 , AlternateSchema
106 , Simple
107 , TwoStep
108 build-depends:
109 base
110 , aeson
111 , bytestring
112 , filepath
113 , hjsonpointer
114 , hjsonschema
115 , profunctors
116 , protolude
117 , text
118 , QuickCheck
119 , unordered-containers
120 , vector
122 -- directory-1.2.5 required for `listDirectory`:
123 , directory >= 1.2.5
124 , hspec >= 2.2
126test-suite remote
127 hs-source-dirs:
128 test
129 examples
130 main-is: Remote.hs
131 type: exitcode-stdio-1.0
132 default-language: Haskell2010
133 ghc-options:
134 -Wall
135 -fno-warn-orphans
136 default-extensions:
137 DeriveGeneric
138 NoImplicitPrelude
139 OverloadedStrings
140 ScopedTypeVariables
141 other-modules:
142 Shared
143 -- from ./examples:
144 , AlternateSchema
145 build-depends:
146 base
147 , aeson
148 , async
149 , bytestring
150 , filepath
151 , hjsonpointer
152 , hjsonschema
153 , profunctors
154 , protolude
155 , text
156 , unordered-containers
157 , vector
159 , directory
160 , hspec
161 , wai-app-static
162 , warp