cabal-install.cabal 14.2 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
Mikhail Glushenkov's avatar
Mikhail Glushenkov committed
7
Version:            2.5.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>
19
Copyright:          2003-2018, Cabal Development Team
20
Category:           Distribution
lspitzner's avatar
lspitzner committed
21
Build-type:         Custom
barmston's avatar
barmston committed
22 23
Extra-Source-Files:
  README.md bash-completion/cabal bootstrap.sh changelog
24
  tests/README.md
barmston's avatar
barmston committed
25

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

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


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

105 106
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
107
  default:      True
108 109
  manual:       True

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

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

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

Oleg Grenrus's avatar
Oleg Grenrus committed
125 126 127 128 129 130
custom-setup
   setup-depends:
       Cabal     >= 2.2,
       base,
       process   >= 1.1.0.1  && < 1.7,
       filepath  >= 1.3      && < 1.5
131

Oleg Grenrus's avatar
Oleg Grenrus committed
132 133 134 135
executable cabal
    main-is:        Main.hs
    hs-source-dirs: main
    default-language: Haskell2010
Edward Z. Yang's avatar
Edward Z. Yang committed
136
    ghc-options:    -Wall -fwarn-tabs
137
    if impl(ghc >= 8.0)
Mikhail Glushenkov's avatar
Mikhail Glushenkov committed
138 139 140
        ghc-options: -Wcompat
                     -Wnoncanonical-monad-instances
                     -Wnoncanonical-monadfail-instances
141

Oleg Grenrus's avatar
Oleg Grenrus committed
142 143 144 145 146 147 148
    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:
Duncan Coutts's avatar
Duncan Coutts committed
149 150
        Distribution.Client.BuildReports.Anonymous
        Distribution.Client.BuildReports.Storage
Duncan Coutts's avatar
Duncan Coutts committed
151
        Distribution.Client.BuildReports.Types
Duncan Coutts's avatar
Duncan Coutts committed
152
        Distribution.Client.BuildReports.Upload
153
        Distribution.Client.Check
154
        Distribution.Client.CmdBench
155
        Distribution.Client.CmdBuild
156
        Distribution.Client.CmdClean
157
        Distribution.Client.CmdConfigure
Moritz Angermann's avatar
Moritz Angermann committed
158
        Distribution.Client.CmdUpdate
Mikhail Glushenkov's avatar
Mikhail Glushenkov committed
159
        Distribution.Client.CmdErrorMessages
160
        Distribution.Client.CmdExec
Duncan Coutts's avatar
Duncan Coutts committed
161
        Distribution.Client.CmdFreeze
Ben Gamari's avatar
Ben Gamari committed
162
        Distribution.Client.CmdHaddock
Francesco Gazzetta's avatar
Francesco Gazzetta committed
163
        Distribution.Client.CmdInstall
164
        Distribution.Client.CmdRepl
165 166
        Distribution.Client.CmdRun
        Distribution.Client.CmdTest
167
        Distribution.Client.CmdLegacy
Alexis Williams's avatar
Alexis Williams committed
168
        Distribution.Client.CmdSdist
169
        Distribution.Client.Compat.Directory
Mikhail Glushenkov's avatar
Mikhail Glushenkov committed
170 171 172 173 174 175
        Distribution.Client.Compat.ExecutablePath
        Distribution.Client.Compat.FileLock
        Distribution.Client.Compat.FilePerms
        Distribution.Client.Compat.Prelude
        Distribution.Client.Compat.Process
        Distribution.Client.Compat.Semaphore
176
        Distribution.Client.Config
Duncan Coutts's avatar
Duncan Coutts committed
177
        Distribution.Client.Configure
178 179
        Distribution.Client.Dependency
        Distribution.Client.Dependency.Types
Duncan Coutts's avatar
Duncan Coutts committed
180
        Distribution.Client.DistDirLayout
barmston's avatar
barmston committed
181
        Distribution.Client.Exec
182
        Distribution.Client.Fetch
Duncan Coutts's avatar
Duncan Coutts committed
183
        Distribution.Client.FetchUtils
184
        Distribution.Client.FileMonitor
185
        Distribution.Client.Freeze
Mikhail Glushenkov's avatar
Mikhail Glushenkov committed
186
        Distribution.Client.GZipUtils
187
        Distribution.Client.GenBounds
188
        Distribution.Client.Get
189
        Distribution.Client.Glob
190
        Distribution.Client.GlobalFlags
191
        Distribution.Client.Haddock
192 193
        Distribution.Client.HttpUtils
        Distribution.Client.IndexUtils
194
        Distribution.Client.IndexUtils.Timestamp
195 196 197 198
        Distribution.Client.Init
        Distribution.Client.Init.Heuristics
        Distribution.Client.Init.Licenses
        Distribution.Client.Init.Types
199 200
        Distribution.Client.Install
        Distribution.Client.InstallPlan
201
        Distribution.Client.InstallSymlink
202
        Distribution.Client.JobControl
203
        Distribution.Client.List
Maciek Makowski's avatar
Maciek Makowski committed
204
        Distribution.Client.Manpage
ttuegel's avatar
ttuegel committed
205
        Distribution.Client.Nix
206
        Distribution.Client.Outdated
Duncan Coutts's avatar
Duncan Coutts committed
207
        Distribution.Client.PackageHash
208
        Distribution.Client.PackageUtils
209
        Distribution.Client.ParseUtils
Duncan Coutts's avatar
Duncan Coutts committed
210
        Distribution.Client.ProjectBuilding
211
        Distribution.Client.ProjectBuilding.Types
212 213
        Distribution.Client.ProjectConfig
        Distribution.Client.ProjectConfig.Legacy
Mikhail Glushenkov's avatar
Mikhail Glushenkov committed
214
        Distribution.Client.ProjectConfig.Types
215
        Distribution.Client.ProjectOrchestration
Mikhail Glushenkov's avatar
Mikhail Glushenkov committed
216
        Distribution.Client.ProjectPlanOutput
Duncan Coutts's avatar
Duncan Coutts committed
217
        Distribution.Client.ProjectPlanning
218
        Distribution.Client.ProjectPlanning.Types
219
        Distribution.Client.RebuildMonad
ttuegel's avatar
ttuegel committed
220 221
        Distribution.Client.Reconfigure
        Distribution.Client.Run
222
        Distribution.Client.Sandbox
223 224
        Distribution.Client.Sandbox.Index
        Distribution.Client.Sandbox.PackageEnvironment
225
        Distribution.Client.Sandbox.Timestamp
226
        Distribution.Client.Sandbox.Types
ttuegel's avatar
ttuegel committed
227
        Distribution.Client.SavedFlags
228
        Distribution.Client.Security.DNS
Edsko de Vries's avatar
Edsko de Vries committed
229
        Distribution.Client.Security.HTTP
230 231
        Distribution.Client.Setup
        Distribution.Client.SetupWrapper
232
        Distribution.Client.SolverInstallPlan
233
        Distribution.Client.SourceFiles
234
        Distribution.Client.SourceRepoParse
Mikhail Glushenkov's avatar
Mikhail Glushenkov committed
235
        Distribution.Client.SrcDist
236
        Distribution.Client.Store
237
        Distribution.Client.Tar
238
        Distribution.Client.TargetSelector
Mikhail Glushenkov's avatar
Mikhail Glushenkov committed
239
        Distribution.Client.Targets
240 241 242 243
        Distribution.Client.Types
        Distribution.Client.Update
        Distribution.Client.Upload
        Distribution.Client.Utils
244
        Distribution.Client.Utils.Assertion
245
        Distribution.Client.Utils.Json
246
        Distribution.Client.Utils.Parsec
Duncan Coutts's avatar
Duncan Coutts committed
247
        Distribution.Client.VCS
248
        Distribution.Client.Win32SelfUpgrade
Mikhail Glushenkov's avatar
Mikhail Glushenkov committed
249
        Distribution.Client.World
250
        Distribution.Solver.Compat.Prelude
251 252 253 254 255 256 257 258 259 260 261 262 263
        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
264
        Distribution.Solver.Modular.Linking
265 266
        Distribution.Solver.Modular.Log
        Distribution.Solver.Modular.Message
Mikhail Glushenkov's avatar
Mikhail Glushenkov committed
267
        Distribution.Solver.Modular.PSQ
268 269
        Distribution.Solver.Modular.Package
        Distribution.Solver.Modular.Preference
270
        Distribution.Solver.Modular.RetryLog
271 272 273 274 275
        Distribution.Solver.Modular.Solver
        Distribution.Solver.Modular.Tree
        Distribution.Solver.Modular.Validate
        Distribution.Solver.Modular.Var
        Distribution.Solver.Modular.Version
276
        Distribution.Solver.Modular.WeightedPSQ
Mikhail Glushenkov's avatar
Mikhail Glushenkov committed
277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297
        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
298
        Paths_cabal_install
299

Ben Millwood's avatar
Ben Millwood committed
300
    build-depends:
Duncan Coutts's avatar
Duncan Coutts committed
301
        async      >= 2.0      && < 3,
302
        array      >= 0.4      && < 0.6,
303
        base       >= 4.6      && < 5,
304
        base16-bytestring >= 0.1.1 && < 0.2,
305 306
        binary     >= 0.7      && < 0.9,
        bytestring >= 0.10.2   && < 1,
307
        Cabal      == 2.5.*,
308
        containers >= 0.5      && < 0.7,
309
        cryptohash-sha256 >= 0.11 && < 0.12,
310
        deepseq    >= 1.3      && < 1.5,
311
        directory  >= 1.2.2.0  && < 1.4,
Ryan Scott's avatar
Ryan Scott committed
312
        echo       >= 0.1.3    && < 0.2,
313
        edit-distance >= 0.2.2 && < 0.3,
314
        filepath   >= 1.3      && < 1.5,
315
        hashable   >= 1.0      && < 2,
316
        HTTP       >= 4000.1.5 && < 4000.4,
Ben Millwood's avatar
Ben Millwood committed
317
        mtl        >= 2.0      && < 3,
318
        network-uri >= 2.6.0.2 && < 2.7,
Mikhail Glushenkov's avatar
Mikhail Glushenkov committed
319
        network    >= 2.6      && < 2.9,
320
        pretty     >= 1.1      && < 1.2,
321
        process    >= 1.1.0.2  && < 1.7,
dsf's avatar
dsf committed
322
        random     >= 1        && < 1.2,
Ben Millwood's avatar
Ben Millwood committed
323
        stm        >= 2.0      && < 3,
324
        tar        >= 0.5.0.3  && < 0.6,
Mikhail Glushenkov's avatar
Mikhail Glushenkov committed
325
        time       >= 1.4      && < 1.10,
Edsko de Vries's avatar
Edsko de Vries committed
326
        zlib       >= 0.5.3    && < 0.7,
327
        hackage-security >= 0.5.2.2 && < 0.6,
Alexis Williams's avatar
Alexis Williams committed
328
        text       >= 1.2.3    && < 1.3,
Alexis Williams's avatar
Alexis Williams committed
329 330
        zip-archive >= 0.3.2.5 && < 0.4,
        parsec     >= 3.1.13.0 && < 3.2
331

332 333 334 335 336
    if flag(native-dns)
      if os(windows)
        build-depends: windns      >= 0.1.0 && < 0.2
      else
        build-depends: resolv      >= 0.1.1 && < 0.2
337

338
    if os(windows)
339
      build-depends: Win32 >= 2 && < 3
340
    else
Ryan Scott's avatar
Ryan Scott committed
341
      build-depends: unix >= 2.5 && < 2.9
342

343 344
    if flag(debug-expensive-assertions)
      cpp-options: -DDEBUG_EXPENSIVE_ASSERTIONS
345

346 347 348 349
    if flag(debug-conflict-sets)
      cpp-options: -DDEBUG_CONFLICT_SETS
      build-depends: base >= 4.8

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