-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathrandom-build.cabal
134 lines (115 loc) · 3.52 KB
/
random-build.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
cabal-version: 3.4
name: random-build
version: 0.2.0.0
synopsis:
Build random packages in a Gentoo repository and evaluate the success rate
description:
A tool to build random packages in a Gentoo repository and
evaluate the success rate. Currently, it only supports the ::haskell repo,
but support for other repos may be added in the future.
homepage: https://github.com/gentoo-haskell/random-build
license: BSD-3-Clause
license-file: LICENSE
author: Xavier Dectot
maintainer: [email protected]
copyright:
Copyright 2025 Xavier Dectot
Copyright 2025 Gentoo Authors
category: Development
build-type: Simple
extra-doc-files:
CHANGELOG.md
README.md
tested-with:
GHC ==9.0.2
|| ==9.2.8
|| ==9.4.8
|| ==9.6.6
|| ==9.8.4
|| ==9.10.1
|| ==9.12.1
source-repository head
type: git
location: https://github.com/gentoo-haskell/random-build.git
flag pedantic
description: Enable -Werror
default: False
manual: True
flag threads
description: Enable threading and rtsopts
default: True
manual: True
flag profile
description: Enable profiling flags
default: False
manual: True
common warnings
ghc-options: -Wall
if flag(pedantic)
ghc-options: -Werror
common shared-properties
default-language: Haskell2010
build-depends:
, base >=4.15.1.0 && <4.22
, bytestring >=0.10.12.1 && <0.13
, effectful ^>=2.5.1.0
, effectful-core ^>=2.5.0
, monad-time-effectful ^>=1.0.0.0
, mtl >=2.2.2 && <2.4
, optparse-applicative ^>=0.18.1.0
, unix >=2.7.2.2 && <2.9
, unordered-containers ^>=0.2.20
library conduit-effectful
exposed-modules:
Data.Conduit.Process.Effectful
Data.Streaming.Process.Effectful
build-depends:
, async ^>=2.2.5
, base >=4.15.1.0 && <4.22
, bytestring >=0.10.12.1 && <0.13
, conduit ^>=1.3.6
, conduit-extra ^>=1.3.7
, effectful ^>=2.5.1.0
, effectful-core ^>=2.5.0
, mtl >=2.2.2 && <2.4
, process >=1.6.13.2 && <1.7
, streaming-commons ^>=0.2.3.0
, unliftio-core ^>=0.2.1.0
hs-source-dirs: eff
default-language: Haskell2010
library
import: warnings, shared-properties
exposed-modules:
GHRB.Core
GHRB.Core.Types
GHRB.Core.Utils
GHRB.IO
GHRB.IO.Cmd
GHRB.IO.Utils
build-depends:
, conduit ^>=1.3.6
, flatparse ^>=0.5.2.1
, optparse-applicative ^>=0.18.1.0
, portage-hs ^>=0.1.0.0
, prettyprinter ^>=1.7.0
, prettyprinter-ansi-terminal ^>=1.1.3
, process >=1.6.13.2 && <1.7
, random-build:conduit-effectful
, text >=1.2.5.0 && <2.2
, time >=1.9.3 && <1.15
, time-compat ^>=1.9.8
, transformers >=0.5.6.0 && <7
hs-source-dirs: src
default-language: Haskell2010
executable random-build
import: warnings, shared-properties
main-is: Main.hs
build-depends:
, list-shuffle ^>=1.0.0.0
, random-build
hs-source-dirs: app
default-language: Haskell2010
if flag(threads)
ghc-options: -threaded -rtsopts -with-rtsopts=-N
if flag(profile)
ghc-options: -fprof-cafs -fprof-auto -rtsopts