Merge pull request #10592 from cabalism/typo/respositories
[cabal.git] / Cabal-syntax / Cabal-syntax.cabal
blob42fb7f7d51eed462930509de1832188935f782d9
1 cabal-version: 2.2
2 name:          Cabal-syntax
3 version:       3.15.0.0
4 copyright:     2003-2024, Cabal Development Team (see AUTHORS file)
5 license:       BSD-3-Clause
6 license-file:  LICENSE
7 author:        Cabal Development Team <cabal-devel@haskell.org>
8 maintainer:    cabal-devel@haskell.org
9 homepage:      http://www.haskell.org/cabal/
10 bug-reports:   https://github.com/haskell/cabal/issues
11 synopsis:      A library for working with .cabal files
12 description:
13     This library provides tools for reading and manipulating the .cabal file
14     format.
15 category:       Distribution
16 build-type:     Simple
18 extra-doc-files:
19   README.md ChangeLog.md
21 source-repository head
22   type:     git
23   location: https://github.com/haskell/cabal/
24   subdir:   Cabal-syntax
26 library
27   default-language: Haskell2010
28   hs-source-dirs: src
30   build-depends:
31     array      >= 0.4.0.1  && < 0.6,
32     base       >= 4.13     && < 5,
33     binary     >= 0.7      && < 0.9,
34     bytestring >= 0.10.0.0 && < 0.13,
35     containers >= 0.5.0.0  && < 0.8,
36     deepseq    >= 1.3.0.1  && < 1.7,
37     directory  >= 1.2      && < 1.4,
38     filepath   >= 1.3.0.1  && < 1.6,
39     mtl        >= 2.1      && < 2.4,
40     parsec     >= 3.1.13.0 && < 3.2,
41     pretty     >= 1.1.1    && < 1.2,
42     text       (>= 1.2.3.0 && < 1.3) || (>= 2.0 && < 2.2),
43     time       >= 1.4.0.1  && < 1.15,
44     -- transformers-0.4.0.0 doesn't have record syntax e.g. for Identity
45     -- See also https://github.com/ekmett/transformers-compat/issues/35
46     transformers (>= 0.3      && < 0.4) || (>=0.4.1.0 && <0.7)
48   ghc-options:
49     -Wall
50     -fno-ignore-asserts
51     -fwarn-tabs
52     -fwarn-incomplete-uni-patterns
53     -fwarn-incomplete-record-updates
54     -fno-warn-unticked-promoted-constructors
56   if impl(ghc >= 8.0)
57     ghc-options: -Wcompat -Wnoncanonical-monad-instances
59   if impl(ghc >= 8.0) && impl(ghc < 8.8)
60     ghc-options: -Wnoncanonical-monadfail-instances
62   build-tool-depends: alex:alex
64   exposed-modules:
65     Distribution.Backpack
66     Distribution.CabalSpecVersion
67     Distribution.Compat.Binary
68     Distribution.Compat.CharParsing
69     Distribution.Compat.DList
70     Distribution.Compat.Exception
71     Distribution.Compat.Graph
72     Distribution.Compat.Lens
73     Distribution.Compat.MonadFail
74     Distribution.Compat.Newtype
75     Distribution.Compat.NonEmptySet
76     Distribution.Compat.Parsing
77     Distribution.Compat.Prelude
78     Distribution.Compat.Semigroup
79     Distribution.Compiler
80     Distribution.FieldGrammar
81     Distribution.FieldGrammar.Class
82     Distribution.FieldGrammar.FieldDescrs
83     Distribution.FieldGrammar.Newtypes
84     Distribution.FieldGrammar.Parsec
85     Distribution.FieldGrammar.Pretty
86     Distribution.Fields
87     Distribution.Fields.ConfVar
88     Distribution.Fields.Field
89     Distribution.Fields.Lexer
90     Distribution.Fields.LexerMonad
91     Distribution.Fields.ParseResult
92     Distribution.Fields.Parser
93     Distribution.Fields.Pretty
94     Distribution.InstalledPackageInfo
95     Distribution.License
96     Distribution.ModuleName
97     Distribution.Package
98     Distribution.PackageDescription
99     Distribution.PackageDescription.Configuration
100     Distribution.PackageDescription.FieldGrammar
101     Distribution.PackageDescription.Parsec
102     Distribution.PackageDescription.PrettyPrint
103     Distribution.PackageDescription.Quirks
104     Distribution.PackageDescription.Utils
105     Distribution.Parsec
106     Distribution.Parsec.Error
107     Distribution.Parsec.FieldLineStream
108     Distribution.Parsec.Position
109     Distribution.Parsec.Warning
110     Distribution.Pretty
111     Distribution.SPDX
112     Distribution.SPDX.License
113     Distribution.SPDX.LicenseExceptionId
114     Distribution.SPDX.LicenseExpression
115     Distribution.SPDX.LicenseId
116     Distribution.SPDX.LicenseListVersion
117     Distribution.SPDX.LicenseReference
118     Distribution.System
119     Distribution.Text
120     Distribution.Types.AbiDependency
121     Distribution.Types.AbiHash
122     Distribution.Types.Benchmark
123     Distribution.Types.Benchmark.Lens
124     Distribution.Types.BenchmarkInterface
125     Distribution.Types.BenchmarkType
126     Distribution.Types.BuildInfo
127     Distribution.Types.BuildInfo.Lens
128     Distribution.Types.BuildType
129     Distribution.Types.Component
130     Distribution.Types.ComponentId
131     Distribution.Types.ComponentName
132     Distribution.Types.ComponentRequestedSpec
133     Distribution.Types.CondTree
134     Distribution.Types.Condition
135     Distribution.Types.ConfVar
136     Distribution.Types.Dependency
137     Distribution.Types.DependencyMap
138     Distribution.Types.DependencySatisfaction
139     Distribution.Types.ExeDependency
140     Distribution.Types.Executable
141     Distribution.Types.Executable.Lens
142     Distribution.Types.ExecutableScope
143     Distribution.Types.ExposedModule
144     Distribution.Types.Flag
145     Distribution.Types.ForeignLib
146     Distribution.Types.ForeignLib.Lens
147     Distribution.Types.ForeignLibOption
148     Distribution.Types.ForeignLibType
149     Distribution.Types.GenericPackageDescription
150     Distribution.Types.GenericPackageDescription.Lens
151     Distribution.Types.HookedBuildInfo
152     Distribution.Types.IncludeRenaming
153     Distribution.Types.InstalledPackageInfo
154     Distribution.Types.InstalledPackageInfo.Lens
155     Distribution.Types.InstalledPackageInfo.FieldGrammar
156     Distribution.Types.LegacyExeDependency
157     Distribution.Types.Lens
158     Distribution.Types.Library
159     Distribution.Types.Library.Lens
160     Distribution.Types.LibraryName
161     Distribution.Types.LibraryVisibility
162     Distribution.Types.MissingDependency
163     Distribution.Types.MissingDependencyReason
164     Distribution.Types.Mixin
165     Distribution.Types.Module
166     Distribution.Types.ModuleReexport
167     Distribution.Types.ModuleRenaming
168     Distribution.Types.MungedPackageId
169     Distribution.Types.MungedPackageName
170     Distribution.Types.PackageDescription
171     Distribution.Types.PackageDescription.Lens
172     Distribution.Types.PackageId
173     Distribution.Types.PackageId.Lens
174     Distribution.Types.PackageName
175     Distribution.Types.PackageVersionConstraint
176     Distribution.Types.PkgconfigDependency
177     Distribution.Types.PkgconfigName
178     Distribution.Types.PkgconfigVersion
179     Distribution.Types.PkgconfigVersionRange
180     Distribution.Types.SetupBuildInfo
181     Distribution.Types.SetupBuildInfo.Lens
182     Distribution.Types.SourceRepo
183     Distribution.Types.SourceRepo.Lens
184     Distribution.Types.TestSuite
185     Distribution.Types.TestSuite.Lens
186     Distribution.Types.TestSuiteInterface
187     Distribution.Types.TestType
188     Distribution.Types.UnitId
189     Distribution.Types.UnqualComponentName
190     Distribution.Types.Version
191     Distribution.Types.VersionInterval
192     Distribution.Types.VersionInterval.Legacy
193     Distribution.Types.VersionRange
194     Distribution.Types.VersionRange.Internal
195     Distribution.Utils.Base62
196     Distribution.Utils.Generic
197     Distribution.Utils.MD5
198     Distribution.Utils.Path
199     Distribution.Utils.ShortText
200     Distribution.Utils.String
201     Distribution.Utils.Structured
202     Distribution.Version
203     Language.Haskell.Extension
205   other-extensions:
206     BangPatterns
207     CPP
208     DefaultSignatures
209     DeriveDataTypeable
210     DeriveFoldable
211     DeriveFunctor
212     DeriveGeneric
213     DeriveTraversable
214     ExistentialQuantification
215     FlexibleContexts
216     FlexibleInstances
217     GeneralizedNewtypeDeriving
218     ImplicitParams
219     KindSignatures
220     NondecreasingIndentation
221     OverloadedStrings
222     PatternSynonyms
223     RankNTypes
224     RecordWildCards
225     ScopedTypeVariables
226     StandaloneDeriving
227     Trustworthy
228     TypeFamilies
229     TypeOperators
230     TypeSynonymInstances
231     UndecidableInstances