-
Notifications
You must be signed in to change notification settings - Fork 1
/
sr-extra.cabal
160 lines (153 loc) · 3.64 KB
/
sr-extra.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
Name: sr-extra
Version: 1.93
License: BSD3
License-File: COPYING
Author: David Fox
Category: Unclassified
Synopsis: Module limbo
Description:
A hodge-podge of functions, modules, and instances. These
generally end up here because
1. they are needed in two unrelated packages,
2. they belong in some upstream module,
3. they can't be moved to an upstream module because
they would add dependencies, or
4. they are deprecated but still in use
Maintainer: David Fox <[email protected]>
Homepage: https://github.com/seereason/sr-extra
Build-Type: Simple
Cabal-Version: >= 1.10
Tested-With: GHC==8.0.2, GHC==8.2.2, GHC==8.4.4, GHC==8.6.5, GHC==8.8.4, GHC==8.10.2
flag network-uri
Description: Get Network.URI from the network-uri package rather than the
full network package.
Default: True
flag omit-serialize
Description: Omit all the Serialize instances, on the assumption
that we will use SafeCopy instances instead.
Default: False
flag omit-data
Description: Omit all Data instances
Default: False
Library
default-language: Haskell2010
GHC-Options: -Wall -Wredundant-constraints
Build-Depends:
base >= 4.9 && < 5,
base64-bytestring,
bytestring,
bzlib,
Cabal,
containers,
Diff,
directory,
exceptions,
fgl,
filemanip,
filepath,
generic-data,
hslogger,
lens,
ListLike,
mmorph,
mtl,
pretty,
pureMD5,
QuickCheck >= 2 && < 3,
random,
safecopy >= 0.9.5,
show-combinators,
syb,
template-haskell < 2.17,
text,
th-lift,
th-lift-instances,
th-orphans,
time >= 1.1,
transformers,
unexceptionalio-trans,
unix,
Unixutils >= 1.51,
userid,
uuid,
uuid-orphans,
uuid-types,
zlib
if !impl(ghcjs)
Build-Depends:
regex-tdfa
C-Sources: cbits/gwinsz.c
Include-Dirs: cbits
Install-Includes: gwinsz.h
Default-Extensions: ConstraintKinds, CPP, DataKinds, DeriveDataTypeable, DeriveFunctor, DeriveGeneric
Default-Extensions: FlexibleInstances, FlexibleContexts, MultiParamTypeClasses, RankNTypes
Default-Extensions: ScopedTypeVariables, StandaloneDeriving, TupleSections, TypeApplications, TypeFamilies
Exposed-modules:
Extra.Bool,
Extra.Cache,
Extra.Debug,
Extra.Debug2,
Extra.Either,
Extra.EnvPath,
Extra.ErrorControl,
Extra.ErrorSet,
Extra.Except,
Extra.Exit,
Extra.Files,
Extra.FP,
Extra.Generics,
Extra.Generics.Show,
Extra.IOThread
Extra.List,
Extra.HughesPJ,
Extra.IO,
Extra.LocalStorageEncode,
Extra.Log,
Extra.Misc,
Extra.Monad.Supply,
Extra.Net,
Extra.Orphans,
Extra.Orphans2,
Extra.Orphans3,
Extra.Pretty,
Extra.QuickCheck,
Extra.SafeCopy,
Extra.Serialize,
Extra.Text,
Extra.TH,
Extra.Time,
Extra.Terminal,
Extra.URI,
Extra.URIQuery,
Extra.Verbosity
if !impl(ghcjs)
Exposed-modules:
Extra.THIO
if impl (ghc >= 8.6)
Exposed-modules:
Extra.Errors
if !impl(ghcjs)
Build-Depends:
show-please,
HUnit,
process,
process-extras
Exposed-Modules:
Extra.GPGSign,
Extra.Lock,
Extra.Process,
Extra.SSH,
Test.QUnit,
Test.QuickCheck.Properties
if flag(network-uri)
Build-Depends: network-uri >= 2.6
else
Build-Depends: network >= 2.4
if flag(omit-data)
CPP-Options: -DOMIT_DATA_INSTANCES
if flag(omit-serialize)
CPP-Options: -DOMIT_SERIALIZE
-- We still need cereal to implement instance SafeCopy Proxy
Build-Depends: cereal
else
Build-Depends: cereal