git.iko.soy/typeable/swagger2
on master help sign in
typeable/swagger2/swagger2.cabal
154 lines 4.5 kB history raw
1cabal-version: >=1.10
2name: swagger2
3version: 2.5
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
25 , include/overlapping-compat.h
26tested-with:
27 GHC ==8.0.2
28 || ==8.2.2
29 || ==8.4.4
30 || ==8.6.5
31 || ==8.8.1
33custom-setup
34 setup-depends:
35 base, Cabal, cabal-doctest >=1.0.6 && <1.1
37library
38 hs-source-dirs: src
39 include-dirs: include
40 exposed-modules:
41 Data.Swagger
42 Data.Swagger.Declare
43 Data.Swagger.Lens
44 Data.Swagger.Operation
45 Data.Swagger.Optics
46 Data.Swagger.ParamSchema
47 Data.Swagger.Schema
48 Data.Swagger.Schema.Generator
49 Data.Swagger.Schema.Validation
50 Data.Swagger.SchemaOptions
52 -- internal modules
53 Data.Swagger.Internal
54 Data.Swagger.Internal.Schema
55 Data.Swagger.Internal.Schema.Validation
56 Data.Swagger.Internal.ParamSchema
57 Data.Swagger.Internal.Utils
58 Data.Swagger.Internal.AesonUtils
59 Data.Swagger.Internal.TypeShape
61 -- GHC boot libraries
62 build-depends:
63 base >=4.9 && <4.14
64 , aeson-pretty >=0.8.7 && <0.9
65 , bytestring >=0.10.4.0 && <0.11
66 , containers >=0.5.5.1 && <0.7
67 , template-haskell >=2.9.0.0 && <2.16
68 , time >=1.4.2 && <1.10
69 , transformers >=0.3.0.0 && <0.6
71 build-depends:
72 mtl >=2.1 && <2.3
73 , text >=1.2.3.0 && <1.3
75 -- other dependencies
76 build-depends:
77 base-compat-batteries >=0.10.4 && <0.12
78 , aeson >=1.4.2.0 && <1.5
79 -- cookie 0.4.3 is needed by GHC 7.8 due to time>=1.4 constraint
80 , cookie >=0.4.3 && <0.5
81 , generics-sop >=0.3.2.0 && <0.6
82 , hashable >=1.2.7.0 && <1.4
83 , http-media >=0.7.1.2 && <0.9
84 , insert-ordered-containers >=0.2.3 && <0.3
85 , lens >=4.16.1 && <4.19
86 , network >=2.6.3.5 && <3.2
87 , optics-core >=0.2 && <0.3
88 , optics-th >=0.2 && <0.3
89 , scientific >=0.3.6.2 && <0.4
90 , transformers-compat >=0.3 && <0.7
91 , unordered-containers >=0.2.9.0 && <0.3
92 , uuid-types >=1.0.3 && <1.1
93 , vector >=0.12.0.1 && <0.13
94 , QuickCheck >=2.10.1 && <2.14
96 default-language: Haskell2010
98test-suite spec
99 type: exitcode-stdio-1.0
100 hs-source-dirs: test
101 main-is: Spec.hs
103 -- From library parat
104 -- We need aeson's toEncoding for doctests too
105 build-depends:
106 base
107 , swagger2
108 , aeson
109 , base-compat-batteries
110 , bytestring
111 , containers
112 , hashable
113 , insert-ordered-containers
114 , lens
115 , mtl
116 , template-haskell
117 , text
118 , time
119 , unordered-containers
120 , vector
121 , QuickCheck
123 -- test-suite only dependencies
124 build-depends:
125 hspec >=2.5.5 && <2.8
126 , HUnit >=1.6.0.0 && <1.7
127 , quickcheck-instances >=0.3.19 && <0.14
128 , utf8-string >=1.0.1.1 && <1.1
130 -- https://github.com/haskell/cabal/issues/3708
131 build-tool-depends:
132 hspec-discover:hspec-discover >=2.5.5 && <2.8
134 other-modules:
135 SpecCommon
136 Data.SwaggerSpec
137 Data.Swagger.CommonTestTypes
138 Data.Swagger.ParamSchemaSpec
139 Data.Swagger.SchemaSpec
140 Data.Swagger.Schema.ValidationSpec
141 Data.Swagger.Schema.GeneratorSpec
142 default-language: Haskell2010
144test-suite doctests
145 -- See QuickCheck note in https://github.com/phadej/cabal-doctest#notes
146 build-depends: base, doctest, Glob, QuickCheck
147 default-language: Haskell2010
148 hs-source-dirs: test
149 main-is: doctests.hs
150 type: exitcode-stdio-1.0
152source-repository head
153 type: git
154 location: https://github.com/GetShopTV/swagger2.git