configure: Set version to 8.7
[ghc.git] / libraries / template-haskell / template-haskell.cabal
1 name:           template-haskell
2 version:        2.14.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         BangPatterns
30         CPP
31         DefaultSignatures
32         DeriveDataTypeable
33         DeriveGeneric
34         FlexibleInstances
35         RankNTypes
36         RoleAnnotations
37         ScopedTypeVariables
38
39     exposed-modules:
40         Language.Haskell.TH
41         Language.Haskell.TH.Lib
42         Language.Haskell.TH.Ppr
43         Language.Haskell.TH.PprLib
44         Language.Haskell.TH.Quote
45         Language.Haskell.TH.Syntax
46         Language.Haskell.TH.LanguageExtensions
47
48         Language.Haskell.TH.Lib.Internal
49
50     other-modules:
51         Language.Haskell.TH.Lib.Map
52
53     build-depends:
54         base        >= 4.9 && < 4.13,
55         ghc-boot-th == 8.7.*,
56         pretty      == 1.1.*
57
58     ghc-options: -Wall
59
60     -- We need to set the unit ID to template-haskell (without a
61     -- version number) as it's magic.
62     ghc-options: -this-unit-id template-haskell