summaryrefslogtreecommitdiff
path: root/libraries/bin-package-db/bin-package-db.cabal
blob: b8b1f65094c57201ac338b625c1d5d7dc01a510b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name:           bin-package-db
version:        0.0.0.0
license:        BSD3
maintainer:     cvs-ghc@haskell.org
bug-reports:    glasgow-haskell-bugs@haskell.org
synopsis:       A binary format for the package database
cabal-version:  >=1.6
build-type: Simple

source-repository head
    type:     darcs
    location: http://darcs.haskell.org/ghc

flag base3
    default: False

Library {
    exposed-modules:
            Distribution.InstalledPackageInfo.Binary

    if flag(base3)
        build-depends: base >= 3 && < 4
        cpp-options: -DBASE3
    else
        build-depends: base >= 4 && < 5

    build-depends: binary == 0.5.*,
                   Cabal >= 1.8 && < 1.12

    extensions: CPP
}