git.iko.soy/typeable/openapi3
on 8087980 help sign in
typeable/openapi3/swagger2.cabal
152 lines 4.4 kB history raw
1cabal-version: >=1.10
2name: swagger2
3version: 2.6.1
5synopsis: Swagger 2.0 data model
6category: Web, Swagger
7description:
8 This library is intended to be used for decoding and encoding Swagger 2.0 API
9 specifications as well as manipulating them.
10 .
11 The original Swagger 2.0 specification is available at http://swagger.io/specification/.
13homepage: https://github.com/GetShopTV/swagger2
14bug-reports: https://github.com/GetShopTV/swagger2/issues
15license: BSD3
16license-file: LICENSE
17author: Nickolay Kudasov
18maintainer: nickolay@getshoptv.com
19copyright: (c) 2015-2016, GetShopTV
20build-type: Custom
21extra-source-files:
22 README.md
23 , CHANGELOG.md
24 , examples/*.hs
25tested-with:
26 GHC ==8.0.2
27 || ==8.2.2
28 || ==8.4.4
29 || ==8.6.5
30 || ==8.8.1
31 || ==8.10.1
33custom-setup
34 setup-depends:
35 base, Cabal, cabal-doctest >=1.0.6 && <1.1
37library
38 hs-source-dirs: src
39 exposed-modules:
40 Data.Swagger
41 Data.Swagger.Declare
42 Data.Swagger.Lens
43 Data.Swagger.Operation
44 Data.Swagger.Optics
45 Data.Swagger.ParamSchema
46 Data.Swagger.Schema
47 Data.Swagger.Schema.Generator
48 Data.Swagger.Schema.Validation
49 Data.Swagger.SchemaOptions
51 -- internal modules
52 Data.Swagger.Internal
53 Data.Swagger.Internal.Schema
54 Data.Swagger.Internal.Schema.Validation
55 Data.Swagger.Internal.ParamSchema
56 Data.Swagger.Internal.Utils
57 Data.Swagger.Internal.AesonUtils
58 Data.Swagger.Internal.TypeShape
60 -- GHC boot libraries
61 build-depends:
62 base >=4.9 && <4.15
63 , bytestring >=0.10.8.1 && <0.11
64 , containers >=0.5.7.1 && <0.7
65 , template-haskell >=2.11.1.0 && <2.17
66 , time >=1.6.0.1 && <1.10
67 , transformers >=0.5.2.0 && <0.6
69 build-depends:
70 mtl >=2.2.2 && <2.3
71 , text >=1.2.3.0 && <1.3
73 -- other dependencies
74 build-depends:
75 base-compat-batteries >=0.11.1 && <0.12
76 , aeson >=1.4.2.0 && <1.6
77 , aeson-pretty >=0.8.7 && <0.9
78 -- cookie 0.4.3 is needed by GHC 7.8 due to time>=1.4 constraint
79 , cookie >=0.4.3 && <0.5
80 , generics-sop >=0.5.1.0 && <0.6
81 , hashable >=1.2.7.0 && <1.4
82 , http-media >=0.8.0.0 && <0.9
83 , insert-ordered-containers >=0.2.3 && <0.3
84 , lens >=4.16.1 && <4.20
85 , network >=2.6.3.5 && <3.2
86 , optics-core >=0.2 && <0.4
87 , optics-th >=0.2 && <0.4
88 , scientific >=0.3.6.2 && <0.4
89 , unordered-containers >=0.2.9.0 && <0.3
90 , uuid-types >=1.0.3 && <1.1
91 , vector >=0.12.0.1 && <0.13
92 , QuickCheck >=2.10.1 && <2.15
94 default-language: Haskell2010
96test-suite spec
97 type: exitcode-stdio-1.0
98 hs-source-dirs: test
99 main-is: Spec.hs
101 -- From library parat
102 -- We need aeson's toEncoding for doctests too
103 build-depends:
104 base
105 , swagger2
106 , aeson
107 , base-compat-batteries
108 , bytestring
109 , containers
110 , hashable
111 , insert-ordered-containers
112 , lens
113 , mtl
114 , template-haskell
115 , text
116 , time
117 , unordered-containers
118 , vector
119 , QuickCheck
121 -- test-suite only dependencies
122 build-depends:
123 hspec >=2.5.5 && <2.8
124 , HUnit >=1.6.0.0 && <1.7
125 , quickcheck-instances >=0.3.19 && <0.14
126 , utf8-string >=1.0.1.1 && <1.1
128 -- https://github.com/haskell/cabal/issues/3708
129 build-tool-depends:
130 hspec-discover:hspec-discover >=2.5.5 && <2.8
132 other-modules:
133 SpecCommon
134 Data.SwaggerSpec
135 Data.Swagger.CommonTestTypes
136 Data.Swagger.ParamSchemaSpec
137 Data.Swagger.SchemaSpec
138 Data.Swagger.Schema.ValidationSpec
139 Data.Swagger.Schema.GeneratorSpec
140 default-language: Haskell2010
142test-suite doctests
143 -- See QuickCheck note in https://github.com/phadej/cabal-doctest#notes
144 build-depends: base, doctest, Glob, QuickCheck
145 default-language: Haskell2010
146 hs-source-dirs: test
147 main-is: doctests.hs
148 type: exitcode-stdio-1.0
150source-repository head
151 type: git
152 location: https://github.com/GetShopTV/swagger2.git