-
Notifications
You must be signed in to change notification settings - Fork 0
/
hw-polysemy.cabal
354 lines (340 loc) · 17.6 KB
/
hw-polysemy.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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
cabal-version: 3.4
name: hw-polysemy
version: 0.3.1.2
synopsis: Opinionated polysemy library
description: Opinionated polysemy library.
license: Apache-2.0
license-file: LICENSE
author: John Ky
maintainer: [email protected]
copyright: 2024 John Ky
category: Development
build-type: Simple
tested-with: GHC == 9.10.1, GHC == 9.8.4, GHC == 9.6.6, GHC == 9.4.8
extra-doc-files: CHANGELOG.md
extra-source-files: README.md
source-repository head
type: git
location: https://github.com/haskell-works/hw-polysemy
common base { build-depends: base >= 4.13 && < 5 }
common aeson { build-depends: aeson < 2.3 }
common aeson-pretty { build-depends: aeson-pretty < 0.9 }
common async { build-depends: async < 2.3 }
common amazonka { build-depends: amazonka >= 2 && < 3 }
common amazonka-s3 { build-depends: amazonka-s3 >= 2 && < 3 }
common binary { build-depends: binary >= 0.8.9 && < 0.9 }
common bytestring { build-depends: bytestring < 0.13 }
common contravariant { build-depends: contravariant < 1.6 }
common Diff { build-depends: Diff < 2 }
common directory { build-depends: directory < 1.4 }
common exceptions { build-depends: exceptions < 0.11 }
common filepath { build-depends: filepath < 1.6 }
common generic-lens { build-depends: generic-lens < 2.3 }
common ghc-prim { build-depends: ghc-prim < 0.14 }
common hedgehog { build-depends: hedgehog < 1.6 }
common http-conduit { build-depends: http-conduit >= 2.3 && < 2.4 }
common hw-prelude { build-depends: hw-prelude >= 0.0.4.2 && < 0.1 }
common microlens { build-depends: microlens < 5 }
common lens { build-depends: lens < 5.4 }
common mtl { build-depends: mtl < 2.6 }
common network { build-depends: network < 3.3 }
common polysemy { build-depends: polysemy < 2 }
common polysemy-log { build-depends: polysemy-log >= 0.11 && < 1 }
common polysemy-plugin { build-depends: polysemy-plugin < 0.5 }
common polysemy-time { build-depends: polysemy-time < 1 }
common prettyprinter { build-depends: prettyprinter < 1.8 }
common process { build-depends: process < 1.7 }
common resourcet { build-depends: resourcet < 1.4 }
common stm { build-depends: stm < 2.6 }
common tasty { build-depends: tasty < 1.6 }
common tasty-discover { build-depends: tasty-discover < 6 }
common tasty-hedgehog { build-depends: tasty-hedgehog < 1.5 }
common temporary { build-depends: temporary < 1.4 }
common testcontainers { build-depends: testcontainers < 0.6 }
common text { build-depends: text < 3 }
common time { build-depends: time < 2 }
common transformers { build-depends: transformers < 0.7 }
common ulid { build-depends: ulid < 0.4 }
common unliftio { build-depends: unliftio < 0.3 }
common yaml { build-depends: yaml < 0.12 }
common Win32
if os(windows)
build-depends: Win32 >= 2.5.4.1 && < 3
common hw-polysemy { build-depends: hw-polysemy }
common hw-polysemy-amazonka { build-depends: hw-polysemy:amazonka }
common hw-polysemy-core { build-depends: hw-polysemy:core }
common hw-polysemy-hedgehog { build-depends: hw-polysemy:hedgehog }
common hw-polysemy-testcontainers-localstack { build-depends: hw-polysemy:testcontainers-localstack }
flag werror
description: Enable -Werror
manual: True
default: False
common project-config
import: polysemy,
polysemy-plugin,
default-extensions: BlockArguments
BangPatterns
DataKinds
DeriveGeneric
DerivingStrategies
DisambiguateRecordFields
DuplicateRecordFields
FlexibleContexts
FlexibleInstances
GADTs
GeneralizedNewtypeDeriving
LambdaCase
MultiWayIf
NamedFieldPuns
NoFieldSelectors
NoImplicitPrelude
NumericUnderscores
OverloadedRecordDot
OverloadedStrings
PatternSynonyms
PolyKinds
RankNTypes
RecordWildCards
ScopedTypeVariables
StandaloneDeriving
StrictData
TypeApplications
TypeFamilies
TypeOperators
TypeSynonymInstances
ghc-options: -Wall
-fplugin=Polysemy.Plugin
if flag(werror)
ghc-options: -Werror
library core
import: base, project-config,
aeson,
async,
bytestring,
contravariant,
directory,
exceptions,
filepath,
generic-lens,
ghc-prim,
hedgehog,
hw-prelude,
lens,
microlens,
mtl,
network,
polysemy-log,
polysemy-time,
polysemy,
process,
resourcet,
stm,
temporary,
text,
time,
ulid,
unliftio,
Win32,
yaml,
visibility: public
exposed-modules: HaskellWorks.Polysemy
HaskellWorks.Polysemy.Cabal
HaskellWorks.Polysemy.Cabal.Types
HaskellWorks.Polysemy.Control.Concurrent
HaskellWorks.Polysemy.Control.Concurrent.QSem
HaskellWorks.Polysemy.Control.Concurrent.STM
HaskellWorks.Polysemy.Control.Concurrent.STM.TVar
HaskellWorks.Polysemy.Data.Aeson
HaskellWorks.Polysemy.Data.ByteString
HaskellWorks.Polysemy.Data.ByteString.Lazy
HaskellWorks.Polysemy.Data.ByteString.Strict
HaskellWorks.Polysemy.Data.Either
HaskellWorks.Polysemy.Data.Text
HaskellWorks.Polysemy.Data.Text.Lazy
HaskellWorks.Polysemy.Data.Text.Strict
HaskellWorks.Polysemy.Data.ULID
HaskellWorks.Polysemy.Error
HaskellWorks.Polysemy.Error.Types
HaskellWorks.Polysemy.Error.Types.JsonDecodeError
HaskellWorks.Polysemy.Error.Types.YamlDecodeError
HaskellWorks.Polysemy.Except
HaskellWorks.Polysemy.File
HaskellWorks.Polysemy.FilePath
HaskellWorks.Polysemy.Log
HaskellWorks.Polysemy.OS
HaskellWorks.Polysemy.Prelude
HaskellWorks.Polysemy.Stack
HaskellWorks.Polysemy.String
HaskellWorks.Polysemy.System.Directory
HaskellWorks.Polysemy.System.Environment
HaskellWorks.Polysemy.System.IO
HaskellWorks.Polysemy.System.IO.Temp
HaskellWorks.Polysemy.System.Process
hs-source-dirs: core
default-language: Haskell2010
library hedgehog
import: base, project-config,
aeson,
aeson-pretty,
async,
binary,
bytestring,
contravariant,
Diff,
exceptions,
filepath,
generic-lens,
ghc-prim,
hedgehog,
hw-prelude,
hw-polysemy-core,
lens,
mtl,
polysemy-log,
polysemy-time,
polysemy,
prettyprinter,
process,
resourcet,
text,
time,
transformers,
ulid,
yaml,
visibility: public
exposed-modules: HaskellWorks.Polysemy.Hedgehog
HaskellWorks.Polysemy.Hedgehog.Assert
HaskellWorks.Polysemy.Hedgehog.Effect.Hedgehog
HaskellWorks.Polysemy.Hedgehog.Effect.Hedgehog.Internal
HaskellWorks.Polysemy.Hedgehog.Effect.Log
HaskellWorks.Polysemy.Hedgehog.Eval
HaskellWorks.Polysemy.Hedgehog.Gen
HaskellWorks.Polysemy.Hedgehog.Golden
HaskellWorks.Polysemy.Hedgehog.Jot
HaskellWorks.Polysemy.Hedgehog.Process
HaskellWorks.Polysemy.Hedgehog.Process.Internal
HaskellWorks.Polysemy.Hedgehog.Property
HaskellWorks.Polysemy.Hedgehog.Range
HaskellWorks.Polysemy.Hedgehog.Test
HaskellWorks.Polysemy.Hedgehog.Time
HaskellWorks.Polysemy.Hedgehog.Ulid
HaskellWorks.Polysemy.Hedgehog.Workspace
HaskellWorks.Polysemy.Hedgehog.Workspace.Types
hs-source-dirs: hedgehog
default-language: Haskell2010
library amazonka
import: base, project-config,
aeson,
amazonka,
binary,
generic-lens,
hw-polysemy-core,
hw-prelude,
lens,
polysemy-log,
polysemy-time,
resourcet,
text,
stm,
visibility: public
exposed-modules: HaskellWorks.Polysemy.Amazonka
HaskellWorks.Polysemy.Amazonka.Errors
HaskellWorks.Polysemy.Amazonka.Errors.AwsError
hs-source-dirs: amazonka
default-language: Haskell2010
library testcontainers-localstack
import: base, project-config,
aeson,
amazonka,
bytestring,
generic-lens,
http-conduit,
hw-polysemy-amazonka,
hw-polysemy-core,
hw-polysemy-hedgehog,
hw-prelude,
lens,
resourcet,
resourcet,
testcontainers,
text,
time,
yaml,
visibility: public
exposed-modules: HaskellWorks.Polysemy.Amazonka.LocalStack
HaskellWorks.TestContainers.LocalStack
HaskellWorks.TestContainers.LocalStack.Types
hs-source-dirs: testcontainers-localstack
default-language: Haskell2010
library
import: base, project-config,
hw-polysemy-core,
hw-polysemy-hedgehog,
reexported-modules: HaskellWorks.Polysemy,
HaskellWorks.Polysemy.Cabal,
HaskellWorks.Polysemy.Cabal.Types,
HaskellWorks.Polysemy.Control.Concurrent,
HaskellWorks.Polysemy.Control.Concurrent.QSem,
HaskellWorks.Polysemy.Control.Concurrent.STM,
HaskellWorks.Polysemy.Control.Concurrent.STM.TVar,
HaskellWorks.Polysemy.Data.ByteString,
HaskellWorks.Polysemy.Data.ByteString.Lazy,
HaskellWorks.Polysemy.Data.ByteString.Strict,
HaskellWorks.Polysemy.Data.Either,
HaskellWorks.Polysemy.Data.Text,
HaskellWorks.Polysemy.Data.Text.Lazy,
HaskellWorks.Polysemy.Data.Text.Strict,
HaskellWorks.Polysemy.Error,
HaskellWorks.Polysemy.Error.Types,
HaskellWorks.Polysemy.FilePath,
HaskellWorks.Polysemy.OS,
HaskellWorks.Polysemy.Hedgehog,
HaskellWorks.Polysemy.Hedgehog.Assert,
HaskellWorks.Polysemy.Hedgehog.Effect.Hedgehog,
HaskellWorks.Polysemy.Hedgehog.Effect.Hedgehog.Internal,
HaskellWorks.Polysemy.Hedgehog.Effect.Log,
HaskellWorks.Polysemy.Hedgehog.Eval,
HaskellWorks.Polysemy.Hedgehog.Gen,
HaskellWorks.Polysemy.Hedgehog.Golden,
HaskellWorks.Polysemy.Hedgehog.Jot,
HaskellWorks.Polysemy.Hedgehog.Process,
HaskellWorks.Polysemy.Hedgehog.Process.Internal,
HaskellWorks.Polysemy.Hedgehog.Property,
HaskellWorks.Polysemy.Hedgehog.Range,
HaskellWorks.Polysemy.Hedgehog.Test,
HaskellWorks.Polysemy.Hedgehog.Workspace,
HaskellWorks.Polysemy.Prelude,
HaskellWorks.Polysemy.String,
HaskellWorks.Polysemy.System.Directory,
HaskellWorks.Polysemy.System.Environment,
HaskellWorks.Polysemy.System.IO,
HaskellWorks.Polysemy.System.Process,
default-language: Haskell2010
test-suite hw-polysemy-test
import: base, project-config,
amazonka,
amazonka-s3,
filepath,
generic-lens,
hw-polysemy-amazonka,
hw-polysemy-core,
hw-polysemy-testcontainers-localstack,
hw-polysemy,
hw-prelude,
lens,
polysemy-log,
polysemy,
tasty-discover,
tasty-hedgehog,
tasty,
testcontainers,
text,
default-language: Haskell2010
type: exitcode-stdio-1.0
build-tool-depends: tasty-discover:tasty-discover
hs-source-dirs: test
main-is: Main.hs
other-modules: HaskellWorks.Polysemy.HedgehogSpec
HaskellWorks.Polysemy.TestContainers.LocalStackSpec
Test.Polysemy.Env
ghc-options: -threaded -rtsopts -with-rtsopts=-N -with-rtsopts=-T