-
Notifications
You must be signed in to change notification settings - Fork 3
/
xhtml.cabal
62 lines (56 loc) · 2.44 KB
/
xhtml.cabal
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
Cabal-version: >= 1.10
Name: xhtml
Version: 3000.2.2.1
Copyright: Bjorn Bringert 2004-2006, Andy Gill and the Oregon
Graduate Institute of Science and Technology, 1999-2001
Maintainer: Chris Dornan <[email protected]>
Author: Bjorn Bringert
License: BSD3
License-file: LICENSE
Synopsis: An XHTML combinator library
Description: This package provides combinators for producing
XHTML 1.0, including the Strict, Transitional and
Frameset variants.
Stability: Stable
Category: Web, XML, Pretty Printer
Homepage: https://github.com/haskell/xhtml
Bug-Reports: https://github.com/haskell/xhtml/issues
Build-type: Simple
extra-source-files: ChangeLog.md
Source-repository head
type: git
location: https://github.com/haskell/xhtml
library
Default-Language: Haskell2010
if impl(ghc >= 7.2)
Default-Extensions: Safe
Build-depends: base >= 4 && < 5
if impl(ghc >= 8.0)
-- Enable warnings about potential future incompatibilities
ghc-options: -Wcompat -Wnoncanonical-monadfail-instances -Wnoncanonical-monad-instances
else
-- This provides compatibility with versions prior to GHC 8.0 / base-4.9, when `Data.Semigroup`
-- still lived in `semigroups`.
-- Note: semigroups-0.8 is a reasonably early version depending only on base & containers,
-- and `xhtml` only needs to define the class instance
-- so we can easily support a wide range of major
-- versions of `semigroups`
Build-depends: semigroups >= 0.8 && < 0.19
Exposed-modules:
Text.XHtml,
Text.XHtml.Frameset,
Text.XHtml.Strict,
Text.XHtml.Transitional,
Text.XHtml.Debug,
Text.XHtml.Table
Other-modules:
Text.XHtml.Strict.Attributes,
Text.XHtml.Strict.Elements,
Text.XHtml.Frameset.Attributes,
Text.XHtml.Frameset.Elements,
Text.XHtml.Transitional.Attributes,
Text.XHtml.Transitional.Elements,
Text.XHtml.BlockTable,
Text.XHtml.Extras,
Text.XHtml.Internals
ghc-options: -Wall -fwarn-tabs