aboutsummaryrefslogtreecommitdiffhomepage
path: root/blazeT.cabal
blob: eb3907e0eca247b8ca4f3976177dd8d58a32099b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
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
Tested-with:      GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.1
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.



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

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

Custom-setup
  setup-depends:  base >= 4.0.0.0 && < 5, Cabal

Library
  -- Default-Language: Haskell2010              
  Hs-source-dirs: src
  Ghc-Options:    -Wall
                  -fsimpl-tick-factor=200
                  -- -ddump-simpl-stats
                  -- -ddump-to-file
  Exposed-modules:
    Text.BlazeT
    Text.BlazeT.Internal
    Text.BlazeT.Html
    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