summaryrefslogtreecommitdiff
path: root/libraries/bin-package-db/bin-package-db.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/bin-package-db/bin-package-db.cabal')
-rw-r--r--libraries/bin-package-db/bin-package-db.cabal18
1 files changed, 16 insertions, 2 deletions
diff --git a/libraries/bin-package-db/bin-package-db.cabal b/libraries/bin-package-db/bin-package-db.cabal
index e8b4fd45ee..0fcff0f1f4 100644
--- a/libraries/bin-package-db/bin-package-db.cabal
+++ b/libraries/bin-package-db/bin-package-db.cabal
@@ -3,7 +3,19 @@ version: 0.0.0.0
license: BSD3
maintainer: ghc-devs@haskell.org
bug-reports: glasgow-haskell-bugs@haskell.org
-synopsis: A binary format for the package database
+synopsis: The GHC compiler's view of the GHC package database format
+description: This library is shared between GHC and ghc-pkg and is used by
+ GHC to read package databases.
+ .
+ It only deals with the subset of the package database that the
+ compiler cares about: modules paths etc and not package
+ metadata like description, authors etc. It is thus not a
+ library interface to ghc-pkg and is *not* suitable for
+ modifying GHC package databases.
+ .
+ The package database format and this library are constructed in
+ such a way that while ghc-pkg depends on Cabal, the GHC library
+ and program do not have to depend on Cabal.
cabal-version: >=1.10
build-type: Simple
@@ -23,8 +35,10 @@ Library
exposed-modules:
Distribution.InstalledPackageInfo.Binary
+ GHC.PackageDb
build-depends: base >= 4 && < 5,
- binary >= 0.5 && < 0.8,
+ binary >= 0.7 && < 0.8,
+ bytestring, directory, filepath,
Cabal >= 1.20 && < 1.22