Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data PackageDescription
- package :: Lens' PackageDescription PackageIdentifier
- licenseRaw :: Lens' PackageDescription (Either License License)
- licenseFiles :: Lens' PackageDescription [FilePath]
- copyright :: Lens' PackageDescription ShortText
- maintainer :: Lens' PackageDescription ShortText
- author :: Lens' PackageDescription ShortText
- stability :: Lens' PackageDescription ShortText
- testedWith :: Lens' PackageDescription [(CompilerFlavor, VersionRange)]
- homepage :: Lens' PackageDescription ShortText
- pkgUrl :: Lens' PackageDescription ShortText
- bugReports :: Lens' PackageDescription ShortText
- sourceRepos :: Lens' PackageDescription [SourceRepo]
- synopsis :: Lens' PackageDescription ShortText
- description :: Lens' PackageDescription ShortText
- category :: Lens' PackageDescription ShortText
- customFieldsPD :: Lens' PackageDescription [(String, String)]
- specVersion :: Lens' PackageDescription CabalSpecVersion
- buildTypeRaw :: Lens' PackageDescription (Maybe BuildType)
- setupBuildInfo :: Lens' PackageDescription (Maybe SetupBuildInfo)
- library :: Lens' PackageDescription (Maybe Library)
- subLibraries :: Lens' PackageDescription [Library]
- executables :: Lens' PackageDescription [Executable]
- foreignLibs :: Lens' PackageDescription [ForeignLib]
- testSuites :: Lens' PackageDescription [TestSuite]
- benchmarks :: Lens' PackageDescription [Benchmark]
- dataFiles :: Lens' PackageDescription [FilePath]
- dataDir :: Lens' PackageDescription FilePath
- extraSrcFiles :: Lens' PackageDescription [String]
- extraTmpFiles :: Lens' PackageDescription [String]
- extraDocFiles :: Lens' PackageDescription [String]
- allLibraries :: Traversal' PackageDescription Library
- componentModules :: Monoid r => ComponentName -> Getting r PackageDescription [ModuleName]
- componentBuildInfo :: ComponentName -> Traversal' PackageDescription BuildInfo
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
customFieldsPD :: Lens' PackageDescription [(String, String)] Source #
allLibraries :: Traversal' PackageDescription Library Source #
Since: Cabal-3.0.0.0
componentModules :: Monoid r => ComponentName -> Getting r PackageDescription [ModuleName] Source #
Since: Cabal-2.4
componentBuildInfo :: ComponentName -> Traversal' PackageDescription BuildInfo Source #
Since: Cabal-2.4