name:                HStringTemplate
version:             0.6.2
x-revision: 2
synopsis:            StringTemplate implementation in Haskell.
description:         A port of the Java library by Terrence Parr.
category:            Text
license:             BSD3
license-file:        LICENSE
author:              Sterling Clover
maintainer:          s.clover@gmail.com
Tested-With:         GHC == 6.10.3
Build-Type:          Simple
build-Depends:       base
Cabal-Version:       >= 1.6

flag smaller-base
flag syb-with-class
flag quasi-quotation

library
  if flag(syb-with-class)
    build-depends:   syb-with-class
    exposed-modules: Text.StringTemplate.GenericWithClass

  if flag(quasi-quotation)
    build-depends: template-haskell >= 2.3, mtl
    exposed-modules: Text.StringTemplate.QQ

  if flag(smaller-base)
    build-depends:   syb, base >= 4, base < 5, filepath, parsec < 3, containers, pretty, time < 1.5, old-time, old-locale, bytestring, directory, array, text, parallel, utf8-string < 1
  else
    build-depends:   base > 3, base < 4, filepath, parsec < 3, containers, pretty, time < 1.5, old-time, old-locale, bytestring, directory, array, text, utf8-string < 1

  exposed-modules:   Text.StringTemplate
                     Text.StringTemplate.Base
                     Text.StringTemplate.Classes
                     Text.StringTemplate.GenericStandard
  other-modules:     Text.StringTemplate.Instances
                     Text.StringTemplate.Group
                     Text.StringTemplate.Renderf
  ghc-options:       -Wall
  if impl(ghc >= 6.8)
    ghc-options:     -fwarn-tabs

source-repository head
  type:     darcs
  location: http://code.haskell.org/HStringTemplate/