Package keys (for linking/type equality) separated from package IDs.
[ghc.git] / libraries / template-haskell / template-haskell.cabal
1 name:           template-haskell
2 version:        2.10.0.0
3 -- GHC 7.8.1 released with 2.9.0.0
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 source-repository head
20     type:     git
21     location: http://git.haskell.org/ghc.git
22     subdir:   libraries/template-haskell
23
24 Library
25     default-language: Haskell2010
26     other-extensions:
27         DeriveDataTypeable
28         FlexibleInstances
29         MagicHash
30         PolymorphicComponents
31         RankNTypes
32         RoleAnnotations
33         ScopedTypeVariables
34         TemplateHaskell
35         UnboxedTuples
36
37     exposed-modules:
38         Language.Haskell.TH
39         Language.Haskell.TH.Lib
40         Language.Haskell.TH.Ppr
41         Language.Haskell.TH.PprLib
42         Language.Haskell.TH.Quote
43         Language.Haskell.TH.Syntax
44
45     other-modules:
46         Language.Haskell.TH.Lib.Map
47
48     build-depends:
49         base       == 4.7.*,
50         pretty     == 1.1.*
51
52     -- We need to set the package key to template-haskell (without a
53     -- version number) as it's magic.
54     ghc-options: -Wall -this-package-key template-haskell