Skip to content

Commit 3d0752e

Browse files
committed
Add bounds for core libraries
1 parent 60d33dc commit 3d0752e

5 files changed

Lines changed: 67 additions & 64 deletions

File tree

configs/templates/_include/license.ede

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{-# LANGUAGE DataKinds #-}
22
{-# LANGUAGE DerivingStrategies #-}
33
{-# LANGUAGE DuplicateRecordFields #-}
4+
{-# LANGUAGE ImportQualifiedPost #-}
45
{-# LANGUAGE LambdaCase #-}
56
{-# LANGUAGE NoImplicitPrelude #-}
67
{-# LANGUAGE OverloadedStrings #-}

flake.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
settings = {
5252
global.excludes = [
5353
"CONTRIBUTORS"
54+
"cabal.project"
5455
".github/**.yml"
5556
"configs/*"
5657
"**LICENSE"

gen/gogol-gen.cabal

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -30,29 +30,30 @@ library
3030
import: base
3131
hs-source-dirs: lib
3232
build-depends:
33-
, aeson >=1
34-
, attoparsec
35-
, bytestring
36-
, case-insensitive
37-
, containers
38-
, directory-tree
39-
, ede
40-
, errors >=2.1.2
41-
, formatting
42-
, hashable
43-
, haskell-src-exts ==1.23.1
44-
, lens
45-
, mtl
46-
, pandoc
47-
, parsec
48-
, system-fileio
49-
, system-filepath
50-
, text
51-
, text-icu
52-
, text-manipulate
53-
, text-regex-replace
54-
, unexceptionalio
55-
, unordered-containers
33+
, aeson >=1 && <2.3
34+
, attoparsec >=0.14.4 && <0.15
35+
, base >=4.12
36+
, bytestring >=0.9
37+
, case-insensitive >=1.2.1.0 && <1.3
38+
, containers >=0.7
39+
, directory-tree >=0.12.1 && <0.13
40+
, ede >=0.3.4.0 && <0.4
41+
, errors >=2.1.2 && <2.4
42+
, formatting >=7.2.0 && <7.3
43+
, hashable >=1.5.0.0 && <1.6
44+
, haskell-src-exts >=1.23.1 && <1.24
45+
, lens >=5.3.4 && <5.4
46+
, mtl >=2.3
47+
, pandoc >=3.6.3 && <3.7
48+
, parsec >=3.1
49+
, system-fileio >=0.3.16.6 && <0.4
50+
, system-filepath >=0.4.14.1 && <0.5
51+
, text >=2.1
52+
, text-icu >=0.8.0.5 && <0.9
53+
, text-manipulate >=0.3.1.0 && <0.4
54+
, text-regex-replace >=0.1.1.5 && <0.2
55+
, unexceptionalio >=0.5.1 && <0.6
56+
, unordered-containers >=0.2.20 && <0.3
5657

5758
exposed-modules:
5859
Gen.AST

lib/gogol-core/gogol-core.cabal

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -42,27 +42,27 @@ library
4242
Gogol.Types
4343

4444
build-depends:
45-
, aeson >=0.8
46-
, attoparsec >=0.11.3
45+
, aeson >=0.8 && <2.3
46+
, attoparsec >=0.11.3 && <0.15
4747
, base >=4.12 && <5
48-
, base64 >=1.0
49-
, bytestring >=0.9
50-
, case-insensitive >=1.2
51-
, conduit >=1.3
52-
, dlist >=0.7
53-
, exceptions >=0.6
54-
, hashable >=1.2
55-
, http-api-data >=0.2
48+
, base64 >=1.0 && <1.1
49+
, bytestring >=0.9 && <0.14
50+
, case-insensitive >=1.2 && <1.3
51+
, conduit >=1.3 && <1.4
52+
, dlist >=0.7 && <1.1
53+
, exceptions >=0.6 && <0.12
54+
, hashable >=1.2 && <1.6
55+
, http-api-data >=0.2 && <0.7
5656
, http-client >=0.5 && <1
57-
, http-media >=0.6
58-
, http-types >=0.8.6
59-
, lens >=4.4
60-
, resourcet >=1.1
61-
, scientific >=0.3
62-
, servant >=0.20.1
63-
, text >=1.1
64-
, time >=1.5
65-
, unordered-containers >=0.2.5
57+
, http-media >=0.6 && <0.9
58+
, http-types >=0.8.6 && <0.13
59+
, lens >=4.4 && <5.4
60+
, resourcet >=1.1 && <1.4
61+
, scientific >=0.3 && <0.4
62+
, servant >=0.20.1 && <0.21
63+
, text >=1.1 && <2.2
64+
, time >=1.2 && <2
65+
, unordered-containers >=0.2.5 && <0.3
6666

6767
test-suite tests
6868
type: exitcode-stdio-1.0

lib/gogol/gogol.cabal

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -64,26 +64,26 @@ library
6464
Gogol.Prelude, Gogol.Types, Gogol.Data.Base64, Gogol.Data.JSON, Gogol.Data.Time
6565

6666
build-depends:
67-
, aeson >=0.8
68-
, base >=4.12 && <5
69-
, bytestring >=0.9
70-
, case-insensitive >=1.2
71-
, conduit-extra >=1.1
72-
, crypton >=0.34
73-
, crypton-x509 >=1.5
74-
, crypton-x509-store >=1.5
75-
, directory >=1.2
76-
, exceptions >=0.6
77-
, filepath >=1.2
67+
, aeson >=0.8 && <2.3
68+
, base >=4.12 && <5
69+
, bytestring >=0.9 && <0.14
70+
, case-insensitive >=1.2 && <1.3
71+
, conduit-extra >=1.1 && <1.4
72+
, crypton >=0.34 && <1.1
73+
, crypton-x509 >=1.5 && <1.8
74+
, crypton-x509-store >=1.5 && <1.7
75+
, directory >=1.2 && <1.5
76+
, exceptions >=0.6 && <0.12
77+
, filepath >=1.2 && <1.7
7878
, gogol-core ^>=1
79-
, http-client >=0.5 && <1
80-
, http-conduit >=2.3 && <3
81-
, http-media >=0.6
82-
, http-types >=0.8.6
83-
, lens >=4.4
84-
, memory >=0.8
85-
, mime-types >=0.1
86-
, mtl >=2.1.3.1
87-
, resourcet >=1.1
88-
, text >=1.1
89-
, time >=1.2
79+
, http-client >=0.5 && <1
80+
, http-conduit >=2.3 && <3
81+
, http-media >=0.6 && <0.9
82+
, http-types >=0.8.6 && <0.13
83+
, lens >=4.4 && <5.4
84+
, memory >=0.8 && <0.19
85+
, mime-types >=0.1 && <0.2
86+
, mtl >=2.2 && <2.4
87+
, resourcet >=1.1 && <1.4
88+
, text >=1.1 && <2.2
89+
, time >=1.2 && <2

0 commit comments

Comments
 (0)