summaryrefslogtreecommitdiff
path: root/libraries/template-haskell/template-haskell.cabal.in
diff options
context:
space:
mode:
authorRyan Scott <ryan.gl.scott@gmail.com>2019-02-14 09:12:20 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-02-20 10:05:21 -0500
commitaa79f65c06fbe2bbca08de1d02b30ee4fa53d1b4 (patch)
treeafce3a2a2bfd9fbfb817353a217a92a1eab17547 /libraries/template-haskell/template-haskell.cabal.in
parenteda456f6f7ff53d0237531bc7f60ea42a648b6f3 (diff)
downloadhaskell-aa79f65c06fbe2bbca08de1d02b30ee4fa53d1b4.tar.gz
Bump ghc version to 8.9
Along the way, I discovered that `template-haskell.cabal` was hard-coding the GHC version (in the form of its `ghc-boot-th` version bounds), so I decided to make life a little simpler in the future by generating `template-haskell.cabal` with autoconf.
Diffstat (limited to 'libraries/template-haskell/template-haskell.cabal.in')
-rw-r--r--libraries/template-haskell/template-haskell.cabal.in71
1 files changed, 71 insertions, 0 deletions
diff --git a/libraries/template-haskell/template-haskell.cabal.in b/libraries/template-haskell/template-haskell.cabal.in
new file mode 100644
index 0000000000..d689af1f75
--- /dev/null
+++ b/libraries/template-haskell/template-haskell.cabal.in
@@ -0,0 +1,71 @@
+-- WARNING: template-haskell.cabal is automatically generated from template-haskell.cabal.in by
+-- ../../configure. Make sure you are editing template-haskell.cabal.in, not
+-- template-haskell.cabal.
+
+name: template-haskell
+version: 2.15.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
+
+ Language.Haskell.TH.Lib.Internal
+
+ other-modules:
+ Language.Haskell.TH.Lib.Map
+
+ build-depends:
+ base >= 4.11 && < 4.14,
+ ghc-boot-th == @ProjectVersionMunged@,
+ pretty == 1.1.*
+
+ ghc-options: -Wall
+
+ -- 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
+
+ -- This should match the default-extensions used in 'ghc.cabal'. This way,
+ -- GHCi can be used to load it along with the compiler.
+ Default-Extensions:
+ NoImplicitPrelude