Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data PackageDescription
- allLibraries :: Traversal' PackageDescription Library
- author :: Lens' PackageDescription ShortText
- benchmarks :: Lens' PackageDescription [Benchmark]
- bugReports :: Lens' PackageDescription ShortText
- buildTypeRaw :: Lens' PackageDescription (Maybe BuildType)
- category :: Lens' PackageDescription ShortText
- componentBuildInfo :: ComponentName -> Traversal' PackageDescription BuildInfo
- componentModules :: Monoid r => ComponentName -> Getting r PackageDescription [ModuleName]
- copyright :: Lens' PackageDescription ShortText
- customFieldsPD :: Lens' PackageDescription [(String, String)]
- dataDir :: Lens' PackageDescription FilePath
- dataFiles :: Lens' PackageDescription [FilePath]
- description :: Lens' PackageDescription ShortText
- executables :: Lens' PackageDescription [Executable]
- extraDocFiles :: Lens' PackageDescription [String]
- extraSrcFiles :: Lens' PackageDescription [String]
- extraTmpFiles :: Lens' PackageDescription [String]
- foreignLibs :: Lens' PackageDescription [ForeignLib]
- homepage :: Lens' PackageDescription ShortText
- library :: Lens' PackageDescription (Maybe Library)
- licenseFiles :: Lens' PackageDescription [SymbolicPath PackageDir LicenseFile]
- licenseRaw :: Lens' PackageDescription (Either License License)
- maintainer :: Lens' PackageDescription ShortText
- package :: Lens' PackageDescription PackageIdentifier
- pkgUrl :: Lens' PackageDescription ShortText
- setupBuildInfo :: Lens' PackageDescription (Maybe SetupBuildInfo)
- sourceRepos :: Lens' PackageDescription [SourceRepo]
- specVersion :: Lens' PackageDescription CabalSpecVersion
- stability :: Lens' PackageDescription ShortText
- subLibraries :: Lens' PackageDescription [Library]
- synopsis :: Lens' PackageDescription ShortText
- testSuites :: Lens' PackageDescription [TestSuite]
- testedWith :: Lens' PackageDescription [(CompilerFlavor, VersionRange)]
Documentation
data PackageDescription Source #
This data type is the internal representation of the file pkg.cabal
.
It contains two kinds of information about the package: information
which is needed for all packages, such as the package name and version, and
information which is needed for the simple build system only, such as
the compiler options and library name.
Instances
allLibraries :: Traversal' PackageDescription Library Source #
Since: Cabal-3.0.0.0
componentBuildInfo :: ComponentName -> Traversal' PackageDescription BuildInfo Source #
Since: Cabal-2.4
componentModules :: Monoid r => ComponentName -> Getting r PackageDescription [ModuleName] Source #
Since: Cabal-2.4
customFieldsPD :: Lens' PackageDescription [(String, String)] Source #