Remove crufty testcoverage flag for --enable-coverage.
[packages/hoopl.git] / hoopl.cabal
1 Name:                hoopl
2 Version:             3.10.2.1
3 -- NOTE: Don't forget to update ./changelog.md
4 Description:
5   Higher-order optimization library
6   .
7   See /Norman Ramsey, Joao Dias, and Simon Peyton Jones./
8   <http://research.microsoft.com/en-us/um/people/simonpj/Papers/c--/hoopl-haskell10.pdf "Hoopl: A Modular, Reusable Library for Dataflow Analysis and Transformation"> /(2010)/ for more details.
9
10 License:             BSD3
11 License-File:        LICENSE
12 Author:              Norman Ramsey, Joao Dias, Simon Marlow and Simon Peyton Jones
13 Maintainer:          Ning Wang <email@ningwang.org>, Michal Terepeta <michal.terepeta@gmail.com>, Norman Ramsey <nr@cs.tufts.edu>
14 Homepage:            https://github.com/haskell/hoopl
15 Bug-Reports:         https://github.com/haskell/hoopl/issues/
16 Build-Type:          Simple
17 Cabal-Version:       >=1.10
18 Synopsis:            A library to support dataflow analysis and optimization
19 Category:            Compilers/Interpreters
20 Tested-With:         GHC>=7.0.1
21 Extra-Source-Files:  README.md, changelog.md
22
23 Source-repository head
24   Type:       git
25   Location:   http://git.haskell.org/packages/hoopl.git
26
27 Library
28   Default-Language:  Haskell2010
29   Other-Extensions:  CPP
30                      FlexibleContexts
31                      FlexibleInstances
32                      GADTs
33                      LiberalTypeSynonyms
34                      MultiParamTypeClasses
35                      RankNTypes
36                      ScopedTypeVariables
37                      TypeFamilies
38                      TypeSynonymInstances
39   If impl(ghc>=7.2)
40     Other-Extensions: Safe Trustworthy
41
42   Hs-Source-Dirs:    src
43   Build-Depends:     base >= 4.3 && < 4.10, containers >= 0.4 && < 0.6
44   Exposed-Modules:   Compiler.Hoopl,
45                      Compiler.Hoopl.Internals,
46                      Compiler.Hoopl.Wrappers,
47                      Compiler.Hoopl.Passes.Dominator,
48                      Compiler.Hoopl.Passes.DList
49
50   -- The remaining modules are hidden *provisionally*
51   Other-modules:     Compiler.Hoopl.Checkpoint,
52                      Compiler.Hoopl.Collections,
53                      Compiler.Hoopl.Combinators,
54                      Compiler.Hoopl.Dataflow,
55                      Compiler.Hoopl.Debug,
56                      Compiler.Hoopl.Block,
57                      Compiler.Hoopl.Graph,
58                      Compiler.Hoopl.Label,
59                      Compiler.Hoopl.MkGraph,
60                      Compiler.Hoopl.Fuel,
61                      Compiler.Hoopl.Pointed,
62                      Compiler.Hoopl.Shape,
63                      Compiler.Hoopl.Show,
64                      Compiler.Hoopl.Unique,
65                      Compiler.Hoopl.XUtil
66
67   Ghc-Options:       -Wall -fno-warn-name-shadowing
68
69 Test-Suite hoopl-test
70   Default-Language:  Haskell2010
71   Type:              exitcode-stdio-1.0
72   Main-Is:           Main.hs
73   Hs-Source-Dirs:    testing src
74   Build-Depends:     base >= 4.3 && < 4.10, 
75                      containers >= 0.4 && < 0.6,
76                      filepath,
77                      mtl >= 2.1.3.1,
78                      parsec >= 3.1.7,
79                      test-framework < 0.9,
80                      test-framework-hunit < 0.4,
81                      mtl >= 2.1.3.1