-
Notifications
You must be signed in to change notification settings - Fork 23
/
hsdev.cabal
298 lines (271 loc) · 9.55 KB
/
hsdev.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
name: hsdev
version: 0.3.4.0
synopsis: Haskell development library
description:
Haskell development library and tool with support of autocompletion, symbol info, go to declaration, find references, hayoo search etc.
homepage: https://github.com/mvoidex/hsdev
license: BSD3
license-file: LICENSE
author: Alexandr `Voidex` Ruchkin
maintainer: [email protected]
-- copyright:
category: Development
build-type: Simple
cabal-version: >=1.10
extra-source-files:
tests/test-package/*.hs
tests/test-package/test-package.cabal
tests/data/base.sql
tests/data/ModuleTwo.modified.hs
tests/data/ModuleTwo.broken.hs
data/hsdev.sql
source-repository head
type: git
location: git://github.com/mvoidex/hsdev.git
flag docs
description: build with haddock/hdocs to support scanning docs
default: True
flag hlint
description: build with hlint to support linting
default: True
library
hs-source-dirs: src
ghc-options: -Wall -fno-warn-tabs
default-language: Haskell2010
if !flag(docs)
cpp-options: -DNODOCS
if !flag(hlint)
cpp-options: -DNOHLINT
exposed-modules:
Control.Apply.Util
Control.Concurrent.FiniteChan
Control.Concurrent.Worker
Control.Concurrent.Util
Data.Deps
Data.Help
Data.Lisp
Data.Maybe.JustIf
Data.LookupTable
HsDev
HsDev.Client.Commands
HsDev.Database.SQLite
HsDev.Database.SQLite.Instances
HsDev.Database.SQLite.Schema
HsDev.Database.SQLite.Schema.TH
HsDev.Database.SQLite.Select
HsDev.Database.SQLite.Transaction
HsDev.Database.Update
HsDev.Database.Update.Types
HsDev.Display
HsDev.Error
HsDev.Inspect
HsDev.Inspect.Definitions
HsDev.Inspect.Order
HsDev.Inspect.Resolve
HsDev.Inspect.Types
HsDev.PackageDb
HsDev.PackageDb.Types
HsDev.Project
HsDev.Project.Compat
HsDev.Project.Types
HsDev.Scan
HsDev.Scan.Browse
HsDev.Server.Base
HsDev.Server.Commands
HsDev.Server.Message
HsDev.Server.Message.Lisp
HsDev.Server.Types
HsDev.Sandbox
HsDev.Stack
HsDev.Symbols
HsDev.Symbols.Name
HsDev.Symbols.Class
HsDev.Symbols.HaskellNames
HsDev.Symbols.Location
HsDev.Symbols.Documented
HsDev.Symbols.Resolve
HsDev.Symbols.Parsed
HsDev.Symbols.Types
HsDev.Tools.AutoFix
HsDev.Tools.Base
HsDev.Tools.Cabal
HsDev.Tools.ClearImports
HsDev.Tools.Ghc.Base
HsDev.Tools.Ghc.Check
HsDev.Tools.Ghc.Compat
HsDev.Tools.Ghc.MGhc
HsDev.Tools.Ghc.Prelude
HsDev.Tools.Ghc.Repl
HsDev.Tools.Ghc.Session
HsDev.Tools.Ghc.System
HsDev.Tools.Ghc.Types
HsDev.Tools.Ghc.Worker
HsDev.Tools.Hayoo
HsDev.Tools.HDocs
HsDev.Tools.HLint
HsDev.Tools.Refact
HsDev.Tools.Tabs
HsDev.Tools.Types
HsDev.Types
HsDev.Util
HsDev.Version
HsDev.Watcher
HsDev.Watcher.Types
System.Directory.Paths
System.Directory.Watcher
if os(windows)
build-depends:
Win32 >= 2.3.0
exposed-modules:
System.Win32.PowerShell
System.Win32.FileMapping.NamePool
System.Win32.FileMapping.Memory
else
build-depends:
unix >= 2.7.2.0 && < 2.8
if impl(ghc >= 8.10) && impl(ghc < 8.11)
build-depends:
ghc == 8.10.*,
Cabal >= 3.2 && < 3.3
if impl(ghc >= 8.8) && impl(ghc < 8.9)
build-depends:
ghc == 8.8.*,
Cabal >= 3.0 && < 3.1
if impl(ghc >= 8.6) && impl(ghc < 8.7)
build-depends:
ghc == 8.6.*,
Cabal >= 2.4 && < 3.1
if impl(ghc >= 8.4) && impl(ghc < 8.5)
build-depends:
ghc == 8.4.*,
Cabal == 2.2.0.1
if impl(ghc >= 8.2) && impl(ghc < 8.3)
build-depends:
ghc == 8.2.*,
Cabal == 2.0.1.1
if impl(ghc >= 8.0) && impl(ghc < 8.2)
build-depends:
ghc >= 8.0.0 && < 8.1.0,
Cabal >= 1.24.2.0 && < 2.0
if flag(docs)
build-depends:
hdocs >= 0.5.3,
haddock-library >= 1.4.3 && < 1.10
if impl(ghc >= 8.10) && impl(ghc < 8.11)
build-depends:
haddock-api >= 2.24
if impl(ghc >= 8.8) && impl(ghc < 8.9)
build-depends:
haddock-api >= 2.23
if impl(ghc >= 8.6) && impl(ghc < 8.7)
build-depends:
haddock-api >= 2.21 && < 2.23
if impl(ghc >= 8.4) && impl(ghc < 8.5)
build-depends:
haddock-api == 2.20.*
if impl(ghc >= 8.2) && impl(ghc < 8.3)
build-depends:
haddock-api == 2.18.*
if impl(ghc >= 8.0) && impl(ghc < 8.2)
build-depends:
haddock-api == 2.17.*
if flag(hlint)
build-depends:
hlint >= 3.0.0 && < 3.3.0,
ghc-lib-parser == 8.10.*
-- Build dependency lower bound is set for GHC 8.0.1.
-- Upper bound is set for GHC 8.4
build-depends:
base >= 4.9 && < 5,
aeson >= 1.2.4.0 && < 1.6,
aeson-pretty >= 0.8.2 && < 0.9,
array >= 0.5.1.1 && < 0.6,
async >= 2.1.1.1 && < 2.3,
attoparsec >= 0.13.1.0 && < 0.14,
bytestring >= 0.10.8.1 && < 0.11,
containers >= 0.5.7.1 && < 0.7,
cpphs >= 1.20.5 && < 1.21,
data-default >= 0.7.1.1 && < 0.8,
deepseq >= 1.4.2.0 && < 1.5,
direct-sqlite >= 2.3.19 && < 2.4,
directory >= 1.2.6.2 && < 1.4,
exceptions >= 0.8.3 && < 0.11,
filepath >= 1.4.1.0 && < 1.5,
fsnotify >= 0.2.1 && < 0.4,
ghc-boot >= 8.0.1 && < 8.11,
ghc-paths >= 0.1.0.9 && < 0.2,
haskell-names >= 0.9.1 && < 0.10.0,
haskell-src-exts >= 1.19.1 && < 1.24.0,
hformat >= 0.1.0.1 && < 0.4,
http-client >= 0.5 && < 0.7,
lens >= 4.14 && < 4.20,
lifted-base >= 0.2.3.10 && < 0.3,
mmorph >= 1.0.9 && < 1.2,
monad-control >= 1.0.1.0 && < 1.1,
monad-loops >= 0.4.3 && < 0.5,
mtl >= 2.2.1 && < 2.3,
network >= 2.8 && < 3.2,
network-uri >= 2.6 && < 2.7,
optparse-applicative >= 0.12.1.0 && < 0.16,
process >= 1.4.2.0 && < 1.7,
regex-pcre-builtin >= 0.94.4 && < 0.96,
scientific >= 0.3.4.9 && < 0.4,
simple-log >= 0.9.9 && < 0.10,
sqlite-simple >= 0.4.13.0 && < 0.5,
stm >= 2.4 && < 2.6,
syb >= 0.6 && < 0.8,
template-haskell >= 2.11.0 && < 2.17,
text >= 1.2.2.2 && < 1.3,
text-region >= 0.1.0.1 && < 0.4,
time >= 1.6.0.1 && < 1.10,
transformers >= 0.5.2.0 && < 0.6,
transformers-base >= 0.4.4 && < 0.5,
uniplate >= 1.6.12 && < 1.7,
unordered-containers >= 0.2.8.0 && < 0.3,
vector >= 0.11.0.0 && < 0.13
executable hsdev
main-is: hsdev.hs
hs-source-dirs: tools
default-language: Haskell2010
ghc-options: -threaded -Wall -fno-warn-tabs "-with-rtsopts=-N4"
build-depends:
hsdev,
base >= 4.9 && < 5,
aeson >= 1.2.4.0 && < 1.6,
aeson-pretty >= 0.8.2 && < 0.9,
bytestring >= 0.10.8.1 && < 0.11,
containers >= 0.5.7.1 && < 0.7,
deepseq >= 1.4.2.0 && < 1.5,
directory >= 1.2.6.2 && < 1.4,
exceptions >= 0.8.3 && < 0.11,
filepath >= 1.4.1.0 && < 1.5,
monad-loops >= 0.4.3 && < 0.5,
mtl >= 2.2.1 && < 2.3,
network >= 2.8 && < 3.2,
optparse-applicative >= 0.12.1.0 && < 0.16,
process >= 1.4.2.0 && < 1.7,
text >= 1.2.2.2 && < 1.3,
transformers >= 0.5.2.0 && < 0.6,
unordered-containers >= 0.2.8.0 && < 0.3
test-suite test
main-is: Test.hs
hs-source-dirs: tests
default-language: Haskell2010
ghc-options: -threaded -Wall -fno-warn-tabs
type: exitcode-stdio-1.0
build-depends:
hsdev,
base >= 4.9 && < 5,
aeson >= 1.2.4.0 && < 1.6,
lens-aeson >= 1.0 && < 1.2,
async >= 2.1.1.1 && < 2.3,
containers >= 0.5.7.1 && < 0.7,
data-default >= 0.7.1.1 && < 0.8,
deepseq >= 1.4.2.0 && < 1.5,
directory >= 1.2.6.2 && < 1.4,
filepath >= 1.4.1.0 && < 1.5,
hformat >= 0.1.0.1 && < 0.4,
hspec >= 2.2.4,
lens >= 4.14 && < 4.20,
mtl >= 2.2.1 && < 2.3,
text >= 1.2.2.2 && < 1.3