-
Notifications
You must be signed in to change notification settings - Fork 59
/
swagger2.cabal
155 lines (139 loc) · 4.41 KB
/
swagger2.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
cabal-version: >=1.10
name: swagger2
version: 2.8.9
synopsis: Swagger 2.0 data model
category: Web, Swagger
description:
This library is intended to be used for decoding and encoding Swagger 2.0 API
specifications as well as manipulating them.
.
The original Swagger 2.0 specification is available at http://swagger.io/specification/.
homepage: https://github.com/GetShopTV/swagger2
bug-reports: https://github.com/GetShopTV/swagger2/issues
license: BSD3
license-file: LICENSE
author: Nickolay Kudasov
maintainer: nickolay@getshoptv.com
copyright: (c) 2015-2016, GetShopTV
build-type: Custom
extra-source-files:
README.md
, CHANGELOG.md
, examples/*.hs
tested-with:
GHC ==8.6.5
|| ==8.8.4
|| ==8.10.7
|| ==9.0.2
|| ==9.2.8
|| ==9.6.4
|| ==9.8.1
custom-setup
setup-depends:
base < 4.21
, Cabal < 3.13
, cabal-doctest >=1.0.6 && <1.1
library
hs-source-dirs: src
exposed-modules:
Data.Swagger
Data.Swagger.Declare
Data.Swagger.Lens
Data.Swagger.Operation
Data.Swagger.Optics
Data.Swagger.ParamSchema
Data.Swagger.Schema
Data.Swagger.Schema.Generator
Data.Swagger.Schema.Validation
Data.Swagger.SchemaOptions
-- internal modules
Data.Swagger.Internal
Data.Swagger.Internal.Schema
Data.Swagger.Internal.Schema.Validation
Data.Swagger.Internal.ParamSchema
Data.Swagger.Internal.Utils
Data.Swagger.Internal.AesonUtils
Data.Swagger.Internal.TypeShape
-- GHC boot libraries
build-depends:
base >=4.9 && <4.21
, bytestring >=0.10.8.1 && <0.13
, containers >=0.5.7.1 && <0.8
, template-haskell >=2.11.1.0 && <2.23
, time >=1.6.0.1 && <1.14
, transformers >=0.5.2.0 && <0.7
build-depends:
mtl >=2.2.2 && <2.4
, text >=1.2.3.0 && <2.2
-- other dependencies
build-depends:
base-compat-batteries >=0.11.1 && <0.15
, aeson >=2.0.0.0 && <2.3
, aeson-pretty >=0.8.7 && <0.9
-- cookie 0.4.3 is needed by GHC 7.8 due to time>=1.4 constraint
, cookie >=0.4.3 && <0.6
, generics-sop >=0.5.1.0 && <0.6
, hashable >=1.2.7.0 && <1.6
, http-media >=0.8.0.0 && <0.9
, insert-ordered-containers >=0.2.3 && <0.3
, lens >=4.16.1 && <5.4
, network >=2.6.3.5 && <3.3
, optics-core >=0.2 && <0.5
, optics-th >=0.2 && <0.5
, scientific >=0.3.6.2 && <0.4
, unordered-containers >=0.2.9.0 && <0.3
, uuid-types >=1.0.3 && <1.1
, vector >=0.12.0.1 && <0.14
, QuickCheck >=2.10.1 && <2.16
default-language: Haskell2010
test-suite spec
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
-- From library parat
-- We need aeson's toEncoding for doctests too
build-depends:
base
, swagger2
, aeson
, base-compat-batteries
, bytestring
, containers
, hashable
, insert-ordered-containers
, lens
, mtl
, template-haskell
, text
, time
, unordered-containers
, vector
, QuickCheck
-- test-suite only dependencies
build-depends:
hspec >=2.5.5 && <2.12
, HUnit >=1.6.0.0 && <1.7
, quickcheck-instances >=0.3.19 && <0.14
, utf8-string >=1.0.1.1 && <1.1
-- https://github.com/haskell/cabal/issues/3708
build-tool-depends:
hspec-discover:hspec-discover >=2.5.5 && <2.9
other-modules:
SpecCommon
Data.SwaggerSpec
Data.Swagger.CommonTestTypes
Data.Swagger.ParamSchemaSpec
Data.Swagger.SchemaSpec
Data.Swagger.Schema.ValidationSpec
Data.Swagger.Schema.GeneratorSpec
default-language: Haskell2010
test-suite doctests
-- See QuickCheck note in https://github.com/phadej/cabal-doctest#notes
build-depends: base, doctest, Glob, QuickCheck
default-language: Haskell2010
hs-source-dirs: test
main-is: doctests.hs
type: exitcode-stdio-1.0
source-repository head
type: git
location: https://github.com/GetShopTV/swagger2.git