cabal-install.cabal 15.8 KB
Newer Older
Oleg Grenrus's avatar
Oleg Grenrus committed
1 2 3 4 5
Cabal-Version:      >= 1.10
-- NOTE: This file is autogenerated from 'cabal-install.cabal.pp'.
-- DO NOT EDIT MANUALLY.
-- To update this file, edit 'cabal-install.cabal.pp' and run
-- 'make cabal-install-prod' in the project's root folder.
6
Name:               cabal-install
Oleg Grenrus's avatar
Oleg Grenrus committed
7
Version:            3.3.0.0
8
Synopsis:           The command-line interface for Cabal and Hackage.
9
Description:
10 11 12
    The \'cabal\' command-line program simplifies the process of managing
    Haskell software by automating the fetching, configuration, compilation
    and installation of Haskell libraries and programs.
13
homepage:           http://www.haskell.org/cabal/
14
bug-reports:        https://github.com/haskell/cabal/issues
15 16
License:            BSD3
License-File:       LICENSE
17
Author:             Cabal Development Team (see AUTHORS file)
18
Maintainer:         Cabal Development Team <cabal-devel@haskell.org>
Oleg Grenrus's avatar
Oleg Grenrus committed
19
Copyright:          2003-2020, Cabal Development Team
20
Category:           Distribution
21
Build-type:         Simple
barmston's avatar
barmston committed
22 23 24
Extra-Source-Files:
  README.md bash-completion/cabal bootstrap.sh changelog

Mikhail Glushenkov's avatar
Mikhail Glushenkov committed
25
  -- Generated with 'make gen-extra-source-files'
26 27
  -- Do NOT edit this section manually; instead, run the script.
  -- BEGIN gen-extra-source-files
28 29 30 31 32
  tests/IntegrationTests2/build/keep-going/cabal.project
  tests/IntegrationTests2/build/keep-going/p/P.hs
  tests/IntegrationTests2/build/keep-going/p/p.cabal
  tests/IntegrationTests2/build/keep-going/q/Q.hs
  tests/IntegrationTests2/build/keep-going/q/q.cabal
33 34 35
  tests/IntegrationTests2/build/local-tarball/cabal.project
  tests/IntegrationTests2/build/local-tarball/q/Q.hs
  tests/IntegrationTests2/build/local-tarball/q/q.cabal
36 37 38 39 40 41 42 43 44
  tests/IntegrationTests2/build/setup-custom1/A.hs
  tests/IntegrationTests2/build/setup-custom1/Setup.hs
  tests/IntegrationTests2/build/setup-custom1/a.cabal
  tests/IntegrationTests2/build/setup-custom2/A.hs
  tests/IntegrationTests2/build/setup-custom2/Setup.hs
  tests/IntegrationTests2/build/setup-custom2/a.cabal
  tests/IntegrationTests2/build/setup-simple/A.hs
  tests/IntegrationTests2/build/setup-simple/Setup.hs
  tests/IntegrationTests2/build/setup-simple/a.cabal
45
  tests/IntegrationTests2/exception/bad-config/cabal.project
46 47 48 49 50
  tests/IntegrationTests2/exception/build/Main.hs
  tests/IntegrationTests2/exception/build/a.cabal
  tests/IntegrationTests2/exception/configure/a.cabal
  tests/IntegrationTests2/exception/no-pkg/empty.in
  tests/IntegrationTests2/exception/no-pkg2/cabal.project
51 52 53 54 55
  tests/IntegrationTests2/regression/3324/cabal.project
  tests/IntegrationTests2/regression/3324/p/P.hs
  tests/IntegrationTests2/regression/3324/p/p.cabal
  tests/IntegrationTests2/regression/3324/q/Q.hs
  tests/IntegrationTests2/regression/3324/q/q.cabal
56 57 58 59 60
  tests/IntegrationTests2/targets/all-disabled/cabal.project
  tests/IntegrationTests2/targets/all-disabled/p.cabal
  tests/IntegrationTests2/targets/benchmarks-disabled/cabal.project
  tests/IntegrationTests2/targets/benchmarks-disabled/p.cabal
  tests/IntegrationTests2/targets/benchmarks-disabled/q/q.cabal
61 62 63
  tests/IntegrationTests2/targets/complex/cabal.project
  tests/IntegrationTests2/targets/complex/q/Q.hs
  tests/IntegrationTests2/targets/complex/q/q.cabal
64 65
  tests/IntegrationTests2/targets/empty-pkg/cabal.project
  tests/IntegrationTests2/targets/empty-pkg/p.cabal
66 67
  tests/IntegrationTests2/targets/empty/cabal.project
  tests/IntegrationTests2/targets/empty/foo.hs
68 69 70
  tests/IntegrationTests2/targets/exes-disabled/cabal.project
  tests/IntegrationTests2/targets/exes-disabled/p/p.cabal
  tests/IntegrationTests2/targets/exes-disabled/q/q.cabal
71
  tests/IntegrationTests2/targets/lib-only/p.cabal
72 73 74 75 76 77 78 79 80 81
  tests/IntegrationTests2/targets/libs-disabled/cabal.project
  tests/IntegrationTests2/targets/libs-disabled/p/p.cabal
  tests/IntegrationTests2/targets/libs-disabled/q/q.cabal
  tests/IntegrationTests2/targets/multiple-exes/cabal.project
  tests/IntegrationTests2/targets/multiple-exes/p.cabal
  tests/IntegrationTests2/targets/multiple-libs/cabal.project
  tests/IntegrationTests2/targets/multiple-libs/p/p.cabal
  tests/IntegrationTests2/targets/multiple-libs/q/q.cabal
  tests/IntegrationTests2/targets/multiple-tests/cabal.project
  tests/IntegrationTests2/targets/multiple-tests/p.cabal
82 83 84
  tests/IntegrationTests2/targets/simple/P.hs
  tests/IntegrationTests2/targets/simple/cabal.project
  tests/IntegrationTests2/targets/simple/p.cabal
85
  tests/IntegrationTests2/targets/simple/q/QQ.hs
86
  tests/IntegrationTests2/targets/simple/q/q.cabal
87 88 89 90 91 92
  tests/IntegrationTests2/targets/test-only/p.cabal
  tests/IntegrationTests2/targets/tests-disabled/cabal.project
  tests/IntegrationTests2/targets/tests-disabled/p.cabal
  tests/IntegrationTests2/targets/tests-disabled/q/q.cabal
  tests/IntegrationTests2/targets/variety/cabal.project
  tests/IntegrationTests2/targets/variety/p.cabal
93
  -- END gen-extra-source-files
Duncan Coutts's avatar
Duncan Coutts committed
94

95 96 97 98
  -- Additional manual extra-source-files:
  tests/IntegrationTests2/build/local-tarball/p-0.1.tar.gz


Duncan Coutts's avatar
Duncan Coutts committed
99
source-repository head
100 101
  type:     git
  location: https://github.com/haskell/cabal/
Duncan Coutts's avatar
Duncan Coutts committed
102
  subdir:   cabal-install
103

104 105
Flag native-dns
  description:  Enable use of the [resolv](https://hackage.haskell.org/package/resolv) & [windns](https://hackage.haskell.org/package/windns) packages for performing DNS lookups
106
  default:      True
107 108
  manual:       True

109
Flag debug-expensive-assertions
110 111 112 113
  description:  Enable expensive assertions for testing or debugging
  default:      False
  manual:       True

114 115 116
Flag debug-conflict-sets
  description:  Add additional information to ConflictSets
  default:      False
kristenk's avatar
kristenk committed
117
  manual:       True
118

Edsko de Vries's avatar
Edsko de Vries committed
119 120 121
Flag debug-tracetree
  description:  Compile in support for tracetree (used to debug the solver)
  default:      False
kristenk's avatar
kristenk committed
122
  manual:       True
Edsko de Vries's avatar
Edsko de Vries committed
123

Oleg Grenrus's avatar
Oleg Grenrus committed
124 125 126 127 128
Flag lukko
  description:  Use @lukko@ for file-locking
  default:      True
  manual:       True

Oleg Grenrus's avatar
Oleg Grenrus committed
129 130 131 132
executable cabal
    main-is:        Main.hs
    hs-source-dirs: main
    default-language: Haskell2010
133
    ghc-options:    -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns
134
    if impl(ghc >= 8.0)
Mikhail Glushenkov's avatar
Mikhail Glushenkov committed
135 136
        ghc-options: -Wcompat
                     -Wnoncanonical-monad-instances
Oleg Grenrus's avatar
Oleg Grenrus committed
137 138 139
      if impl(ghc < 8.8)
        ghc-options: -Wnoncanonical-monadfail-instances

140

Oleg Grenrus's avatar
Oleg Grenrus committed
141 142 143 144 145 146 147
    ghc-options: -rtsopts -threaded

    -- On AIX, some legacy BSD operations such as flock(2) are provided by libbsd.a
    if os(aix)
        extra-libraries: bsd
    hs-source-dirs: .
    other-modules:
148 149 150 151 152 153 154
        -- this modules are moved from Cabal
        -- they are needed for as long until cabal-install moves to parsec parser
        Distribution.Deprecated.ParseUtils
        Distribution.Deprecated.ReadP
        Distribution.Deprecated.Text
        Distribution.Deprecated.ViewAsFieldDescr

Duncan Coutts's avatar
Duncan Coutts committed
155 156
        Distribution.Client.BuildReports.Anonymous
        Distribution.Client.BuildReports.Storage
Duncan Coutts's avatar
Duncan Coutts committed
157
        Distribution.Client.BuildReports.Types
Duncan Coutts's avatar
Duncan Coutts committed
158
        Distribution.Client.BuildReports.Upload
159
        Distribution.Client.Check
160
        Distribution.Client.CmdBench
161
        Distribution.Client.CmdBuild
162
        Distribution.Client.CmdClean
163
        Distribution.Client.CmdConfigure
Moritz Angermann's avatar
Moritz Angermann committed
164
        Distribution.Client.CmdUpdate
Mikhail Glushenkov's avatar
Mikhail Glushenkov committed
165
        Distribution.Client.CmdErrorMessages
166
        Distribution.Client.CmdExec
Duncan Coutts's avatar
Duncan Coutts committed
167
        Distribution.Client.CmdFreeze
Ben Gamari's avatar
Ben Gamari committed
168
        Distribution.Client.CmdHaddock
Francesco Gazzetta's avatar
Francesco Gazzetta committed
169
        Distribution.Client.CmdInstall
170
        Distribution.Client.CmdInstall.ClientInstallFlags
171
        Distribution.Client.CmdInstall.ClientInstallTargetSelector
172
        Distribution.Client.CmdRepl
173
        Distribution.Client.CmdRun
174
        Distribution.Client.CmdRun.ClientRunFlags
175
        Distribution.Client.CmdTest
176
        Distribution.Client.CmdLegacy
Alexis Williams's avatar
Alexis Williams committed
177
        Distribution.Client.CmdSdist
178
        Distribution.Client.Compat.Directory
Mikhail Glushenkov's avatar
Mikhail Glushenkov committed
179 180
        Distribution.Client.Compat.ExecutablePath
        Distribution.Client.Compat.FilePerms
181
        Distribution.Client.Compat.Orphans
Mikhail Glushenkov's avatar
Mikhail Glushenkov committed
182 183 184
        Distribution.Client.Compat.Prelude
        Distribution.Client.Compat.Process
        Distribution.Client.Compat.Semaphore
185
        Distribution.Client.Config
Duncan Coutts's avatar
Duncan Coutts committed
186
        Distribution.Client.Configure
187 188
        Distribution.Client.Dependency
        Distribution.Client.Dependency.Types
Duncan Coutts's avatar
Duncan Coutts committed
189
        Distribution.Client.DistDirLayout
barmston's avatar
barmston committed
190
        Distribution.Client.Exec
191
        Distribution.Client.Fetch
Duncan Coutts's avatar
Duncan Coutts committed
192
        Distribution.Client.FetchUtils
193
        Distribution.Client.FileMonitor
194
        Distribution.Client.Freeze
Mikhail Glushenkov's avatar
Mikhail Glushenkov committed
195
        Distribution.Client.GZipUtils
196
        Distribution.Client.GenBounds
197
        Distribution.Client.Get
198
        Distribution.Client.Glob
199
        Distribution.Client.GlobalFlags
200
        Distribution.Client.Haddock
201
        Distribution.Client.HashValue
202 203
        Distribution.Client.HttpUtils
        Distribution.Client.IndexUtils
Oleg Grenrus's avatar
Oleg Grenrus committed
204
        Distribution.Client.IndexUtils.IndexState
205
        Distribution.Client.IndexUtils.Timestamp
206
        Distribution.Client.Init
207 208 209
        Distribution.Client.Init.Command
        Distribution.Client.Init.Defaults
        Distribution.Client.Init.FileCreators
210 211
        Distribution.Client.Init.Heuristics
        Distribution.Client.Init.Licenses
212
        Distribution.Client.Init.Prompt
213
        Distribution.Client.Init.Types
214
        Distribution.Client.Init.Utils
215 216
        Distribution.Client.Install
        Distribution.Client.InstallPlan
217
        Distribution.Client.InstallSymlink
218
        Distribution.Client.JobControl
219
        Distribution.Client.List
Maciek Makowski's avatar
Maciek Makowski committed
220
        Distribution.Client.Manpage
Oleg Grenrus's avatar
Oleg Grenrus committed
221
        Distribution.Client.ManpageFlags
ttuegel's avatar
ttuegel committed
222
        Distribution.Client.Nix
223
        Distribution.Client.Outdated
Duncan Coutts's avatar
Duncan Coutts committed
224
        Distribution.Client.PackageHash
225
        Distribution.Client.PackageUtils
226
        Distribution.Client.ParseUtils
Duncan Coutts's avatar
Duncan Coutts committed
227
        Distribution.Client.ProjectBuilding
228
        Distribution.Client.ProjectBuilding.Types
229 230
        Distribution.Client.ProjectConfig
        Distribution.Client.ProjectConfig.Legacy
Mikhail Glushenkov's avatar
Mikhail Glushenkov committed
231
        Distribution.Client.ProjectConfig.Types
232
        Distribution.Client.ProjectOrchestration
Mikhail Glushenkov's avatar
Mikhail Glushenkov committed
233
        Distribution.Client.ProjectPlanOutput
Duncan Coutts's avatar
Duncan Coutts committed
234
        Distribution.Client.ProjectPlanning
235
        Distribution.Client.ProjectPlanning.Types
236
        Distribution.Client.RebuildMonad
ttuegel's avatar
ttuegel committed
237 238
        Distribution.Client.Reconfigure
        Distribution.Client.Run
239
        Distribution.Client.Sandbox
240 241
        Distribution.Client.Sandbox.Index
        Distribution.Client.Sandbox.PackageEnvironment
242
        Distribution.Client.Sandbox.Timestamp
243
        Distribution.Client.Sandbox.Types
ttuegel's avatar
ttuegel committed
244
        Distribution.Client.SavedFlags
245
        Distribution.Client.Security.DNS
Edsko de Vries's avatar
Edsko de Vries committed
246
        Distribution.Client.Security.HTTP
247 248
        Distribution.Client.Setup
        Distribution.Client.SetupWrapper
249
        Distribution.Client.SolverInstallPlan
250
        Distribution.Client.SourceFiles
Mikhail Glushenkov's avatar
Mikhail Glushenkov committed
251
        Distribution.Client.SrcDist
252
        Distribution.Client.Store
253
        Distribution.Client.Tar
254
        Distribution.Client.TargetSelector
Mikhail Glushenkov's avatar
Mikhail Glushenkov committed
255
        Distribution.Client.Targets
256
        Distribution.Client.Types
Oleg Grenrus's avatar
Oleg Grenrus committed
257 258 259 260 261 262 263 264 265 266 267 268 269
        Distribution.Client.Types.AllowNewer
        Distribution.Client.Types.BuildResults
        Distribution.Client.Types.Credentials
        Distribution.Client.Types.ConfiguredId
        Distribution.Client.Types.ConfiguredPackage
        Distribution.Client.Types.PackageLocation
        Distribution.Client.Types.PackageSpecifier
        Distribution.Client.Types.ReadyPackage
        Distribution.Client.Types.Repo
        Distribution.Client.Types.RepoName
        Distribution.Client.Types.SourcePackageDb
        Distribution.Client.Types.SourceRepo
        Distribution.Client.Types.WriteGhcEnvironmentFilesPolicy
270 271 272
        Distribution.Client.Update
        Distribution.Client.Upload
        Distribution.Client.Utils
273
        Distribution.Client.Utils.Assertion
274
        Distribution.Client.Utils.Json
275
        Distribution.Client.Utils.Parsec
Duncan Coutts's avatar
Duncan Coutts committed
276
        Distribution.Client.VCS
277
        Distribution.Client.Win32SelfUpgrade
Mikhail Glushenkov's avatar
Mikhail Glushenkov committed
278
        Distribution.Client.World
279
        Distribution.Solver.Compat.Prelude
280 281 282 283 284 285 286 287 288 289 290 291 292
        Distribution.Solver.Modular
        Distribution.Solver.Modular.Assignment
        Distribution.Solver.Modular.Builder
        Distribution.Solver.Modular.Configured
        Distribution.Solver.Modular.ConfiguredConversion
        Distribution.Solver.Modular.ConflictSet
        Distribution.Solver.Modular.Cycles
        Distribution.Solver.Modular.Dependency
        Distribution.Solver.Modular.Explore
        Distribution.Solver.Modular.Flag
        Distribution.Solver.Modular.Index
        Distribution.Solver.Modular.IndexConversion
        Distribution.Solver.Modular.LabeledGraph
Mikhail Glushenkov's avatar
Mikhail Glushenkov committed
293
        Distribution.Solver.Modular.Linking
294 295
        Distribution.Solver.Modular.Log
        Distribution.Solver.Modular.Message
Mikhail Glushenkov's avatar
Mikhail Glushenkov committed
296
        Distribution.Solver.Modular.PSQ
297 298
        Distribution.Solver.Modular.Package
        Distribution.Solver.Modular.Preference
299
        Distribution.Solver.Modular.RetryLog
300 301 302 303 304
        Distribution.Solver.Modular.Solver
        Distribution.Solver.Modular.Tree
        Distribution.Solver.Modular.Validate
        Distribution.Solver.Modular.Var
        Distribution.Solver.Modular.Version
305
        Distribution.Solver.Modular.WeightedPSQ
Mikhail Glushenkov's avatar
Mikhail Glushenkov committed
306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326
        Distribution.Solver.Types.ComponentDeps
        Distribution.Solver.Types.ConstraintSource
        Distribution.Solver.Types.DependencyResolver
        Distribution.Solver.Types.Flag
        Distribution.Solver.Types.InstSolverPackage
        Distribution.Solver.Types.InstalledPreference
        Distribution.Solver.Types.LabeledPackageConstraint
        Distribution.Solver.Types.OptionalStanza
        Distribution.Solver.Types.PackageConstraint
        Distribution.Solver.Types.PackageFixedDeps
        Distribution.Solver.Types.PackageIndex
        Distribution.Solver.Types.PackagePath
        Distribution.Solver.Types.PackagePreferences
        Distribution.Solver.Types.PkgConfigDb
        Distribution.Solver.Types.Progress
        Distribution.Solver.Types.ResolverPackage
        Distribution.Solver.Types.Settings
        Distribution.Solver.Types.SolverId
        Distribution.Solver.Types.SolverPackage
        Distribution.Solver.Types.SourcePackage
        Distribution.Solver.Types.Variable
327
        Paths_cabal_install
328

Ben Millwood's avatar
Ben Millwood committed
329
    build-depends:
330
        async      >= 2.0      && < 2.3,
331
        array      >= 0.4      && < 0.6,
332
        base       >= 4.8      && < 4.15,
333
        base16-bytestring >= 0.1.1 && < 0.2,
334 335
        binary     >= 0.7.3    && < 0.9,
        bytestring >= 0.10.6.0 && < 0.11,
Oleg Grenrus's avatar
Oleg Grenrus committed
336
        Cabal      == 3.3.*,
337
        containers >= 0.5.6.2  && < 0.7,
338
        cryptohash-sha256 >= 0.11 && < 0.12,
339
        deepseq    >= 1.4.1.1  && < 1.5,
340
        directory  >= 1.2.2.0  && < 1.4,
Ryan Scott's avatar
Ryan Scott committed
341
        echo       >= 0.1.3    && < 0.2,
342
        edit-distance >= 0.2.2 && < 0.3,
343
        filepath   >= 1.4.0.0  && < 1.5,
344
        hashable   >= 1.0      && < 1.4,
345
        HTTP       >= 4000.1.5 && < 4000.4,
346
        mtl        >= 2.0      && < 2.3,
347
        network-uri >= 2.6.0.2 && < 2.7,
348
        network    >= 2.6      && < 3.2,
349
        pretty     >= 1.1      && < 1.2,
350
        process    >= 1.2.3.0  && < 1.7,
dsf's avatar
dsf committed
351
        random     >= 1        && < 1.2,
352
        stm        >= 2.0      && < 2.6,
353
        tar        >= 0.5.0.3  && < 0.6,
354
        time       >= 1.5.0.1  && < 1.10,
355
        transformers >= 0.4.2.0 && < 0.6,
Edsko de Vries's avatar
Edsko de Vries committed
356
        zlib       >= 0.5.3    && < 0.7,
357
        hackage-security >= 0.6.0.1 && < 0.7,
Alexis Williams's avatar
Alexis Williams committed
358
        text       >= 1.2.3    && < 1.3,
Alexis Williams's avatar
Alexis Williams committed
359
        parsec     >= 3.1.13.0 && < 3.2
360

361 362
    if !impl(ghc >= 8.0)
        build-depends: fail        == 4.9.*
363
        build-depends: semigroups  >= 0.18.3 && <0.20
364

365 366 367 368 369
    if flag(native-dns)
      if os(windows)
        build-depends: windns      >= 0.1.0 && < 0.2
      else
        build-depends: resolv      >= 0.1.1 && < 0.2
370

371
    if os(windows)
372 373
      -- newer directory for symlinks
      build-depends: Win32 >= 2 && < 3, directory >=1.3.1.0
374
    else
Ryan Scott's avatar
Ryan Scott committed
375
      build-depends: unix >= 2.5 && < 2.9
376

Oleg Grenrus's avatar
Oleg Grenrus committed
377 378 379 380 381
    if flag(lukko)
      build-depends: lukko >= 0.1 && <0.2
    else
      build-depends: base >= 4.10

382 383
    if flag(debug-expensive-assertions)
      cpp-options: -DDEBUG_EXPENSIVE_ASSERTIONS
384

385 386 387 388
    if flag(debug-conflict-sets)
      cpp-options: -DDEBUG_CONFLICT_SETS
      build-depends: base >= 4.8

Edsko de Vries's avatar
Edsko de Vries committed
389 390 391
    if flag(debug-tracetree)
      cpp-options: -DDEBUG_TRACETREE
      build-depends: tracetree >= 0.1 && < 0.2