git.iko.soy/typeable/swagger2
on v2.3 help sign in
typeable/swagger2/swagger2.cabal
139 lines 4.1 kB history raw
1cabal-version: >=1.10
2name: swagger2
3version: 2.3
5synopsis: Swagger 2.0 data model
6description:
7 This library is inteded to be used for decoding and encoding Swagger 2.0 API
8 specifications as well as manipulating them.
9 .
10 The original Swagger 2.0 specification is available at http://swagger.io/specification/.
12homepage: https://github.com/GetShopTV/swagger2
13bug-reports: https://github.com/GetShopTV/swagger2/issues
14license: BSD3
15license-file: LICENSE
16author: Nickolay Kudasov
17maintainer: nickolay@getshoptv.com
18copyright: (c) 2015-2016, GetShopTV
19category: Web, Swagger
20build-type: Custom
21extra-source-files:
22 README.md
23 , CHANGELOG.md
24 , examples/*.hs
25 , include/overlapping-compat.h
26tested-with: GHC==7.8.4, GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, GHC==8.4.3
28custom-setup
29 setup-depends:
30 base, Cabal, cabal-doctest >=1.0.2 && <1.1
32library
33 hs-source-dirs: src
34 include-dirs: include
35 exposed-modules:
36 Data.Swagger
37 Data.Swagger.Declare
38 Data.Swagger.Lens
39 Data.Swagger.Operation
40 Data.Swagger.ParamSchema
41 Data.Swagger.Schema
42 Data.Swagger.Schema.Validation
43 Data.Swagger.SchemaOptions
45 -- internal modules
46 Data.Swagger.Internal
47 Data.Swagger.Internal.Schema
48 Data.Swagger.Internal.Schema.Validation
49 Data.Swagger.Internal.ParamSchema
50 Data.Swagger.Internal.Utils
51 Data.Swagger.Internal.AesonUtils
52 Data.Swagger.Internal.TypeShape
54 -- GHC boot libraries
55 build-depends:
56 base >=4.7 && <4.12
57 , bytestring >=0.10.4 && <0.11
58 , containers >=0.5.5.1 && <0.6
59 , template-haskell >=2.9.0.0 && <2.14
60 , time >=1.4.2 && <1.9
61 , transformers >=0.3.0.0 && <0.6
63 build-depends:
64 mtl >=2.1 && <2.3
65 , text >=1.2.3.0 && <1.3
67 -- other dependencies
68 build-depends:
69 base-compat-batteries >=0.10.1 && <0.11
70 , aeson >=1.0.0.0 && <1.5
71 , generics-sop >=0.3.2.0 && <0.4
72 , hashable >=1.2.7.0 && <1.3
73 , http-media >=0.7.1.2 && <0.8
74 , insert-ordered-containers >=0.1.0.0 && <0.3
75 , lens >=4.16.1 && <4.18
76 , network >=2.6.3.5 && <2.8
77 , scientific >=0.3.5.3 && <0.4
78 , transformers-compat >=0.3 && <0.7
79 , unordered-containers >=0.2.9.0 && <0.3
80 , uuid-types >=1.0.2 && <1.1
81 , vector >=0.12.0.1 && <0.13
83 default-language: Haskell2010
85test-suite spec
86 type: exitcode-stdio-1.0
87 hs-source-dirs: test
88 main-is: Spec.hs
90 -- From library parat
91 -- We need aeson's toEncoding for doctests too
92 build-depends:
93 base
94 , swagger2
95 , aeson
96 , base-compat-batteries
97 , bytestring
98 , containers
99 , hashable
100 , insert-ordered-containers
101 , lens
102 , mtl
103 , text
104 , time
105 , unordered-containers
106 , vector
108 -- test-suite only dependencies
109 build-depends:
110 aeson-qq >=0.8.2 && <0.9
111 , hspec >=2.4.8 && <2.6
112 , HUnit >=1.6.0.0 && <1.7
113 , QuickCheck >=2.10.1 && <2.12
114 , quickcheck-instances >=0.3.18 && <0.14
116 -- https://github.com/haskell/cabal/issues/3708
117 build-tool-depends:
118 hspec-discover:hspec-discover >=2.4.8 && <2.6
120 other-modules:
121 SpecCommon
122 Data.SwaggerSpec
123 Data.Swagger.CommonTestTypes
124 Data.Swagger.ParamSchemaSpec
125 Data.Swagger.SchemaSpec
126 Data.Swagger.Schema.ValidationSpec
127 default-language: Haskell2010
129test-suite doctests
130 -- See QuickCheck note in https://github.com/phadej/cabal-doctest#notes
131 build-depends: base, doctest, Glob, QuickCheck
132 default-language: Haskell2010
133 hs-source-dirs: test
134 main-is: doctests.hs
135 type: exitcode-stdio-1.0
137source-repository head
138 type: git
139 location: https://github.com/GetShopTV/swagger2.git