File: xhtml.cabal

package info (click to toggle)
ghc 9.0.2-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 177,780 kB
  • sloc: haskell: 494,441; ansic: 70,262; javascript: 9,423; sh: 8,537; python: 2,646; asm: 1,725; makefile: 1,333; xml: 196; cpp: 167; perl: 143; ruby: 84; lisp: 7
file content (70 lines) | stat: -rw-r--r-- 2,911 bytes parent folder | download | duplicates (4)
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
Cabal-version:      2.0
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 <chris@chrisdornan.com>
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

    -- We intentionally try to enlarge the configuration space only as little
    -- as needed, thus we partition the space for the cabal solver into
    --
    --  - xhtml-3000.2.2   supports base  < 4.11 & cabal-version: 1.10
    --  - xhtml-3000.2.2.1 supports base >= 4.11 & cabal-version: 2.0
    --
    -- as xhtml-3000.2.2 and xhtml-3000.2.2.1 are not distinguishable except
    -- for their version number.
    Build-depends: base >= 4.11 && < 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