Name:           haskell-src-exts-qq
Version:        0.7
Author:         Mathieu Boespflug
Maintainer:     Mathieu Boespflug <mboes@tweag.net>
Synopsis:       A quasiquoter for haskell-src-exts.
Description:
    Allows one to write programs that generate Haskell programs much
    more concisely and legibly. This package supports:
    .
    * term antiquotations,
    * antiquoting pattern variables in patterns,
    * antiquoting bound names,
    * antiquotations in types.
    .
    Some types of splicing use custom syntax due to historical
    reasons. This may change in future releases.
Category:       Language
License:        BSD3
License-File:   LICENSE
Cabal-Version:  >= 1.10.0
Build-Type:     Simple
Tested-With:    GHC==7.4.2, GHC==7.6.3, GHC==7.8.4, GHC==7.10.2

source-repository head
  type:     git
  location: git://github.com/mboes/haskell-src-exts-qq

library
  Build-Depends:        base >= 4 && < 5, syb, template-haskell,
                        haskell-src-exts >= 1.9.0,
                        haskell-src-meta >= 0.3
  Default-Language:     Haskell2010
  Default-Extensions:   TemplateHaskell, CPP
  Exposed-Modules:      Language.Haskell.Exts.QQ

test-suite tests
  Type:                 exitcode-stdio-1.0
  Default-Language:     Haskell2010
  Default-Extensions:   CPP
                        QuasiQuotes
                        TemplateHaskell
  Hs-Source-Dirs:       tests
  Main-Is:              test.hs
  Ghc-Options:          -Wall
  Build-Depends:        base >= 4,
                        haskell-src-exts-qq,
                        haskell-src-exts >= 1.9,
                        hspec >= 1.11