Skip to content

Commit df2e36a

Browse files
committed
Rearrange build-depends, disallow mtl-2.2 (no Except module)
1 parent 9d0cc91 commit df2e36a

File tree

1 file changed

+35
-31
lines changed

1 file changed

+35
-31
lines changed

github.cabal

Lines changed: 35 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -131,38 +131,42 @@ Library
131131
GitHub.Endpoints.Users.Followers
132132
GitHub.Request
133133

134-
-- Packages needed in order to build this package.
135-
build-depends: base >=4.7 && <4.11,
136-
aeson >=0.7.0.6 && <1.3,
137-
base-compat >=0.9.1 && <0.10,
138-
base16-bytestring >=0.1.1.6 && <0.2,
139-
binary >=0.7.1.0 && <0.10,
140-
binary-orphans >=0.1.0.0 && <0.2,
141-
byteable >=0.1.1 && <0.2,
142-
bytestring >=0.10.4.0 && <0.11,
143-
containers >=0.5.5.1 && <0.6,
144-
cryptohash >=0.11 && <0.12,
145-
deepseq >=1.3.0.2 && <1.5,
146-
deepseq-generics >=0.1.1.2 && <0.3,
147-
exceptions >=0.8.0.2 && <0.9,
148-
hashable >=1.2.3.3 && <1.3,
149-
http-client >=0.4.8.1 && <0.6,
150-
http-client-tls >=0.2.2 && <0.4,
151-
http-link-header >=1.0.1 && <1.1,
152-
http-types >=0.12 && <0.13,
153-
iso8601-time >=0.1.4 && <0.2,
154-
mtl >=2.1.3.1 && <2.3,
155-
network-uri >=2.6.0.3 && <2.7,
156-
semigroups >=0.16.2.2 && <0.19,
157-
text >=1.2.0.6 && <1.3,
158-
time >=1.4 && <1.10,
159-
transformers >=0.3.0.0 && <0.6,
160-
transformers-compat >=0.4.0.3 && <0.6,
161-
unordered-containers >=0.2 && <0.3,
162-
vector >=0.10.12.3 && <0.13,
163-
vector-instances >=3.3.0.1 && <3.5,
134+
-- Packages bundles with GHC, mtl and text are also here
135+
build-depends:
136+
base >=4.7 && <4.11,
137+
bytestring >=0.10.4.0 && <0.11,
138+
containers >=0.5.5.1 && <0.6,
139+
deepseq >=1.3.0.2 && <1.5,
140+
mtl (>=2.1.3.1 && <2.2) || (>=2.2.1 && <2.3),
141+
text >=1.2.0.6 && <1.3,
142+
time >=1.4 && <1.10,
143+
transformers >=0.3.0.0 && <0.6
164144

165-
tls >=1.3.5
145+
-- other packages
146+
build-depends:
147+
aeson >=0.7.0.6 && <1.3,
148+
base-compat >=0.9.1 && <0.10,
149+
base16-bytestring >=0.1.1.6 && <0.2,
150+
binary >=0.7.1.0 && <0.10,
151+
binary-orphans >=0.1.0.0 && <0.2,
152+
byteable >=0.1.1 && <0.2,
153+
cryptohash >=0.11 && <0.12,
154+
deepseq-generics >=0.1.1.2 && <0.3,
155+
exceptions >=0.8.0.2 && <0.9,
156+
hashable >=1.2.3.3 && <1.3,
157+
http-client >=0.4.8.1 && <0.6,
158+
http-client-tls >=0.2.2 && <0.4,
159+
http-link-header >=1.0.1 && <1.1,
160+
http-types >=0.12.1 && <0.13,
161+
iso8601-time >=0.1.4 && <0.2,
162+
network-uri >=2.6.0.3 && <2.7,
163+
semigroups >=0.16.2.2 && <0.19,
164+
transformers-compat >=0.4.0.3 && <0.6,
165+
unordered-containers >=0.2 && <0.3,
166+
vector >=0.10.12.3 && <0.13,
167+
vector-instances >=3.3.0.1 && <3.5,
168+
169+
tls >=1.3.5
166170

167171
if flag(aeson-compat)
168172
build-depends: aeson-compat >=0.3.0.0 && <0.4

0 commit comments

Comments
 (0)