-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathmedea.cabal
126 lines (113 loc) · 3.47 KB
/
medea.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
cabal-version: 2.2
name: medea
version: 1.2.0
synopsis: A schema language for JSON.
description:
A reference implementation of a schema language, together with a conformance
suite and a specification.
homepage: https://github.com/juspay/medea
bug-reports: https://github.com/juspay/medea/issues
license: MIT
license-file: LICENSE.md
author:
Koz Ross,
Shaurya Gupta
maintainer: [email protected]
copyright: Juspay Technologies Pvt Ltd (C) 2020
category: Data
build-type: Simple
tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.1
extra-source-files:
.hspec
CHANGELOG.md
conformance/parser/fail/*.medea
conformance/parser/pass/*.medea
conformance/schema-builder/fail/*.medea
conformance/schema-builder/pass/*.medea
conformance/validation/*.medea
README.md
SPEC.md
TUTORIAL.md
source-repository head
type: git
location: https://github.com/juspay/medea.git
common lang-common
default-language: Haskell2010
build-depends: base >=4.11.1 && <5
ghc-options:
-Wall -Wcompat -Wincomplete-record-updates
-Wincomplete-uni-patterns -Wredundant-constraints
common test-common
import: lang-common
other-modules: TestM
build-depends:
, directory ^>=1.3.3.0
, filepath ^>=1.4.2.1
, hspec >=2.7.1 && <2.9.0
, medea
, mtl
ghc-options: -threaded -with-rtsopts=-N
hs-source-dirs: test
library
import: lang-common
exposed-modules: Data.Medea
other-modules:
Data.Medea.Analysis
Data.Medea.JSONType
Data.Medea.Loader
Data.Medea.Parser.Primitive
Data.Medea.Parser.Spec.Array
Data.Medea.Parser.Spec.Object
Data.Medea.Parser.Spec.Property
Data.Medea.Parser.Spec.Schema
Data.Medea.Parser.Spec.Schemata
Data.Medea.Parser.Spec.String
Data.Medea.Parser.Spec.Type
Data.Medea.Parser.Types
Data.Medea.Schema
Data.Medea.ValidJSON
build-depends:
, aeson >=1.4.6.0 && <2.0.0.0
, algebraic-graphs ^>=0.5
, bytestring ^>=0.10.8.2
, containers ^>=0.6.0.1
, deepseq ^>=1.4.4.0
, free ^>=5.1.3
, hashable >=1.2.7.0 && <1.4.0.0
, megaparsec >=8.0.0 && <10.0.0
, microlens-ghc ^>=0.4.12
, mtl ^>=2.2.2
, nonempty-containers ^>=0.3.3.0
, parser-combinators >=1.1.0 && <2.0.0
, scientific ^>=0.3.6.2
, smash ^>=0.1.1.0
, text ^>=1.2.3.1
, unordered-containers ^>=0.2.10.0
, vector ^>=0.12.0.3
, vector-instances ^>=3.4
hs-source-dirs: src
test-suite conformance-parser
import: test-common
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: test/parser
test-suite conformance-schema-builder
import: test-common
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: test/schema-builder
test-suite quickcheck-validator
import: test-common
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules: Data.Aeson.Arbitrary
build-depends:
, aeson
, bytestring
, hspec-core >=2.7.1 && <2.9.0
, QuickCheck >=2.13.2 && <2.15.0
, quickcheck-instances ^>=0.3.22
, text
, unordered-containers ^>=0.2.10.0
, vector
hs-source-dirs: test/validator-quickcheck