git.iko.soy/typeable/swagger2
on percent-encoding-2.3.1.1 help sign in
typeable/swagger2/swagger2.cabal
151 lines 4.4 kB history raw
1cabal-version: >=1.10
2name: swagger2
3version: 2.3.1.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
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.2
34custom-setup
35 setup-depends:
36 base, Cabal, cabal-doctest >=1.0.6 && <1.1
38library
39 hs-source-dirs: src
40 include-dirs: include
41 exposed-modules:
42 Data.Swagger
43 Data.Swagger.Declare
44 Data.Swagger.Lens
45 Data.Swagger.Operation
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.7 && <4.13
64 , bytestring >=0.10.4.0 && <0.11
65 , containers >=0.5.5.1 && <0.7
66 , template-haskell >=2.9.0.0 && <2.15
67 , time >=1.4.2 && <1.9
68 , transformers >=0.3.0.0 && <0.6
70 build-depends:
71 mtl >=2.1 && <2.3
72 , text >=1.2.3.0 && <1.3
74 -- other dependencies
75 build-depends:
76 base-compat-batteries >=0.10.4 && <0.11
77 , aeson >=1.4.2.0 && <1.5
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.3.2.0 && <0.5
81 , hashable >=1.2.7.0 && <1.3
82 , http-media >=0.7.1.2 && <0.8
83 , insert-ordered-containers >=0.2.1.0 && <0.3
84 , lens >=4.16.1 && <4.18
85 , network >=2.6.3.5 && <3.1
86 , scientific >=0.3.6.2 && <0.4
87 , transformers-compat >=0.3 && <0.7
88 , unordered-containers >=0.2.9.0 && <0.3
89 , uuid-types >=1.0.3 && <1.1
90 , vector >=0.12.0.1 && <0.13
91 , QuickCheck >=2.10.1 && <2.13
93 default-language: Haskell2010
95test-suite spec
96 type: exitcode-stdio-1.0
97 hs-source-dirs: test
98 main-is: Spec.hs
100 -- From library parat
101 -- We need aeson's toEncoding for doctests too
102 build-depends:
103 base
104 , swagger2
105 , aeson
106 , base-compat-batteries
107 , bytestring
108 , containers
109 , hashable
110 , insert-ordered-containers
111 , lens
112 , mtl
113 , template-haskell
114 , text
115 , time
116 , unordered-containers
117 , vector
119 -- test-suite only dependencies
120 build-depends:
121 hspec >=2.5.5 && <2.8
122 , HUnit >=1.6.0.0 && <1.7
123 , QuickCheck >=2.11.3 && <2.13
124 , quickcheck-instances >=0.3.19 && <0.14
125 , utf8-string >=1.0.1.1 && <1.1
127 -- https://github.com/haskell/cabal/issues/3708
128 build-tool-depends:
129 hspec-discover:hspec-discover >=2.5.5 && <2.8
131 other-modules:
132 SpecCommon
133 Data.SwaggerSpec
134 Data.Swagger.CommonTestTypes
135 Data.Swagger.ParamSchemaSpec
136 Data.Swagger.SchemaSpec
137 Data.Swagger.Schema.ValidationSpec
138 Data.Swagger.Schema.GeneratorSpec
139 default-language: Haskell2010
141test-suite doctests
142 -- See QuickCheck note in https://github.com/phadej/cabal-doctest#notes
143 build-depends: base, doctest, Glob, QuickCheck
144 default-language: Haskell2010
145 hs-source-dirs: test
146 main-is: doctests.hs
147 type: exitcode-stdio-1.0
149source-repository head
150 type: git
151 location: https://github.com/GetShopTV/swagger2.git