TH: make `Lift` and `TExp` levity-polymorphic
[ghc.git] / libraries / template-haskell / template-haskell.cabal.in
1 -- WARNING: template-haskell.cabal is automatically generated from template-haskell.cabal.in by
2 -- ../../configure.  Make sure you are editing template-haskell.cabal.in, not
3 -- template-haskell.cabal.
4
5 name:           template-haskell
6 version:        2.15.0.0
7 -- NOTE: Don't forget to update ./changelog.md
8 license:        BSD3
9 license-file:   LICENSE
10 category:       Template Haskell
11 maintainer:     libraries@haskell.org
12 bug-reports:    https://gitlab.haskell.org/ghc/ghc/issues/new
13 synopsis:       Support library for Template Haskell
14 build-type:     Simple
15 Cabal-Version:  >= 1.10
16 description:
17     This package provides modules containing facilities for manipulating
18     Haskell source code using Template Haskell.
19     .
20     See <http://www.haskell.org/haskellwiki/Template_Haskell> for more
21     information.
22
23 extra-source-files: changelog.md
24
25 source-repository head
26     type:     git
27     location: https://gitlab.haskell.org/ghc/ghc.git
28     subdir:   libraries/template-haskell
29
30 Library
31     default-language: Haskell2010
32     other-extensions:
33         BangPatterns
34         CPP
35         DefaultSignatures
36         DeriveDataTypeable
37         DeriveGeneric
38         FlexibleInstances
39         RankNTypes
40         RoleAnnotations
41         ScopedTypeVariables
42
43     exposed-modules:
44         Language.Haskell.TH
45         Language.Haskell.TH.Lib
46         Language.Haskell.TH.Ppr
47         Language.Haskell.TH.PprLib
48         Language.Haskell.TH.Quote
49         Language.Haskell.TH.Syntax
50         Language.Haskell.TH.LanguageExtensions
51
52         Language.Haskell.TH.Lib.Internal
53
54     other-modules:
55         Language.Haskell.TH.Lib.Map
56
57     build-depends:
58         base        >= 4.11 && < 4.14,
59         ghc-boot-th == @ProjectVersionMunged@,
60         ghc-prim,
61         pretty      == 1.1.*
62
63     ghc-options: -Wall
64
65     -- We need to set the unit ID to template-haskell (without a
66     -- version number) as it's magic.
67     ghc-options: -this-unit-id template-haskell
68
69     -- This should match the default-extensions used in 'ghc.cabal'. This way,
70     -- GHCi can be used to load it along with the compiler.
71     Default-Extensions:
72         NoImplicitPrelude