@@ -99,26 +99,19 @@ library
9999 Data.Attoparsec.Time
100100 Data.Attoparsec.Time.Internal
101101
102+ -- GHC bundled libs
102103 build-depends:
103− attoparsec >= 0.13.0.1,
104− base >= 4.5 && < 5,
105− base-compat >= 0.9.1 && < 0.11,
106− containers >= 0.4.2,
107− deepseq >= 1.3 && < 1.5,
108− dlist >= 0.6,
109− ghc-prim >= 0.2,
110− hashable >= 1.1.2.0,
111− primitive >= 0.6.2.0 && < 0.7,
112− scientific >= 0.3.4.7 && < 0.4,
113− tagged >=0.8.3 && <0.9,
114− template-haskell >= 2.7,
115− text >= 1.2.3,
116− th-abstraction >= 0.2.2 && < 0.3,
117− time >= 1.1.1.4,
118− time-locale-compat >= 0.1.1 && < 0.2,
119− unordered-containers >= 0.2.5.0 && < 0.3,
120− uuid-types >= 1.0.3 && <1.1,
121− vector >= 0.8
104+ base >= 4.5.0.0 && < 5,
105+ containers >= 0.4.2.1 && < 0.7,
106+ deepseq >= 1.3.0.0 && < 1.5,
107+ ghc-prim >= 0.2 && < 0.6,
108+ template-haskell >= 2.7.0.0 && < 2.15,
109+ text >= 1.2.3.0 && < 1.3,
110+ time >= 1.4 && < 1.9
111+
112+ -- Compat
113+ build-depends:
114+ base-compat >= 0.9.1 && < 0.11
122115
123116 if flag(bytestring-builder)
124117 build-depends: bytestring >= 0.9.2 && < 0.10.4,
@@ -129,16 +122,35 @@ library
129122 if !impl(ghc >= 8.0)
130123 -- `Data.Semigroup` and `Control.Monad.Fail` and `Control.Monad.IO.Class` are available in base only since GHC 8.0 / base 4.9
131124 build-depends:
132− semigroups >= 0.18.2 && < 0.19,
133− transformers >= 0.2.2.0,
134− transformers-compat >= 0.3,
125+ semigroups >= 0.18.5 && < 0.19,
126+ transformers >= 0.3.0.0 && < 0.6,
127+ transformers-compat >= 0.6.2 && < 0.7,
135128 fail == 4.9.*
136129
137130 if !impl(ghc >= 7.10)
138131 -- `Numeric.Natural` is available in base only since GHC 7.10 / base 4.8
139− build-depends: nats >= 1 && < 1.2,
132+ build-depends: nats >= 1.1.1 && < 1.2,
140133 void >= 0.7.2 && < 0.8
141134
135+ -- cannot use latest version
136+ build-depends:
137+ unordered-containers >= 0.2.8.0 && < 0.3,
138+
139+ -- not in LTS-12.10
140+ tagged >= 0.8.5 && < 0.9,
141+ primitive >= 0.6.3.0 && < 0.7
142+
143+ -- Other dependencies
144+ build-depends:
145+ attoparsec >= 0.13.2.2 && < 0.14,
146+ dlist >= 0.8.0.4 && < 0.9,
147+ hashable >= 1.2.7.0 && < 1.3,
148+ scientific >= 0.3.6.2 && < 0.4,
149+ th-abstraction >= 0.2.8.0 && < 0.3,
150+ time-locale-compat >= 0.1.1.5 && < 0.2,
151+ uuid-types >= 1.0.3 && < 1.1,
152+ vector >= 0.12.0.1 && < 0.13
153+
142154 ghc-options: -Wall
143155
144156 if flag(developer)