name: Cabal version: 2.2.0.0 copyright: 2003-2018, Cabal Development Team (see AUTHORS file) license: BSD3 license-file: LICENSE author: Cabal Development Team maintainer: cabal-devel@haskell.org homepage: http://www.haskell.org/cabal/ bug-reports: https://github.com/haskell/cabal/issues synopsis: A framework for packaging Haskell software description: The Haskell Common Architecture for Building Applications and Libraries: a framework defining a common interface for authors to more easily build their Haskell applications in a portable way. . The Haskell Cabal is part of a larger infrastructure for distributing, organizing, and cataloging Haskell libraries and tools. category: Distribution cabal-version: >=1.10 build-type: Simple -- If we use a new Cabal feature, this needs to be changed to Custom so -- we can bootstrap. extra-source-files: README.md tests/README.md ChangeLog.md doc/bugs-and-stability.rst doc/concepts-and-development.rst doc/conf.py doc/config-and-install.rst doc/developing-packages.rst doc/images/Cabal-dark.png doc/index.rst doc/installing-packages.rst doc/intro.rst doc/misc.rst doc/nix-local-build-overview.rst doc/nix-local-build.rst doc/README.md doc/references.inc -- Generated with 'make gen-extra-source-files' -- Do NOT edit this section manually; instead, run the script. -- BEGIN gen-extra-source-files tests/ParserTests/errors/common1.cabal tests/ParserTests/errors/common1.errors tests/ParserTests/errors/common2.cabal tests/ParserTests/errors/common2.errors tests/ParserTests/errors/common3.cabal tests/ParserTests/errors/common3.errors tests/ParserTests/errors/forward-compat.cabal tests/ParserTests/errors/forward-compat.errors tests/ParserTests/errors/forward-compat2.cabal tests/ParserTests/errors/forward-compat2.errors tests/ParserTests/errors/forward-compat3.cabal tests/ParserTests/errors/forward-compat3.errors tests/ParserTests/errors/issue-5055-2.cabal tests/ParserTests/errors/issue-5055-2.errors tests/ParserTests/errors/issue-5055.cabal tests/ParserTests/errors/issue-5055.errors tests/ParserTests/errors/leading-comma.cabal tests/ParserTests/errors/leading-comma.errors tests/ParserTests/errors/noVersion.cabal tests/ParserTests/errors/noVersion.errors tests/ParserTests/errors/noVersion2.cabal tests/ParserTests/errors/noVersion2.errors tests/ParserTests/errors/range-ge-wild.cabal tests/ParserTests/errors/range-ge-wild.errors tests/ParserTests/ipi/Includes2.cabal tests/ParserTests/ipi/Includes2.expr tests/ParserTests/ipi/Includes2.format tests/ParserTests/ipi/internal-preprocessor-test.cabal tests/ParserTests/ipi/internal-preprocessor-test.expr tests/ParserTests/ipi/internal-preprocessor-test.format tests/ParserTests/ipi/issue-2276-ghc-9885.cabal tests/ParserTests/ipi/issue-2276-ghc-9885.expr tests/ParserTests/ipi/issue-2276-ghc-9885.format tests/ParserTests/ipi/transformers.cabal tests/ParserTests/ipi/transformers.expr tests/ParserTests/ipi/transformers.format tests/ParserTests/regressions/MiniAgda.cabal tests/ParserTests/regressions/MiniAgda.check tests/ParserTests/regressions/Octree-0.5.cabal tests/ParserTests/regressions/Octree-0.5.expr tests/ParserTests/regressions/Octree-0.5.format tests/ParserTests/regressions/common.cabal tests/ParserTests/regressions/common.expr tests/ParserTests/regressions/common.format tests/ParserTests/regressions/common2.cabal tests/ParserTests/regressions/common2.expr tests/ParserTests/regressions/common2.format tests/ParserTests/regressions/elif.cabal tests/ParserTests/regressions/elif.expr tests/ParserTests/regressions/elif.format tests/ParserTests/regressions/elif2.cabal tests/ParserTests/regressions/elif2.expr tests/ParserTests/regressions/elif2.format tests/ParserTests/regressions/encoding-0.8.cabal tests/ParserTests/regressions/encoding-0.8.expr tests/ParserTests/regressions/encoding-0.8.format tests/ParserTests/regressions/extensions-paths-5054.cabal tests/ParserTests/regressions/extensions-paths-5054.check tests/ParserTests/regressions/generics-sop.cabal tests/ParserTests/regressions/generics-sop.expr tests/ParserTests/regressions/generics-sop.format tests/ParserTests/regressions/haddock-api-2.18.1-check.cabal tests/ParserTests/regressions/haddock-api-2.18.1-check.check tests/ParserTests/regressions/issue-5055.cabal tests/ParserTests/regressions/issue-5055.expr tests/ParserTests/regressions/issue-5055.format tests/ParserTests/regressions/issue-774.cabal tests/ParserTests/regressions/issue-774.check tests/ParserTests/regressions/issue-774.expr tests/ParserTests/regressions/issue-774.format tests/ParserTests/regressions/leading-comma.cabal tests/ParserTests/regressions/leading-comma.expr tests/ParserTests/regressions/leading-comma.format tests/ParserTests/regressions/noVersion.cabal tests/ParserTests/regressions/noVersion.expr tests/ParserTests/regressions/noVersion.format tests/ParserTests/regressions/nothing-unicode.cabal tests/ParserTests/regressions/nothing-unicode.check tests/ParserTests/regressions/nothing-unicode.expr tests/ParserTests/regressions/nothing-unicode.format tests/ParserTests/regressions/shake.cabal tests/ParserTests/regressions/shake.expr tests/ParserTests/regressions/shake.format tests/ParserTests/regressions/th-lift-instances.cabal tests/ParserTests/regressions/th-lift-instances.expr tests/ParserTests/regressions/th-lift-instances.format tests/ParserTests/regressions/wl-pprint-indef.cabal tests/ParserTests/regressions/wl-pprint-indef.expr tests/ParserTests/regressions/wl-pprint-indef.format tests/ParserTests/warnings/bom.cabal tests/ParserTests/warnings/bool.cabal tests/ParserTests/warnings/deprecatedfield.cabal tests/ParserTests/warnings/doubledash.cabal tests/ParserTests/warnings/extratestmodule.cabal tests/ParserTests/warnings/gluedop.cabal tests/ParserTests/warnings/multiplesingular.cabal tests/ParserTests/warnings/nbsp.cabal tests/ParserTests/warnings/newsyntax.cabal tests/ParserTests/warnings/oldsyntax.cabal tests/ParserTests/warnings/subsection.cabal tests/ParserTests/warnings/tab.cabal tests/ParserTests/warnings/trailingfield.cabal tests/ParserTests/warnings/unknownfield.cabal tests/ParserTests/warnings/unknownsection.cabal tests/ParserTests/warnings/utf8.cabal tests/ParserTests/warnings/versiontag.cabal tests/hackage/check.sh tests/hackage/download.sh tests/hackage/unpack.sh tests/misc/ghc-supported-languages.hs -- END gen-extra-source-files source-repository head type: git location: https://github.com/haskell/cabal/ subdir: Cabal flag bundled-binary-generic default: False flag old-directory description: Use directory < 1.2 and old-time default: False library build-depends: array >= 0.4 && < 0.6, base >= 4.5 && < 5, bytestring >= 0.9.2.1 && < 0.11, containers >= 0.4.2.1 && < 0.6, deepseq >= 1.3 && < 1.5, filepath >= 1.3 && < 1.5, pretty >= 1.1.1 && < 1.2, process >= 1.1.0.1 && < 1.7, time >= 1.4 && < 1.9 if flag(old-directory) build-depends: directory >= 1.1.0.2 && < 1.2, process >= 1.0.1.1 && < 1.1.0.2, old-time >= 1.1 && < 1.2 else build-depends: directory >= 1.2 && < 1.4, process >= 1.1.0.2 && < 1.7 if flag(bundled-binary-generic) build-depends: binary >= 0.5.1 && < 0.7 else build-depends: binary >= 0.7 && < 0.9 -- Needed for GHC.Generics before GHC 7.6 if impl(ghc < 7.6) build-depends: ghc-prim >= 0.2 && < 0.3 if os(windows) build-depends: Win32 >= 2.2.2 && < 2.7 else build-depends: unix >= 2.5.1 && < 2.8 ghc-options: -Wall -fno-ignore-asserts -fwarn-tabs if impl(ghc >= 8.0) ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances exposed-modules: Distribution.Backpack Distribution.Backpack.Configure Distribution.Backpack.ComponentsGraph Distribution.Backpack.ConfiguredComponent Distribution.Backpack.DescribeUnitId Distribution.Backpack.FullUnitId Distribution.Backpack.LinkedComponent Distribution.Backpack.ModSubst Distribution.Backpack.ModuleShape Distribution.Backpack.PreModuleShape Distribution.CabalSpecVersion Distribution.Utils.IOData Distribution.Utils.LogProgress Distribution.Utils.MapAccum Distribution.Compat.CreatePipe Distribution.Compat.Directory Distribution.Compat.Environment Distribution.Compat.Exception Distribution.Compat.Graph Distribution.Compat.Internal.TempFile Distribution.Compat.Map.Strict Distribution.Compat.Newtype Distribution.Compat.Prelude.Internal Distribution.Compat.ReadP Distribution.Compat.Semigroup Distribution.Compat.Stack Distribution.Compat.Time Distribution.Compat.DList Distribution.Compiler Distribution.InstalledPackageInfo Distribution.Types.AbiDependency Distribution.Types.ExposedModule Distribution.Types.InstalledPackageInfo Distribution.Types.InstalledPackageInfo.FieldGrammar Distribution.License Distribution.Make Distribution.ModuleName Distribution.Package Distribution.PackageDescription Distribution.PackageDescription.Check Distribution.PackageDescription.Configuration Distribution.PackageDescription.PrettyPrint Distribution.PackageDescription.Utils Distribution.ParseUtils Distribution.PrettyUtils Distribution.ReadE Distribution.Simple Distribution.Simple.Bench Distribution.Simple.Build Distribution.Simple.Build.Macros Distribution.Simple.Build.PathsModule Distribution.Simple.BuildPaths Distribution.Simple.BuildTarget Distribution.Simple.BuildToolDepends Distribution.Simple.CCompiler Distribution.Simple.Command Distribution.Simple.Compiler Distribution.Simple.Configure Distribution.Simple.GHC Distribution.Simple.GHCJS Distribution.Simple.Haddock Distribution.Simple.Doctest Distribution.Simple.HaskellSuite Distribution.Simple.Hpc Distribution.Simple.Install Distribution.Simple.InstallDirs Distribution.Simple.JHC Distribution.Simple.LHC Distribution.Simple.LocalBuildInfo Distribution.Simple.PackageIndex Distribution.Simple.PreProcess Distribution.Simple.PreProcess.Unlit Distribution.Simple.Program Distribution.Simple.Program.Ar Distribution.Simple.Program.Builtin Distribution.Simple.Program.Db Distribution.Simple.Program.Find Distribution.Simple.Program.GHC Distribution.Simple.Program.HcPkg Distribution.Simple.Program.Hpc Distribution.Simple.Program.Internal Distribution.Simple.Program.Ld Distribution.Simple.Program.ResponseFile Distribution.Simple.Program.Run Distribution.Simple.Program.Script Distribution.Simple.Program.Strip Distribution.Simple.Program.Types Distribution.Simple.Register Distribution.Simple.Setup Distribution.Simple.SrcDist Distribution.Simple.Test Distribution.Simple.Test.ExeV10 Distribution.Simple.Test.LibV09 Distribution.Simple.Test.Log Distribution.Simple.UHC Distribution.Simple.UserHooks Distribution.Simple.Utils Distribution.SPDX Distribution.SPDX.License Distribution.SPDX.LicenseId Distribution.SPDX.LicenseExceptionId Distribution.SPDX.LicenseExpression Distribution.SPDX.LicenseReference Distribution.System Distribution.TestSuite Distribution.Text Distribution.Pretty Distribution.Types.AbiHash Distribution.Types.AnnotatedId Distribution.Types.Benchmark Distribution.Types.BenchmarkInterface Distribution.Types.BenchmarkType Distribution.Types.BuildInfo Distribution.Types.BuildType Distribution.Types.ComponentInclude Distribution.Types.Dependency Distribution.Types.ExeDependency Distribution.Types.LegacyExeDependency Distribution.Types.PkgconfigDependency Distribution.Types.DependencyMap Distribution.Types.ComponentId Distribution.Types.MungedPackageId Distribution.Types.PackageId Distribution.Types.UnitId Distribution.Types.Executable Distribution.Types.ExecutableScope Distribution.Types.Library Distribution.Types.ForeignLib Distribution.Types.ForeignLibType Distribution.Types.ForeignLibOption Distribution.Types.Module Distribution.Types.ModuleReexport Distribution.Types.ModuleRenaming Distribution.Types.ComponentName Distribution.Types.MungedPackageName Distribution.Types.PackageName Distribution.Types.PkgconfigName Distribution.Types.UnqualComponentName Distribution.Types.IncludeRenaming Distribution.Types.Mixin Distribution.Types.SetupBuildInfo Distribution.Types.TestSuite Distribution.Types.TestSuiteInterface Distribution.Types.TestType Distribution.Types.GenericPackageDescription Distribution.Types.Condition Distribution.Types.CondTree Distribution.Types.HookedBuildInfo Distribution.Types.PackageDescription Distribution.Types.SourceRepo Distribution.Types.Component Distribution.Types.ComponentLocalBuildInfo Distribution.Types.LocalBuildInfo Distribution.Types.ComponentRequestedSpec Distribution.Types.TargetInfo Distribution.Types.Version Distribution.Types.VersionRange Distribution.Types.VersionInterval Distribution.Utils.Generic Distribution.Utils.NubList Distribution.Utils.ShortText Distribution.Utils.Progress Distribution.Verbosity Distribution.Version Language.Haskell.Extension Distribution.Compat.Binary -- Parsec parser-related modules build-depends: transformers >= 0.3 && < 0.6, mtl >= 2.1 && < 2.3, text >= 1.2.3.0 && < 1.3, parsec >= 3.1.13.0 && < 3.2 exposed-modules: Distribution.Compat.Parsing Distribution.Compat.CharParsing Distribution.FieldGrammar Distribution.FieldGrammar.Class Distribution.FieldGrammar.FieldDescrs Distribution.FieldGrammar.Parsec Distribution.FieldGrammar.Pretty Distribution.PackageDescription.FieldGrammar Distribution.PackageDescription.Parsec Distribution.PackageDescription.Quirks Distribution.Parsec.Class Distribution.Parsec.Common Distribution.Parsec.ConfVar Distribution.Parsec.Field Distribution.Parsec.FieldLineStream Distribution.Parsec.Lexer Distribution.Parsec.LexerMonad Distribution.Parsec.Newtypes Distribution.Parsec.ParseResult Distribution.Parsec.Parser -- Lens functionality exposed-modules: Distribution.Compat.Lens Distribution.Types.Lens Distribution.Types.Benchmark.Lens Distribution.Types.BuildInfo.Lens Distribution.Types.Executable.Lens Distribution.Types.ForeignLib.Lens Distribution.Types.GenericPackageDescription.Lens Distribution.Types.InstalledPackageInfo.Lens Distribution.Types.Library.Lens Distribution.Types.PackageDescription.Lens Distribution.Types.PackageId.Lens Distribution.Types.SetupBuildInfo.Lens Distribution.Types.SourceRepo.Lens Distribution.Types.TestSuite.Lens other-modules: Distribution.Backpack.PreExistingComponent Distribution.Backpack.ReadyComponent Distribution.Backpack.MixLink Distribution.Backpack.ModuleScope Distribution.Backpack.UnifyM Distribution.Backpack.Id Distribution.Utils.UnionFind Distribution.Utils.Base62 Distribution.Compat.CopyFile Distribution.Compat.GetShortPathName Distribution.Compat.MonadFail Distribution.Compat.Prelude Distribution.Compat.SnocList Distribution.GetOpt Distribution.Lex Distribution.Utils.String Distribution.Simple.GHC.Internal Distribution.Simple.GHC.IPI642 Distribution.Simple.GHC.IPIConvert Distribution.Simple.GHC.ImplInfo Paths_Cabal if flag(bundled-binary-generic) other-modules: Distribution.Compat.Binary.Class Distribution.Compat.Binary.Generic default-language: Haskell2010 other-extensions: BangPatterns CPP DefaultSignatures DeriveDataTypeable DeriveFoldable DeriveFunctor DeriveGeneric DeriveTraversable ExistentialQuantification FlexibleContexts FlexibleInstances GeneralizedNewtypeDeriving ImplicitParams KindSignatures NondecreasingIndentation OverloadedStrings RankNTypes RecordWildCards ScopedTypeVariables StandaloneDeriving Trustworthy TypeFamilies TypeOperators TypeSynonymInstances UndecidableInstances if impl(ghc >= 7.11) other-extensions: PatternSynonyms -- Small, fast running tests. test-suite unit-tests type: exitcode-stdio-1.0 hs-source-dirs: tests other-modules: Test.Laws Test.QuickCheck.Utils UnitTests.Distribution.Compat.CreatePipe UnitTests.Distribution.Compat.ReadP UnitTests.Distribution.Compat.Time UnitTests.Distribution.Compat.Graph UnitTests.Distribution.Simple.Program.Internal UnitTests.Distribution.Simple.Utils UnitTests.Distribution.SPDX UnitTests.Distribution.System UnitTests.Distribution.Types.GenericPackageDescription UnitTests.Distribution.Utils.Generic UnitTests.Distribution.Utils.NubList UnitTests.Distribution.Utils.ShortText UnitTests.Distribution.Version main-is: UnitTests.hs build-depends: array, base, bytestring, containers, directory, filepath, integer-logarithms >= 1.0.2 && <1.1, tasty >= 1.0 && < 1.1, tasty-hunit, tasty-quickcheck, tagged, text, pretty, QuickCheck >= 2.11.3 && < 2.12, Cabal ghc-options: -Wall default-language: Haskell2010 test-suite parser-tests type: exitcode-stdio-1.0 hs-source-dirs: tests main-is: ParserTests.hs build-depends: base, base-compat >=0.9.3 && <0.10, bytestring, filepath, tasty >= 1.0 && < 1.1, tasty-hunit, tasty-quickcheck, tasty-golden >=2.3.1.1 && <2.4, Diff >=0.3.4 && <0.4, Cabal ghc-options: -Wall default-language: Haskell2010 if impl(ghc >= 7.8) build-depends: tree-diff >= 0.0.1 && <0.1 other-modules: Instances.TreeDiff Instances.TreeDiff.Language Instances.TreeDiff.SPDX Instances.TreeDiff.Version test-suite check-tests type: exitcode-stdio-1.0 hs-source-dirs: tests main-is: CheckTests.hs build-depends: base, bytestring, filepath, tasty >= 1.0 && < 1.1, tasty-golden >=2.3.1.1 && <2.4, Diff >=0.3.4 && <0.4, Cabal ghc-options: -Wall default-language: Haskell2010 test-suite custom-setup-tests type: exitcode-stdio-1.0 hs-source-dirs: tests/custom-setup main-is: CustomSetupTests.hs other-modules: CabalDoctestSetup IdrisSetup build-depends: Cabal, base, directory, filepath, process default-language: Haskell2010 test-suite hackage-tests type: exitcode-stdio-1.0 main-is: HackageTests.hs -- TODO: need to get 01-index.tar on appveyor if os(windows) buildable: False hs-source-dirs: tests build-depends: base, Cabal, bytestring, deepseq, containers, directory, filepath build-depends: base-compat >=0.9.3 && <0.10, base-orphans >=0.6 && <0.7, optparse-applicative >=0.13.2.0 && <0.15, tar >=0.5.0.3 && <0.6 if impl(ghc >= 7.8) build-depends: tree-diff >= 0.0.1 && <0.1 other-modules: Instances.TreeDiff Instances.TreeDiff.Language Instances.TreeDiff.SPDX Instances.TreeDiff.Version ghc-options: -Wall -rtsopts -threaded default-extensions: CPP default-language: Haskell2010