@@ -2,11 +2,12 @@ cabal-version: 3.4
2
2
name : random-build
3
3
version : 0.1.0.0
4
4
synopsis :
5
- A tool to build random Haskell packages in a gentoo repository and evaluate the success rate.
5
+ Build random packages in a Gentoo repository and evaluate the success rate
6
6
7
7
description :
8
- A tool to build random Haskell packages in a gentoo repository and
9
- evaluate the success rate.
8
+ A tool to build random packages in a Gentoo repository and
9
+ evaluate the success rate. Currently, it only supports the : :haskell repo,
10
+ but support for other repos may be added in the future.
10
11
11
12
homepage :
12
13
https://github.com/gentoo-haskell/random-build
@@ -16,14 +17,40 @@ license-file: LICENSE
16
17
author : Xavier Dectot
17
18
18
19
19
- -- copyright:
20
+ copyright :
21
+ Copyright 2025 Xavier Dectot
22
+ Copyright 2025 Gentoo Authors
23
+
20
24
category : Development
21
25
build-type : Simple
22
- extra-doc-files : CHANGELOG.md
26
+ extra-doc-files :
27
+ CHANGELOG.md
28
+ README.md
29
+
30
+ tested-with :
31
+ , GHC == 9.0.2
32
+ , GHC == 9.2.8
33
+ , GHC == 9.4.8
34
+ , GHC == 9.6.6
35
+ , GHC == 9.8.4
36
+ , GHC == 9.10.1
37
+ , GHC == 9.12.1
38
+
39
+ source-repository head
40
+ type : git
41
+ location : https://github.com/gentoo-haskell/random-build.git
42
+
43
+ flag pedantic
44
+ description : Enable -Werror
45
+ default : False
46
+ manual : True
23
47
24
48
common warnings
25
49
ghc-options : -Wall
26
50
51
+ if flag(pedantic)
52
+ ghc-options : -Werror
53
+
27
54
library
28
55
import : warnings
29
56
exposed-modules :
@@ -35,25 +62,25 @@ library
35
62
GHRB.IO.Utils
36
63
37
64
build-depends :
38
- , base >= 4.17.0.0
39
- , bytestring ^ >= 0.12.1.0
65
+ , base >= 4.15.1.0 && < 4.22
66
+ , bytestring >= 0.10. 12.1 && < 0.13
40
67
, conduit ^>= 1.3.6
41
68
, conduit-extra ^>= 1.3.7
42
69
, effectful ^>= 2.5.1.0
43
70
, effectful-core ^>= 2.5.0
44
71
, flatparse ^>= 0.5.2.1
45
72
, monad-time-effectful ^>= 1.0.0.0
46
- , mtl ^ >= 2.3.1
73
+ , mtl >= 2.2.2 && < 2.4
47
74
, optparse-applicative ^>= 0.18.1.0
48
75
, portage-hs ^>= 0.1.0.0
49
76
, prettyprinter ^>= 1.7.0
50
77
, prettyprinter-ansi-terminal ^>= 1.1.3
51
- , process ^ >= 1.6.25.0
52
- , text ^ >= 2.1.1
53
- , time ^ >= 1.12
78
+ , process >= 1.6.13.2 && < 1.7
79
+ , text >= 1.2.5.0 && < 2.2
80
+ , time >= 1.9.3 && < 1.15
54
81
, time-compat ^>= 1.9.8
55
82
, transformers ^>= 0.6.1.0
56
- , unix ^ >= 2.8.6.0
83
+ , unix >= 2.7.2.2 && < 2.9
57
84
, unordered-containers ^>= 0.2.20
58
85
59
86
hs-source-dirs : src
@@ -63,16 +90,16 @@ executable random-build
63
90
import : warnings
64
91
main-is : Main.hs
65
92
build-depends :
66
- , base >= 4.17.0.0
67
- , bytestring ^ >= 0.12.1.0
93
+ , base >= 4.15.1.0 && < 4.22
94
+ , bytestring >= 0.10. 12.1 && < 0.13
68
95
, effectful ^>= 2.5.1.0
69
96
, effectful-core ^>= 2.5.0
70
97
, random-build
71
98
, list-shuffle ^>= 1.0.0.0
72
99
, monad-time-effectful ^>= 1.0.0.0
73
- , mtl ^ >= 2.3.1
100
+ , mtl >= 2.2.2 && < 2.4
74
101
, optparse-applicative ^>= 0.18.1.0
75
- , unix ^ >= 2.8.6.0
102
+ , unix >= 2.7.2.2 && < 2.9
76
103
, unordered-containers ^>= 0.2.20
77
104
78
105
hs-source-dirs : app
0 commit comments