template-haskell.cabal 1.68 KB
Newer Older
1
name:           template-haskell
Ryan Scott's avatar
Ryan Scott committed
2
version:        2.14.0.0
3
-- NOTE: Don't forget to update ./changelog.md
4 5 6 7 8 9 10 11
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
12
description:
13 14 15 16 17 18
    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.

19 20
extra-source-files: changelog.md

21 22
source-repository head
    type:     git
23 24
    location: http://git.haskell.org/ghc.git
    subdir:   libraries/template-haskell
25 26

Library
27 28
    default-language: Haskell2010
    other-extensions:
29 30 31
        BangPatterns
        CPP
        DefaultSignatures
32
        DeriveDataTypeable
33
        DeriveGeneric
34 35
        FlexibleInstances
        RankNTypes
36
        RoleAnnotations
37 38
        ScopedTypeVariables

39
    exposed-modules:
40
        Language.Haskell.TH
41
        Language.Haskell.TH.Lib
42 43
        Language.Haskell.TH.Ppr
        Language.Haskell.TH.PprLib
44
        Language.Haskell.TH.Quote
45
        Language.Haskell.TH.Syntax
46
        Language.Haskell.TH.LanguageExtensions
47

Ryan Scott's avatar
Ryan Scott committed
48 49
        Language.Haskell.TH.Lib.Internal

50 51 52
    other-modules:
        Language.Haskell.TH.Lib.Map

53
    build-depends:
Ryan Scott's avatar
Ryan Scott committed
54
        base        >= 4.9 && < 4.13,
Ben Gamari's avatar
Ben Gamari committed
55
        ghc-boot-th == 8.5,
56
        pretty      == 1.1.*
57

58 59
    ghc-options: -Wall

60 61 62
    -- We need to set the unit ID to template-haskell (without a
    -- version number) as it's magic.
    ghc-options: -this-unit-id template-haskell