git.iko.soy/typeable/swagger2
on v2.1.4.1 help sign in
typeable/swagger2/swagger2.cabal
114 lines 3.6 kB history raw
1name: swagger2
2version: 2.1.4.1
3synopsis: Swagger 2.0 data model
4description:
5 This library is inteded to be used for decoding and encoding Swagger 2.0 API
6 specifications as well as manipulating them.
7 .
8 The original Swagger 2.0 specification is available at http://swagger.io/specification/.
9homepage: https://github.com/GetShopTV/swagger2
10bug-reports: https://github.com/GetShopTV/swagger2/issues
11license: BSD3
12license-file: LICENSE
13author: Nickolay Kudasov
14maintainer: nickolay@getshoptv.com
15copyright: (c) 2015-2016, GetShopTV
16category: Web
17build-type: Custom
18extra-source-files:
19 README.md
20 , CHANGELOG.md
21 , examples/*.hs
22 , include/overlapping-compat.h
23cabal-version: >=1.10
24tested-with: GHC==7.8.4, GHC==7.10.3, GHC==8.0.2, GHC==8.2.1
26custom-setup
27 setup-depends:
28 base, Cabal, cabal-doctest >=1.0.2 && <1.1
30library
31 hs-source-dirs: src
32 include-dirs: include
33 exposed-modules:
34 Data.Swagger
35 Data.Swagger.Declare
36 Data.Swagger.Lens
37 Data.Swagger.Operation
38 Data.Swagger.ParamSchema
39 Data.Swagger.Schema
40 Data.Swagger.Schema.Validation
41 Data.Swagger.SchemaOptions
43 -- internal modules
44 Data.Swagger.Internal
45 Data.Swagger.Internal.Schema
46 Data.Swagger.Internal.Schema.Validation
47 Data.Swagger.Internal.ParamSchema
48 Data.Swagger.Internal.Utils
49 Data.Swagger.Internal.AesonUtils
50 build-depends: base >=4.7 && <4.11
51 , base-compat >=0.9.1 && <0.10
52 , aeson >=0.11.2.1
53 , bytestring
54 , containers
55 , hashable
56 , generics-sop >=0.2 && <0.4
57 , http-media
58 , insert-ordered-containers >=0.1.0.0 && <0.3
59 , lens
60 , mtl
61 , network
62 , scientific
63 , text
64 , template-haskell
65 , time
66 , transformers
67 , transformers-compat >= 0.3
68 , unordered-containers
69 , vector
70 , uuid-types >=1.0.2 && <1.1
71 default-language: Haskell2010
73test-suite spec
74 type: exitcode-stdio-1.0
75 hs-source-dirs: test
76 main-is: Spec.hs
77 -- We need aeson's toEncoding for doctests too
78 build-depends: base
79 , base-compat
80 , aeson >=0.10.0.0
81 , aeson-qq
82 , bytestring
83 , containers
84 , hashable
85 , hspec
86 , insert-ordered-containers
87 , HUnit
88 , mtl
89 , QuickCheck >=2.8.2
90 , swagger2
91 , text
92 , time
93 , unordered-containers
94 , vector
95 , lens
96 other-modules:
97 SpecCommon
98 Data.SwaggerSpec
99 Data.Swagger.ParamSchemaSpec
100 Data.Swagger.SchemaSpec
101 Data.Swagger.Schema.ValidationSpec
102 default-language: Haskell2010
104test-suite doctests
105 -- See QuickCheck note in https://github.com/phadej/cabal-doctest#notes
106 build-depends: base, doctest, Glob, QuickCheck
107 default-language: Haskell2010
108 hs-source-dirs: test
109 main-is: doctests.hs
110 type: exitcode-stdio-1.0
112source-repository head
113 type: git
114 location: https://github.com/GetShopTV/swagger2.git