git.iko.soy/typeable/swagger2
on v2.1.6 help sign in
typeable/swagger2/swagger2.cabal
120 lines 3.8 kB history raw
1name: swagger2
2version: 2.1.6
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, Swagger
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 Data.Swagger.Internal.TypeShape
51 build-depends: base >=4.7 && <4.11
52 , base-compat >=0.9.1 && <0.10
53 , aeson >=0.11.2.1
54 , bytestring
55 , containers
56 , hashable
57 , generics-sop >=0.2 && <0.4
58 , http-media
59 , insert-ordered-containers >=0.1.0.0 && <0.3
60 , lens
61 , mtl
62 , network
63 , scientific
64 , text
65 , template-haskell
66 , time
67 , transformers
68 , transformers-compat >= 0.3
69 , unordered-containers
70 , vector
71 , uuid-types >=1.0.2 && <1.1
72 if !impl(ghc >= 7.10)
73 build-depends: nats >=1.1.1 && <1.2
74 default-language: Haskell2010
76test-suite spec
77 type: exitcode-stdio-1.0
78 hs-source-dirs: test
79 main-is: Spec.hs
80 -- We need aeson's toEncoding for doctests too
81 build-depends: base
82 , base-compat
83 , aeson >=0.10.0.0
84 , aeson-qq
85 , bytestring
86 , containers
87 , hashable
88 , hspec
89 , insert-ordered-containers
90 , HUnit
91 , mtl
92 , QuickCheck >=2.8.2
93 , swagger2
94 , text
95 , time
96 , unordered-containers
97 , vector
98 , lens
99 other-modules:
100 SpecCommon
101 Data.SwaggerSpec
102 Data.Swagger.ParamSchemaSpec
103 Data.Swagger.SchemaSpec
104 Data.Swagger.Schema.ValidationSpec
105 default-language: Haskell2010
106 -- https://github.com/haskell/cabal/issues/3708
107 build-tool-depends:
108 hspec-discover:hspec-discover
110test-suite doctests
111 -- See QuickCheck note in https://github.com/phadej/cabal-doctest#notes
112 build-depends: base, doctest, Glob, QuickCheck
113 default-language: Haskell2010
114 hs-source-dirs: test
115 main-is: doctests.hs
116 type: exitcode-stdio-1.0
118source-repository head
119 type: git
120 location: https://github.com/GetShopTV/swagger2.git