Safe Haskell | None |
---|---|
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 (SymbolicPath Pkg ('Dir DataDir))
- dataFiles :: Lens' PackageDescription [RelativePath DataDir 'File]
- description :: Lens' PackageDescription ShortText
- executables :: Lens' PackageDescription [Executable]
- extraDocFiles :: Lens' PackageDescription [RelativePath Pkg 'File]
- extraFiles :: Lens' PackageDescription [RelativePath Pkg 'File]
- extraSrcFiles :: Lens' PackageDescription [RelativePath Pkg 'File]
- extraTmpFiles :: Lens' PackageDescription [RelativePath Pkg 'File]
- foreignLibs :: Lens' PackageDescription [ForeignLib]
- homepage :: Lens' PackageDescription ShortText
- library :: Lens' PackageDescription (Maybe Library)
- licenseFiles :: Lens' PackageDescription [RelativePath Pkg 'File]
- 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-syntax-3.0.0.0
componentBuildInfo :: ComponentName -> Traversal' PackageDescription BuildInfo Source #
Since: Cabal-syntax-2.4
componentModules :: Monoid r => ComponentName -> Getting r PackageDescription [ModuleName] Source #
Since: Cabal-syntax-2.4
customFieldsPD :: Lens' PackageDescription [(String, String)] Source #
dataDir :: Lens' PackageDescription (SymbolicPath Pkg ('Dir DataDir)) Source #