1 {-# LANGUAGE DeriveDataTypeable #-}
2 {-# LANGUAGE DeriveGeneric #-}
4 -----------------------------------------------------------------------------
6 -- Module : Distribution.PackageDescription
7 -- Copyright : Isaac Jones 2003-2005
10 -- Maintainer : cabal-devel@haskell.org
11 -- Portability : portable
13 -- Backwards compatibility reexport of everything you need to know
14 -- about @.cabal@ files.
16 module Distribution
.PackageDescription
(
17 -- * Package descriptions
18 PackageDescription
(..),
19 emptyPackageDescription
,
26 -- ** Renaming (syntactic)
51 TestSuiteInterface
(..),
63 BenchmarkInterface
(..),
71 benchmarkModulesAutogen
,
73 -- * Build information
84 -- ** Supplementary build information
89 updatePackageDescription
,
91 -- * package configuration
92 GenericPackageDescription
(..),
94 FlagName
, mkFlagName
, unFlagName
,
97 dispFlagAssignment
, parseFlagAssignment
,
98 CondTree
(..), ConfVar
(..), Condition
(..),
101 -- * Source repositories
108 -- * Custom setup build information
113 --import Distribution.Compat.Prelude
115 import Distribution
.Types
.Library
116 import Distribution
.Types
.TestSuite
117 import Distribution
.Types
.Executable
118 import Distribution
.Types
.Benchmark
119 import Distribution
.Types
.TestType
120 import Distribution
.Types
.TestSuiteInterface
121 import Distribution
.Types
.BenchmarkType
122 import Distribution
.Types
.BenchmarkInterface
123 import Distribution
.Types
.ModuleRenaming
124 import Distribution
.Types
.ModuleReexport
125 import Distribution
.Types
.BuildInfo
126 import Distribution
.Types
.SetupBuildInfo
127 import Distribution
.Types
.BuildType
128 import Distribution
.Types
.GenericPackageDescription
129 import Distribution
.Types
.CondTree
130 import Distribution
.Types
.Condition
131 import Distribution
.Types
.PackageDescription
132 import Distribution
.Types
.ComponentName
133 import Distribution
.Types
.HookedBuildInfo
134 import Distribution
.Types
.SourceRepo