@@ -1,11 +1,14 @@
1name: swagger2
2name: swagger2
2−version: 2.2.1
3+version: 2.2.2
3synopsis: Swagger 2.0 data model
5synopsis: Swagger 2.0 data model
4description:
6description:
5 This library is inteded to be used for decoding and encoding Swagger 2.0 API
7 This library is inteded to be used for decoding and encoding Swagger 2.0 API
6 specifications as well as manipulating them.
8 specifications as well as manipulating them.
8 The original Swagger 2.0 specification is available at http://swagger.io/specification/.
10 The original Swagger 2.0 specification is available at http://swagger.io/specification/.
9homepage: https://github.com/GetShopTV/swagger2
12homepage: https://github.com/GetShopTV/swagger2
10bug-reports: https://github.com/GetShopTV/swagger2/issues
13bug-reports: https://github.com/GetShopTV/swagger2/issues
11license: BSD3
14license: BSD3
@@ -20,7 +23,6 @@ extra-source-files:
20 , CHANGELOG.md
23 , CHANGELOG.md
21 , examples/*.hs
24 , examples/*.hs
22 , include/overlapping-compat.h
25 , include/overlapping-compat.h
24tested-with: GHC==7.8.4, GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, GHC==8.4.1
26tested-with: GHC==7.8.4, GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, GHC==8.4.1
26custom-setup
28custom-setup
@@ -48,59 +50,72 @@ library
48 Data.Swagger.Internal.Utils
50 Data.Swagger.Internal.Utils
49 Data.Swagger.Internal.AesonUtils
51 Data.Swagger.Internal.AesonUtils
50 Data.Swagger.Internal.TypeShape
52 Data.Swagger.Internal.TypeShape
54+ -- GHC boot libraries
51− build-depends: base >=4.7 && <4.12
55+ build-depends:
52− , base-compat >=0.9.1 && <0.10
56+ base >=4.7 && <4.12
54− , bytestring
57+ , bytestring >=0.10.4 && <0.11
55− , containers
58+ , containers >=0.5.5.1 && <0.6
56− , hashable
59+ , template-haskell >=2.9.0.0 && <2.14
60+ , time >=1.4.2 && <1.9
61+ , transformers >=0.3.0.0 && <0.6
65+ , text >=1.2.3.0 && <1.3
67+ -- other dependencies
69+ base-compat-batteries >=0.10.1 && <0.11
70+ , aeson >=1.0.0.0 && <1.4
57− , generics-sop >=0.2 && <0.4
71+ , generics-sop >=0.3.2.0 && <0.4
72+ , hashable >=1.2.7.0 && <1.3
58− , http-media
73+ , http-media >=0.7.1.2 && <0.8
59− , insert-ordered-containers >=0.1.0.0 && <0.3
74+ , insert-ordered-containers >=0.1.0.0 && <0.3
60− , lens
75+ , lens >=4.16.1 && <4.17
62− , network
76+ , network >=2.6.3.5 && <2.7
63− , scientific
77+ , scientific >=0.3.5.3 && <0.4
68− , transformers-compat >= 0.3
78+ , transformers-compat >=0.3 && <0.7
69− , unordered-containers
79+ , unordered-containers >=0.2.9.0 && <0.3
71− , uuid-types >=1.0.2 && <1.1
80+ , uuid-types >=1.0.2 && <1.1
72− if !impl(ghc >= 7.10)
81+ , vector >=0.12.0.1 && <0.13
73− build-depends: nats >=1.1.1 && <1.2
82+
75− build-depends: semigroups >= 0.18.3 && <0.19
76 default-language: Haskell2010
83 default-language: Haskell2010
78test-suite spec
85test-suite spec
79 type: exitcode-stdio-1.0
86 type: exitcode-stdio-1.0
80 hs-source-dirs: test
87 hs-source-dirs: test
81 main-is: Spec.hs
88 main-is: Spec.hs
90+ -- From library parat
82 -- We need aeson's toEncoding for doctests too
91 -- We need aeson's toEncoding for doctests too
83− build-depends: base
92+ build-depends:
84− , base-compat
96+ , base-compat-batteries
87− , bytestring
97+ , bytestring
88− , containers
98+ , containers
89− , hashable
99+ , hashable
91− , insert-ordered-containers
100+ , insert-ordered-containers
95− , quickcheck-instances
99− , unordered-containers
105+ , unordered-containers
100− , vector
106+ , vector
102− if !impl(ghc >= 8.0)
108+ -- test-suite only dependencies
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
103− build-depends: semigroups
117+ build-tool-depends:
118+ hspec-discover:hspec-discover >=2.4.8 && <2.6
105 other-modules:
120 other-modules:
106 SpecCommon
121 SpecCommon
@@ -110,9 +125,6 @@ test-suite spec
110 Data.Swagger.SchemaSpec
125 Data.Swagger.SchemaSpec
111 Data.Swagger.Schema.ValidationSpec
126 Data.Swagger.Schema.ValidationSpec
112 default-language: Haskell2010
127 default-language: Haskell2010
113− -- https://github.com/haskell/cabal/issues/3708
115− hspec-discover:hspec-discover
117test-suite doctests
129test-suite doctests
118 -- See QuickCheck note in https://github.com/phadej/cabal-doctest#notes
130 -- See QuickCheck note in https://github.com/phadej/cabal-doctest#notes