@@ -1,11 +1,14 @@
1+cabal-version: >=1.10
12name: swagger2
2−version: 2.2.1
3+version: 2.2.2
4+
35synopsis: Swagger 2.0 data model
46description:
57 This library is inteded to be used for decoding and encoding Swagger 2.0 API
68 specifications as well as manipulating them.
79 .
810 The original Swagger 2.0 specification is available at http://swagger.io/specification/.
11+
912homepage: https://github.com/GetShopTV/swagger2
1013bug-reports: https://github.com/GetShopTV/swagger2/issues
1114license: BSD3
@@ -20,7 +23,6 @@ extra-source-files:
2023 , CHANGELOG.md
2124 , examples/*.hs
2225 , include/overlapping-compat.h
23−cabal-version: >=1.10
2426tested-with: GHC==7.8.4, GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, GHC==8.4.1
2527
2628custom-setup
@@ -48,59 +50,72 @@ library
4850 Data.Swagger.Internal.Utils
4951 Data.Swagger.Internal.AesonUtils
5052 Data.Swagger.Internal.TypeShape
51− build-depends: base >=4.7 && <4.12
52− , base-compat >=0.9.1 && <0.11
53− , aeson >=1.0.0.0
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
53+
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
62+
63+ build-depends:
64+ mtl >=2.1 && <2.3
65+ , text >=1.2.3.0 && <1.3
66+
67+ -- other dependencies
68+ build-depends:
69+ base-compat-batteries >=0.10.1 && <0.11
70+ , aeson >=1.0.0.0 && <1.4
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.17
76+ , network >=2.6.3.5 && <2.7
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
82+
7683 default-language: Haskell2010
7784
7885test-suite spec
7986 type: exitcode-stdio-1.0
8087 hs-source-dirs: test
8188 main-is: Spec.hs
89+
90+ -- From library parat
8291 -- 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
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
107+
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
115+
116+ -- https://github.com/haskell/cabal/issues/3708
117+ build-tool-depends:
118+ hspec-discover:hspec-discover >=2.4.8 && <2.6
104119
105120 other-modules:
106121 SpecCommon
@@ -110,9 +125,6 @@ test-suite spec
110125 Data.Swagger.SchemaSpec
111126 Data.Swagger.Schema.ValidationSpec
112127 default-language: Haskell2010
113− -- https://github.com/haskell/cabal/issues/3708
114− build-tool-depends:
115− hspec-discover:hspec-discover
116128
117129test-suite doctests
118130 -- See QuickCheck note in https://github.com/phadej/cabal-doctest#notes