7d93f199dbb6a6cdf2df78df43d8d0958a440870
[packages/hpc.git] / hpc.cabal
1 name:         hpc
2 version:      0.5.0.4
3 license:      BSD3
4 license-file: LICENSE
5 author:       Andy Gill
6 maintainer:   libraries@haskell.org
7 bug-reports: http://hackage.haskell.org/trac/ghc/newticket?component=Code%20Coverage
8 category:     Control
9 synopsis:     Code Coverage Library for Haskell
10 build-type:   Simple
11 Cabal-Version: >= 1.6
12
13 source-repository head
14     type:     darcs
15     location: http://darcs.haskell.org/packages/hpc/
16
17 Flag small_base
18   Description: Choose the new smaller, split-up base package.
19
20 Library
21     exposed-modules:
22         Trace.Hpc.Util
23         Trace.Hpc.Mix
24         Trace.Hpc.Tix
25         Trace.Hpc.Reflect
26     extensions: CPP
27     if flag(small_base)
28         Build-Depends: base       >= 3   && < 5,
29                        directory  >= 1   && < 1.1,
30                        old-time   >= 1   && < 1.1,
31                        containers >= 0.1 && < 0.4
32     else
33         Build-Depends: base < 3
34     ghc-options: -Wall
35