git.iko.soy/typeable/swagger2
on v2.2.1 help sign in
typeable/swagger2/swagger2.cabal
127 lines 4.1 kB history raw
1name: swagger2
2version: 2.2.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, 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.2, GHC==8.4.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.12
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 if !impl(ghc >= 8.0)
75 build-depends: semigroups >= 0.18.3 && <0.19
76 default-language: Haskell2010
78test-suite spec
79 type: exitcode-stdio-1.0
80 hs-source-dirs: test
81 main-is: Spec.hs
82 -- We need aeson's toEncoding for doctests too
83 build-depends: base
84 , base-compat
85 , aeson >=0.10.0.0
86 , aeson-qq
87 , bytestring
88 , containers
89 , hashable
90 , hspec
91 , insert-ordered-containers
92 , HUnit
93 , mtl
94 , QuickCheck >=2.8.2
95 , quickcheck-instances
96 , swagger2
97 , text
98 , time
99 , unordered-containers
100 , vector
101 , lens
102 if !impl(ghc >= 8.0)
103 build-depends: semigroups
105 other-modules:
106 SpecCommon
107 Data.SwaggerSpec
108 Data.Swagger.CommonTestTypes
109 Data.Swagger.ParamSchemaSpec
110 Data.Swagger.SchemaSpec
111 Data.Swagger.Schema.ValidationSpec
112 default-language: Haskell2010
113 -- https://github.com/haskell/cabal/issues/3708
114 build-tool-depends:
115 hspec-discover:hspec-discover
117test-suite doctests
118 -- See QuickCheck note in https://github.com/phadej/cabal-doctest#notes
119 build-depends: base, doctest, Glob, QuickCheck
120 default-language: Haskell2010
121 hs-source-dirs: test
122 main-is: doctests.hs
123 type: exitcode-stdio-1.0
125source-repository head
126 type: git
127 location: https://github.com/GetShopTV/swagger2.git