packages feed

HStringTemplate-0.3.1: HStringTemplate.cabal

name:                HStringTemplate
version:             0.3.1
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.8.2
Build-Type:          Simple
build-Depends:       base
Cabal-Version:       >= 1.2

flag small-base
flag syb-with-class
flag simple-generics

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

  if flag(simple-generics)
    exposed-modules: Text.StringTemplate.GenericStandard

  if flag(small-base)
    build-depends:   base >= 3, filepath, parsec, containers, pretty, time, old-time, old-locale, bytestring, directory, array
  else
    build-depends:   base < 3, filepath, parsec
  exposed-modules:   Text.StringTemplate
                     Text.StringTemplate.Base
                     Text.StringTemplate.Classes
  other-modules:     Text.StringTemplate.Instances
                     Text.StringTemplate.Group
                     Text.StringTemplate.Renderf
  ghc-options:       -Wall