git.iko.soy/typeable/swagger2
on v2.4 help sign in
typeable/swagger2/swagger2.cabal
152 lines 4.4 kB history raw
1cabal-version: >=1.10
2name: swagger2
3version: 2.4
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 ==7.8.4
28 || ==7.10.3
29 || ==8.0.2
30 || ==8.2.2
31 || ==8.4.4
32 || ==8.6.5
33 || ==8.8.1
35custom-setup
36 setup-depends:
37 base, Cabal, cabal-doctest >=1.0.6 && <1.1
39library
40 hs-source-dirs: src
41 include-dirs: include
42 exposed-modules:
43 Data.Swagger
44 Data.Swagger.Declare
45 Data.Swagger.Lens
46 Data.Swagger.Operation
47 Data.Swagger.ParamSchema
48 Data.Swagger.Schema
49 Data.Swagger.Schema.Generator
50 Data.Swagger.Schema.Validation
51 Data.Swagger.SchemaOptions
53 -- internal modules
54 Data.Swagger.Internal
55 Data.Swagger.Internal.Schema
56 Data.Swagger.Internal.Schema.Validation
57 Data.Swagger.Internal.ParamSchema
58 Data.Swagger.Internal.Utils
59 Data.Swagger.Internal.AesonUtils
60 Data.Swagger.Internal.TypeShape
62 -- GHC boot libraries
63 build-depends:
64 base >=4.7 && <4.13
65 , bytestring >=0.10.4.0 && <0.11
66 , containers >=0.5.5.1 && <0.7
67 , template-haskell >=2.9.0.0 && <2.15
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.11
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.2 && <0.3
85 , lens >=4.16.1 && <4.18
86 , network >=2.6.3.5 && <3.2
87 , scientific >=0.3.6.2 && <0.4
88 , transformers-compat >=0.3 && <0.7
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.14
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