Forked from
Glasgow Haskell Compiler / GHC
20242 commits behind the upstream repository.
-
Ben Gamari authored
Bumps haddock submodule
Ben Gamari authoredBumps haddock submodule
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
template-haskell.cabal 1.84 KiB
name: template-haskell
version: 2.12.0.0
-- NOTE: Don't forget to update ./changelog.md
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.
extra-source-files: changelog.md
source-repository head
type: git
location: http://git.haskell.org/ghc.git
subdir: libraries/template-haskell
Library
default-language: Haskell2010
other-extensions:
BangPatterns
CPP
DefaultSignatures
DeriveDataTypeable
DeriveGeneric
FlexibleInstances
RankNTypes
RoleAnnotations
ScopedTypeVariables
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
Language.Haskell.TH.LanguageExtensions
other-modules:
Language.Haskell.TH.Lib.Map
build-depends:
base >= 4.8 && < 4.11,
ghc-boot-th == 8.3,
pretty == 1.1.*
-- We need to set the unit ID to template-haskell (without a
-- version number) as it's magic.
ghc-options: -Wall
if impl( ghc >= 7.11 )
ghc-options: -this-unit-id template-haskell
else
if impl( ghc >= 7.9 )
ghc-options: -this-package-key template-haskell
else
ghc-options: -package-name template-haskell