git.iko.soy/typeable/hjsonschema
on 1.2.0.2 help sign in
typeable/hjsonschema/hjsonschema.cabal
159 lines 4.0 kB history raw
1name: hjsonschema
2version: 1.2.0.2
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
12extra-source-files:
13 changelog.txt
14 JSON-Schema-Test-Suite/remotes/*.json
15 JSON-Schema-Test-Suite/remotes/folder/*.json
16 JSON-Schema-Test-Suite/tests/draft4/*.json
17 JSON-Schema-Test-Suite/tests/draft4/optional/*.json
18 README.md
19 src/draft4.json
20 test/Local/*.json
21 test/supplement/*.json
22 examples/json/*.json
24library
25 hs-source-dirs:
26 src
27 default-language: Haskell2010
28 default-extensions:
29 NoImplicitPrelude
30 OverloadedStrings
31 ScopedTypeVariables
32 if impl(ghc >= 8)
33 default-extensions: StrictData
34 other-extensions:
35 DeriveFunctor
36 GeneralizedNewtypeDeriving
37 TemplateHaskell
38 ghc-options:
39 -Wall
40 exposed-modules:
41 Data.JsonSchema.Draft4
42 , Data.JsonSchema.Draft4.Failure
43 , Data.JsonSchema.Draft4.Schema
44 , Data.JsonSchema.Draft4.Spec
45 , Data.JsonSchema.Fetch
46 , Data.JsonSchema.Types
47 , Data.Validator.Draft4
48 , Data.Validator.Draft4.Any
49 , Data.Validator.Draft4.Array
50 , Data.Validator.Draft4.Number
51 , Data.Validator.Draft4.Object
52 , Data.Validator.Draft4.String
53 , Data.Validator.Failure
54 , Data.Validator.Reference
55 , Data.Validator.Types
56 , Data.Validator.Utils
57 other-modules:
58 Data.Validator.Draft4.Object.Properties
59 , Import
60 build-depends:
61 base >= 4.7 && < 4.10
62 -- 0.11 is for `.:!`:
63 , aeson >= 0.11 && < 1.1
64 , bytestring >= 0.10 && < 0.11
65 , containers >= 0.5 && < 0.6
66 , file-embed >= 0.0.8 && < 0.1
67 , filepath >= 1.3 && < 1.5
68 , hjsonpointer >= 0.3 && < 1.1
69 -- 0.4.30 is for parseUrlThrow:
70 , http-client >= 0.4.30 && < 0.6
71 , http-types >= 0.8 && < 0.10
72 , pcre-heavy >= 1.0 && < 1.1
73 , profunctors >= 5.0 && < 5.3
74 , QuickCheck >= 2.8 && < 2.10
75 , scientific >= 0.3 && < 0.4
76 , semigroups >= 0.18 && < 0.19
77 , unordered-containers >= 0.2 && < 0.3
78 , text >= 1.1 && < 1.3
79 , vector >= 0.10 && < 0.12
81test-suite local
82 hs-source-dirs:
83 test
84 examples
85 main-is: Local.hs
86 type: exitcode-stdio-1.0
87 default-language: Haskell2010
88 ghc-options:
89 -Wall
90 -fno-warn-orphans
91 default-extensions:
92 OverloadedStrings
93 ScopedTypeVariables
94 other-modules:
95 Local.Failure
96 , Local.Reference
97 , Local.Validation
98 , Shared
99 -- from ./examples:
100 , AlternateSchema
101 , Full
102 , Simple
103 build-depends:
104 base
105 , aeson
106 , bytestring
107 , filepath
108 , hjsonpointer
109 , hjsonschema
110 , profunctors
111 , semigroups
112 , text
113 , QuickCheck
114 , unordered-containers
115 , vector
117 -- directory-1.2.5 required for `listDirectory`:
118 , directory >= 1.2.5 && < 1.3
119 , hspec >= 2.2 && < 2.4
121test-suite remote
122 hs-source-dirs:
123 test
124 examples
125 main-is: Remote.hs
126 type: exitcode-stdio-1.0
127 default-language: Haskell2010
128 ghc-options:
129 -Wall
130 -fno-warn-orphans
131 default-extensions:
132 OverloadedStrings
133 ScopedTypeVariables
134 other-modules:
135 Shared
136 -- from ./examples:
137 , AlternateSchema
138 build-depends:
139 base
140 , aeson
141 , async
142 , bytestring
143 , filepath
144 , hjsonpointer
145 , hjsonschema
146 , profunctors
147 , semigroups
148 , text
149 , unordered-containers
150 , vector
152 , directory
153 , hspec
154 , wai-app-static
155 , warp
157source-repository head
158 type: git
159 location: git://github.com/seagreen/hjsonschema.git