Fix deprecation warnings from containers
[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.11,
44                      containers >= 0.5 && < 0.6
45   Exposed-Modules:   Compiler.Hoopl,
46                      Compiler.Hoopl.Internals,
47                      Compiler.Hoopl.Wrappers,
48                      Compiler.Hoopl.Passes.Dominator,
49                      Compiler.Hoopl.Passes.DList
50
51   -- The remaining modules are hidden *provisionally*
52   Other-modules:     Compiler.Hoopl.Checkpoint,
53                      Compiler.Hoopl.Collections,
54                      Compiler.Hoopl.Combinators,
55                      Compiler.Hoopl.Dataflow,
56                      Compiler.Hoopl.Debug,
57                      Compiler.Hoopl.Block,
58                      Compiler.Hoopl.Graph,
59                      Compiler.Hoopl.Label,
60                      Compiler.Hoopl.MkGraph,
61                      Compiler.Hoopl.Fuel,
62                      Compiler.Hoopl.Pointed,
63                      Compiler.Hoopl.Shape,
64                      Compiler.Hoopl.Show,
65                      Compiler.Hoopl.Unique,
66                      Compiler.Hoopl.XUtil
67
68   Ghc-Options:       -Wall -fno-warn-name-shadowing
69
70 Test-Suite hoopl-test
71   Default-Language:  Haskell2010
72   Type:              exitcode-stdio-1.0
73   Main-Is:           Main.hs
74   Hs-Source-Dirs:    testing src
75   Build-Depends:     base >= 4.3 && < 4.10,
76                      containers >= 0.5 && < 0.6,
77                      filepath,
78                      mtl >= 2.1.3.1,
79                      parsec >= 3.1.7,
80                      test-framework < 0.9,
81                      test-framework-hunit < 0.4,
82                      mtl >= 2.1.3.1