Name:         blazet
Version:      0.0.1
Homepage:
Bug-Reports:  http://github.com/johannesgerer/blazet/issues
License:      MIT
License-file: LICENSE
Author:       Johannes Gerer
Maintainer:   Johannes Gerer <oss@johannesgerer.com>
Homepage:     http://johannesgerer.com/blazeT
Stability:    Experimental
Category:     Text, Data, Web
Synopsis:     A true monad (transformer) version of the blaze-markup and blaze-html libraries
Description:
   A true monad (transformer) version of the blaze-markup and blaze-html libraries, implemented as as a very thin wrapper around and strict superset of these libraries.

   See <https://github.com/johannesgerer/blazeT README> on Github.

Tested-with: GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.1


Build-type:    Simple
Cabal-version: >= 1.8

Extra-source-files:
  src/Util/GenerateHtmlCombinators.hs
  src/Util/GenerateHtmlTCombinators.hs

Library
  Hs-source-dirs: src
  Ghc-Options:    -Wall
                  -fsimpl-tick-factor=200
                  -- -ddump-simpl-stats
                  -- -ddump-to-file
  Exposed-modules:
    Text.BlazeT
    Text.BlazeT.Renderer.Utf8
    Text.BlazeT.Renderer.String
    Text.BlazeT.Renderer.Pretty
    Text.BlazeT.Renderer.Text
    Text.BlazeT.Html4.FrameSet
    Text.BlazeT.Html4.Strict
    Text.BlazeT.Html4.Transitional
    Text.BlazeT.Html5
    Text.BlazeT.XHtml1.FrameSet
    Text.BlazeT.XHtml1.Strict
    Text.BlazeT.XHtml1.Transitional
    Text.BlazeT.XHtml5
    Text.BlazeT.Html4.FrameSet.Attributes
    Text.BlazeT.Html4.Strict.Attributes
    Text.BlazeT.Html4.Transitional.Attributes
    Text.BlazeT.Html5.Attributes
    Text.BlazeT.XHtml1.FrameSet.Attributes
    Text.BlazeT.XHtml1.Strict.Attributes
    Text.BlazeT.XHtml1.Transitional.Attributes
    Text.BlazeT.XHtml5.Attributes

  Build-depends:
    base >= 4.0.0.0 && < 5
    ,blaze-markup >= 0.6.0.0
    ,blaze-html >= 0.6.0.0
    ,blaze-builder >= 0.2
    ,text
    ,bytestring
    ,mtl
    ,transformers

-- Test-suite blaze-markup-tests
--   Type:           exitcode-stdio-1.0
--   Hs-source-dirs: src tests
--   Main-is:        TestSuite.hs
--   Ghc-options:    -Wall

--   Other-modules:
--     Text.Blaze.Tests
--     Text.Blaze.Tests.Util

--   Build-depends:
--     HUnit                      >= 1.2 && < 1.3,
--     QuickCheck                 >= 2.4 && < 2.8,
--     containers                 >= 0.3 && < 0.6,
--     test-framework             >= 0.4 && < 0.9,
--     test-framework-hunit       >= 0.3 && < 0.4,
--     test-framework-quickcheck2 >= 0.3 && < 0.4,
--     -- Copied from regular dependencies...
--     base          >= 4    && < 5,
--     blaze-builder >= 0.2  && < 0.4,
--     text          >= 0.10 && < 1.2,
--     bytestring    >= 0.9  && < 0.11

Source-repository head
  Type:     git
  Location: http://github.com/johannesgerer/blazet