Bump `base` version to 4.9.0.0 (closes #11026)
[ghc.git] / libraries / template-haskell / template-haskell.cabal
1 name:           template-haskell
2 version:        2.11.0.0
3 -- NOTE: Don't forget to update ./changelog.md
4 license:        BSD3
5 license-file:   LICENSE
6 category:       Template Haskell
7 maintainer:     libraries@haskell.org
8 bug-reports:    http://ghc.haskell.org/trac/ghc/newticket?component=Template%20Haskell
9 synopsis:       Support library for Template Haskell
10 build-type:     Simple
11 Cabal-Version:  >= 1.10
12 description:
13     This package provides modules containing facilities for manipulating
14     Haskell source code using Template Haskell.
15     .
16     See <http://www.haskell.org/haskellwiki/Template_Haskell> for more
17     information.
18
19 extra-source-files: changelog.md
20
21 source-repository head
22     type:     git
23     location: http://git.haskell.org/ghc.git
24     subdir:   libraries/template-haskell
25
26 Library
27     default-language: Haskell2010
28     other-extensions:
29         DeriveDataTypeable
30         FlexibleInstances
31         MagicHash
32         PolymorphicComponents
33         RankNTypes
34         ScopedTypeVariables
35         TemplateHaskell
36         UnboxedTuples
37
38     exposed-modules:
39         Language.Haskell.TH
40         Language.Haskell.TH.Lib
41         Language.Haskell.TH.Ppr
42         Language.Haskell.TH.PprLib
43         Language.Haskell.TH.Quote
44         Language.Haskell.TH.Syntax
45
46     other-modules:
47         Language.Haskell.TH.Lib.Map
48
49     build-depends:
50         base       >= 4.6 && < 4.10,
51         ghc-boot,
52         pretty     == 1.1.*
53
54     -- We need to set the unit ID to template-haskell (without a
55     -- version number) as it's magic.
56     ghc-options: -Wall
57
58     if impl( ghc >= 7.9 )
59         ghc-options:  -this-package-key template-haskell
60     else
61         ghc-options:  -package-name template-haskell