summaryrefslogtreecommitdiff
path: root/libraries/template-haskell/template-haskell.cabal
blob: db268be2128dd65889641c10ebfee6472c0de5b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name:           template-haskell
version:        2.10.0.0
-- GHC 7.8.1 released with 2.9.0.0
license:        BSD3
license-file:   LICENSE
category:       Template Haskell
maintainer:     libraries@haskell.org
bug-reports:    http://ghc.haskell.org/trac/ghc/newticket?component=Template%20Haskell
synopsis:       Support library for Template Haskell
build-type:     Simple
Cabal-Version:  >= 1.10
description:
    This package provides modules containing facilities for manipulating
    Haskell source code using Template Haskell.
    .
    See <http://www.haskell.org/haskellwiki/Template_Haskell> for more
    information.

source-repository head
    type:     git
    location: http://git.haskell.org/ghc.git
    subdir:   libraries/template-haskell

Library
    default-language: Haskell2010
    other-extensions:
        DeriveDataTypeable
        FlexibleInstances
        MagicHash
        PolymorphicComponents
        RankNTypes
        RoleAnnotations
        ScopedTypeVariables
        TemplateHaskell
        UnboxedTuples

    exposed-modules:
        Language.Haskell.TH
        Language.Haskell.TH.Lib
        Language.Haskell.TH.Ppr
        Language.Haskell.TH.PprLib
        Language.Haskell.TH.Quote
        Language.Haskell.TH.Syntax

    other-modules:
        Language.Haskell.TH.Lib.Map

    build-depends:
        base       == 4.7.*,
        pretty     == 1.1.*

    -- We need to set the package key to template-haskell (without a
    -- version number) as it's magic.
    ghc-options: -Wall -this-package-key template-haskell