a54fe1644976948f07d83b31737f5a11519c732b
[ghc.git] / libraries / bin-package-db / bin-package-db.cabal
1 name:           bin-package-db
2 version:        0.0.0.0
3 license:        BSD3
4 maintainer:     ghc-devs@haskell.org
5 bug-reports:    glasgow-haskell-bugs@haskell.org
6 synopsis:       The GHC compiler's view of the GHC package database format
7 description:    This library is shared between GHC and ghc-pkg and is used by
8                 GHC to read package databases.
9                 .
10                 It only deals with the subset of the package database that the
11                 compiler cares about: modules paths etc and not package
12                 metadata like description, authors etc. It is thus not a
13                 library interface to ghc-pkg and is *not* suitable for
14                 modifying GHC package databases.
15                 .
16                 The package database format and this library are constructed in
17                 such a way that while ghc-pkg depends on Cabal, the GHC library
18                 and program do not have to depend on Cabal.
19 cabal-version:  >=1.10
20 build-type:     Simple
21
22 source-repository head
23     type:     git
24     location: http://git.haskell.org/ghc.git
25     subdir:   libraries/bin-package-db
26
27 Library
28     default-language: Haskell2010
29     other-extensions:
30             GeneralizedNewtypeDeriving
31             RecordWildCards
32             StandaloneDeriving
33             Trustworthy
34             TypeSynonymInstances
35
36     exposed-modules:
37             GHC.PackageDb
38
39     build-depends: base       >= 4   && < 5,
40                    binary     >= 0.7 && < 0.8,
41                    bytestring >= 0.9 && < 1,
42                    directory  >= 1   && < 1.3,
43                    filepath
44