-
Notifications
You must be signed in to change notification settings - Fork 28
/
universum.cabal
186 lines (167 loc) · 6.63 KB
/
universum.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
cabal-version: 2.2
name: universum
version: 1.8.2.2
synopsis: Custom prelude used in Serokell
description: See README.md file for more details.
homepage: https://github.com/serokell/universum
license: MIT
license-file: LICENSE
author: Stephen Diehl, @serokell
maintainer: Serokell <[email protected]>
copyright: 2016 Stephen Diehl, 2016-2018 Serokell
category: Prelude
stability: stable
build-type: Simple
bug-reports: https://github.com/serokell/universum/issues
tested-with: GHC == 8.10.7
, GHC == 9.0.2
, GHC == 9.2.8
, GHC == 9.4.8
, GHC == 9.6.6
, GHC == 9.8.2
, GHC == 9.10.1
extra-doc-files: CHANGES.md
, CONTRIBUTING.md
, README.md
source-repository head
type: git
location: [email protected]:serokell/universum.git
common common-options
build-depends: base >= 4.8 && < 5
ghc-options:
-- Source: https://medium.com/mercury-bank/enable-all-the-warnings-a0517bc081c3
-Weverything
-Wno-missing-exported-signatures
-Wno-missing-import-lists
-Wno-missed-specialisations
-Wno-all-missed-specialisations
-Wno-unsafe
-Wno-safe
-Wno-missing-local-signatures
-Wno-monomorphism-restriction
-Wno-implicit-prelude
-Wno-prepositive-qualified-module
-Wno-inferred-safe-imports
if impl(ghc >= 9.2.0)
ghc-options: -Wno-missing-kind-signatures
default-language: Haskell2010
default-extensions: TypeOperators
library
import: common-options
hs-source-dirs: src
exposed-modules:
Universum
Universum.Applicative
Universum.Base
Universum.Bool
Universum.Bool.Guard
Universum.Bool.Reexport
Universum.Container
Universum.Container.Class
Universum.Container.Reexport
Universum.Debug
Universum.DeepSeq
Universum.Exception
Universum.Function
Universum.Functor
Universum.Functor.Fmap
Universum.Functor.Reexport
Universum.Lifted
Universum.Lifted.Concurrent
Universum.Lifted.Env
Universum.Lifted.File
Universum.Lifted.IORef
Universum.List
Universum.List.Reexport
Universum.List.Safe
Universum.Monad
Universum.Monad.Container
Universum.Monad.Either
Universum.Monad.Maybe
Universum.Monad.Reexport
Universum.Monad.Trans
Universum.Monoid
Universum.Nub
Universum.Print
Universum.Print.Internal
Universum.String
Universum.String.Conversion
Universum.String.Reexport
Universum.TypeOps
Universum.Unsafe
Universum.VarArg
build-depends: bytestring
, containers
, deepseq
, ghc-prim >= 0.4.0.0
, hashable
, microlens
, microlens-mtl
, mtl
, safe-exceptions
, stm
-- Make sure that "toString-toText-rewritting" note
-- is still valid when bumping this constraint.
, text >= 1.0.0.0 && <= 2.1.1
, transformers
, unordered-containers
, utf8-string
, vector
ghc-options: -Wimplicit-prelude
default-extensions: NoImplicitPrelude
OverloadedStrings
test-suite universum-test
import: common-options
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
other-modules:
Tree
Test.Universum.Issue208
Test.Universum.StringProps
Test.Universum.UtfProps
Test.Universum.ListProps
Test.Universum.BoolMProps
build-depends: universum
, bytestring
, text
, hedgehog
, tasty
, tasty-hedgehog
build-tool-depends:
tasty-discover:tasty-discover
ghc-options: -Wno-missing-safe-haskell-mode
ghc-options: -threaded
test-suite universum-doctest
import: common-options
if os(windows)
buildable: False
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Doctest.hs
build-depends: doctest
, Glob
ghc-options: -Wno-missing-safe-haskell-mode
ghc-options: -threaded
-- https://github.com/sol/doctest/issues/327
-- TODO: re-enable when the issue is resolved
if impl(ghc >= 9.0.0)
buildable: False
benchmark universum-benchmark
import: common-options
type: exitcode-stdio-1.0
ghc-options: -threaded -rtsopts -with-rtsopts=-N
hs-source-dirs: benchmark
main-is: Main.hs
build-depends: universum
, containers
, gauge
, text
, unordered-containers
ghc-options: -Wno-missing-safe-haskell-mode
if impl(ghc >= 9.8.0)
ghc-options: -Wno-x-partial
-- TODO (#298): migrate from gauge to something
buildable: False
default-extensions: NoImplicitPrelude
ScopedTypeVariables