forked from commercialhaskell/stack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
stack.cabal
433 lines (417 loc) · 16.6 KB
/
stack.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
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
name: stack
version: 1.4.1
synopsis: The Haskell Tool Stack
description: Please see the README.md for usage information, and
the wiki on Github for more details. Also, note that
the API for the library is not currently stable, and may
change significantly, even between minor releases. It is
currently only intended for use by the executable.
license: BSD3
license-file: LICENSE
author: Commercial Haskell SIG
maintainer: [email protected]
category: Development
build-type: Custom
cabal-version: >=1.10
homepage: http://haskellstack.org
extra-source-files: CONTRIBUTING.md
ChangeLog.md
README.md
doc/*.md
src/setup-shim/StackSetupShim.hs
-- Glob would be nice, but apparently Cabal doesn't support it:
-- cabal: filepath wildcard 'test/package-dump/*.txt' does not match any files.
-- Happened during cabal sdist
test/package-dump/ghc-7.8.txt
test/package-dump/ghc-7.8.4-osx.txt
test/package-dump/ghc-7.10.txt
stack.yaml
custom-setup
setup-depends: base
, Cabal
, filepath
flag integration-tests
manual: True
default: False
description: Run the integration test suite
flag disable-git-info
manual: True
default: False
description: Disable compile-time inclusion of current git info in stack
-- disabling git info can lead to a quicker workflow in certain
-- scenarios when you're developing on stack itself, but
-- should otherwise be avoided
-- see: https://github.com/commercialhaskell/stack/issues/1425
flag static
manual: True
default: False
description: Pass -static/-pthread to ghc when linking the stack binary.
-- Not intended for general use. Simply makes it easier to
-- build a fully static binary on Linux platforms that enable it.
flag hide-dependency-versions
manual: True
default: False
description: Hides dependency versions from "stack --version", used only by building with stack.yaml
library
hs-source-dirs: src/
ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates -fwarn-identities
exposed-modules: Control.Concurrent.Execute
Data.Aeson.Extended
Data.Attoparsec.Args
Data.Attoparsec.Combinators
Data.Attoparsec.Interpreter
Data.IORef.RunOnce
Data.Maybe.Extra
Data.Monoid.Extra
Data.Store.VersionTagged
Data.Text.Extra
Distribution.Version.Extra
Network.HTTP.Download
Network.HTTP.Download.Verified
Options.Applicative.Args
Options.Applicative.Builder.Extra
Options.Applicative.Complicated
Path.Extra
Path.Find
Paths_stack
Stack.Build
Stack.Build.Cache
Stack.Build.ConstructPlan
Stack.Build.Execute
Stack.Build.Haddock
Stack.Build.Installed
Stack.Build.Source
Stack.Build.Target
Stack.BuildPlan
Stack.Clean
Stack.Config
Stack.Config.Build
Stack.Config.Urls
Stack.Config.Docker
Stack.Config.Nix
Stack.ConfigCmd
Stack.Constants
Stack.Coverage
Stack.Docker
Stack.Docker.GlobalDB
Stack.Dot
Stack.Exec
Stack.Fetch
Stack.FileWatch
Stack.GhcPkg
Stack.Ghci
Stack.Ghci.Script
Stack.Hoogle
Stack.IDE
Stack.Image
Stack.Init
Stack.New
Stack.Nix
Stack.Options.BenchParser
Stack.Options.BuildMonoidParser
Stack.Options.BuildParser
Stack.Options.CleanParser
Stack.Options.ConfigParser
Stack.Options.DockerParser
Stack.Options.DotParser
Stack.Options.ExecParser
Stack.Options.GhcBuildParser
Stack.Options.GhciParser
Stack.Options.GhcVariantParser
Stack.Options.GlobalParser
Stack.Options.HaddockParser
Stack.Options.HpcReportParser
Stack.Options.LogLevelParser
Stack.Options.NewParser
Stack.Options.NixParser
Stack.Options.PackageParser
Stack.Options.ResolverParser
Stack.Options.ScriptParser
Stack.Options.SolverParser
Stack.Options.TestParser
Stack.Options.Utils
Stack.Package
Stack.PackageDump
Stack.PackageIndex
Stack.Path
Stack.PrettyPrint
Stack.Runners
Stack.Script
Stack.SDist
Stack.Setup
Stack.Setup.Installed
Stack.SetupCmd
Stack.Sig
Stack.Sig.GPG
Stack.Sig.Sign
Stack.Solver
Stack.Types.Build
Stack.Types.BuildPlan
Stack.Types.CompilerBuild
Stack.Types.Urls
Stack.Types.Compiler
Stack.Types.Config
Stack.Types.Config.Build
Stack.Types.Docker
Stack.Types.FlagName
Stack.Types.GhcPkgId
Stack.Types.Image
Stack.Types.Internal
Stack.Types.Nix
Stack.Types.Package
Stack.Types.PackageDump
Stack.Types.PackageIdentifier
Stack.Types.PackageIndex
Stack.Types.PackageName
Stack.Types.Resolver
Stack.Types.Sig
Stack.Types.StackT
Stack.Types.TemplateName
Stack.Types.Version
Stack.Upgrade
Stack.Upload
Text.PrettyPrint.Leijen.Extended
System.Process.Log
System.Process.PagerEditor
System.Process.Read
System.Process.Run
other-modules: Hackage.Security.Client.Repository.HttpLib.HttpClient
build-depends: Cabal >= 1.24 && < 1.25
, aeson (>= 1.0 && < 1.2)
, ansi-terminal >= 0.6.2.3
, async >= 2.0.2 && < 2.2
, attoparsec >= 0.12.1.5 && < 0.14
, base >= 4.8 && <5
, base-compat >=0.6 && <0.10
, base64-bytestring
, binary >= 0.7 && < 0.9
, binary-tagged >= 0.1.1
, blaze-builder
, bytestring >= 0.10.4.0
, clock >= 0.7.2
, conduit >= 1.2.8
, conduit-extra >= 1.1.14
, containers >= 0.5.5.1
, cryptonite
, cryptonite-conduit
, directory >= 1.2.1.0 && < 1.4
, either
, errors < 2.2
, exceptions >= 0.8.0.2
, extra < 1.6
, fast-logger >= 2.3.1
, filelock >= 0.1.0.1
, filepath >= 1.3.0.2
, fsnotify >= 0.2.1
, generic-deriving < 1.12
, hackage-security
, hashable >= 1.2.3.2
, hit
, hpc
, http-client >= 0.5.3.3
, http-client-tls >= 0.3.4
, http-conduit >= 2.2.3
, http-types >= 0.8.6 && < 0.10
, lifted-async
-- https://github.com/basvandijk/lifted-base/issues/31
, lifted-base < 0.2.3.7 || > 0.2.3.7
, memory
, microlens >= 0.3.0.0
, microlens-mtl
, monad-control
, monad-logger >= 0.3.13.1
, monad-unlift < 0.3
, mtl >= 2.1.3.1
, network-uri
, open-browser >= 0.2.1
, optparse-applicative >= 0.13 && < 0.14
, path >= 0.5.8
, path-io >= 1.1.0 && < 2.0.0
, persistent >= 2.1.2 && < 2.7
-- persistent-sqlite-2.5.0.1 has a bug
-- (see https://github.com/yesodweb/persistent/pull/561#issuecomment-222329087)
, persistent-sqlite (>= 2.1.4 && < 2.5.0.1) || (> 2.5.0.1 && < 2.7)
, persistent-template >= 2.1.1 && < 2.6
, pretty >= 1.1.1.1
, process >= 1.2.1.0 && < 1.5
, regex-applicative-text >=0.1.0.1 && <0.2
, resourcet >= 1.1.4.1
, retry >= 0.6 && < 0.8
, safe >= 0.3
, safe-exceptions
, semigroups >= 0.5 && < 0.19
, split
, stm >= 2.4.4
, streaming-commons >= 0.1.10.0
, tar >= 0.5.0.3 && < 0.6
, template-haskell >= 2.9.0.0 && < 2.12
, temporary >= 1.2.0.3
, text >= 1.2.0.4
, text-binary
, text-metrics >= 0.1 && < 0.3
, time >= 1.4.2 && < 1.7
, tls >= 1.3.8
, transformers >= 0.3.0.0 && < 0.6
, transformers-base >= 0.4.4
, unicode-transforms >= 0.1 && <0.4
, unix-compat
, unordered-containers >= 0.2.5.1
, vector >= 0.10.12.3 && < 0.13
, vector-binary-instances
, yaml >= 0.8.20
, zlib >= 0.5.4.2 && < 0.7
, deepseq >= 1.4
, hastache
, project-template >= 0.2
, zip-archive < 0.4
, hpack >= 0.17.0 && < 0.18
, store >= 0.4.1 && < 0.5
, store-core >= 0.4 && < 0.5
, annotated-wl-pprint
, file-embed >= 0.0.10
if os(windows)
cpp-options: -DWINDOWS
build-depends: Win32
else
build-depends: unix >= 2.7.0.1
, pid1 >= 0.1 && < 0.2
default-language: Haskell2010
executable stack
hs-source-dirs: src/main
main-is: Main.hs
ghc-options: -threaded -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates
other-modules: Paths_stack
if flag(static)
ld-options: -static -pthread
build-depends: Cabal >= 1.18.1.5 && < 1.25
, base >=4.7 && < 5
, bytestring >= 0.10.4.0
, conduit
, containers >= 0.5.5.1
, directory >= 1.2.1.0 && < 1.4
, either
, filelock >= 0.1.0.1
, filepath >= 1.3.0.2
, hpack >= 0.17.0 && < 0.18
, http-client >= 0.5.3.3
-- https://github.com/basvandijk/lifted-base/issues/31
, lifted-base < 0.2.3.7 || > 0.2.3.7
, microlens >= 0.3.0.0
, monad-control
, monad-logger >= 0.3.13.1
, mtl >= 2.1.3.1
, optparse-applicative >= 0.13 && < 0.14
, path >= 0.5.8
, path-io >= 1.1.0 && < 2.0.0
, split
, stack
, text >= 1.2.0.4
, transformers >= 0.3.0.0 && < 0.6
default-language: Haskell2010
if os(windows)
build-depends: Win32
cpp-options: -DWINDOWS
if !flag(disable-git-info)
cpp-options: -DUSE_GIT_INFO
build-depends: gitrev >= 1.1 && < 1.3
, optparse-simple >= 0.0.3
if flag(hide-dependency-versions)
cpp-options: -DHIDE_DEP_VERSIONS
test-suite stack-test
type: exitcode-stdio-1.0
hs-source-dirs: src/test
main-is: Test.hs
other-modules: Spec
, Stack.BuildPlanSpec
, Stack.Build.ExecuteSpec
, Stack.Build.TargetSpec
, Stack.ConfigSpec
, Stack.DotSpec
, Stack.GhciSpec
, Stack.Ghci.ScriptSpec
, Stack.Ghci.PortableFakePaths
, Stack.PackageDumpSpec
, Stack.ArgsSpec
, Stack.NixSpec
, Stack.StoreSpec
, Network.HTTP.Download.VerifiedSpec
, Stack.SolverSpec
, Stack.Untar.UntarSpec
ghc-options: -threaded -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates
build-depends: Cabal >= 1.18.1.5 && < 1.25
, QuickCheck < 2.10
, attoparsec < 0.14
, base >=4.7 && <5
, conduit
, conduit-extra
, containers >= 0.5.5.1
, cryptonite
, directory >= 1.2.1.0 && < 1.4
, exceptions
, filepath
, hspec >= 2.2 && <2.5
, hashable
, http-client-tls
, http-conduit
, monad-logger
, neat-interpolation >= 0.3
, optparse-applicative >= 0.13 && < 0.14
, path >= 0.5.8
, path-io >= 1.1.0 && < 2.0.0
, resourcet
, retry >= 0.6 && < 0.8
, stack
, temporary
, text
, transformers >= 0.3.0.0 && < 0.6
, mono-traversable >=0.10.2 && <1.1
, th-reify-many
, smallcheck
, bytestring
, store >= 0.4.1 && < 0.5
, vector >= 0.10.12.3 && < 0.13
, unordered-containers
, template-haskell
, yaml
default-language: Haskell2010
if os(windows)
cpp-options: -DWINDOWS
test-suite stack-integration-test
type: exitcode-stdio-1.0
hs-source-dirs: test/integration
main-is: IntegrationSpec.hs
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates
if !flag(integration-tests)
buildable: False
build-depends: async < 2.2
, base >= 4.7 && < 5
, bytestring >= 0.10.4.0
, conduit >= 1.2.8
, conduit-extra >= 1.1.14
, containers >= 0.5.5.1
, directory >= 1.2.1.0 && < 1.4
, filepath >= 1.3.0.2
, hspec >= 2.2 && < 2.5
, process >= 1.2.0.0 && < 1.5
, resourcet
, temporary
, text
, transformers >= 0.3.0.0 && < 0.6
, unix-compat
default-language: Haskell2010
-- This isn't actually needed to build stack-integration-test, but it makes it
-- easier to load up an individual integration test into stack ghci. It's
-- still a little involved:
--
-- stack exec -- stack ghci stack:stack-integration-test --flag stack:integration-tests --no-build
--
-- Then, in ghci:
--
-- :cd test/integration/tests/.../files
-- :load ../Main.hs
-- main
other-modules: StackTest
hs-source-dirs: test/integration/lib
source-repository head
type: git
location: https://github.com/commercialhaskell/stack.git