File: tagstream-conduit.cabal

package info (click to toggle)
haskell-tagstream-conduit 0.5.6-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 128 kB
  • sloc: haskell: 1,002; makefile: 3
file content (68 lines) | stat: -rw-r--r-- 2,459 bytes parent folder | download | duplicates (3)
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
Name:                tagstream-conduit
Version:             0.5.6
Synopsis:            streamlined html tag parser
Description:
    Tag-stream is a library for parsing HTML//XML to a token stream.
    It can parse unstructured and malformed HTML from the web.
    It also provides an Enumeratee which can parse streamline html, which means it consumes constant memory.

    You can start from the `tests/Tests.hs` module to see what it can do.
Homepage:            http://github.com/yihuang/tagstream-conduit
License:             BSD3
License-file:        LICENSE
Author:              yihuang
Maintainer:          yi.codeplayer@gmail.com
Category:            Web, Conduit
Build-type:          Simple
Extra-source-files:    tests/Tests.hs
                     , Highlight.hs
                     , Parse.hs
                     , HighlightText.hs
                     , ParseText.hs
Cabal-version:       >=1.10

source-repository head
  type:     git
  location: git://github.com/yihuang/tagstream-conduit

Library
  GHC-Options:       -Wall -O2
  Default-Language:  Haskell2010
  Exposed-modules:     Text.HTML.TagStream
                     , Text.HTML.TagStream.ByteString
                     , Text.HTML.TagStream.Text
                     , Text.HTML.TagStream.Types
                     , Text.HTML.TagStream.Utils
                     , Text.HTML.TagStream.Entities
  Build-depends:       base >= 4 && < 5
                     , bytestring
                     , text
                     , case-insensitive
                     , transformers >= 0.2
                     , conduit >= 1.2
                     , conduit-extra >= 1.1.0
                     , resourcet
                     , attoparsec >= 0.10
                     , blaze-builder
                     , xml-conduit >= 1.2.4
                     , data-default >= 0.5.0
  -- this is needed to access Control.Monad.Fail on GHCs before 8.0
  if !impl(ghc >= 8.0)
    Build-depends:
                       fail == 4.9.*

test-suite test
    Default-Language:  Haskell2010
    hs-source-dirs: tests
    main-is: Tests.hs
    type: exitcode-stdio-1.0
    build-depends:     base >= 4 && < 5
                     , bytestring
                     , text
                     , conduit >= 1.2
                     , QuickCheck
                     , HUnit
                     , hspec >= 1.3
                     , tagstream-conduit
                     , resourcet
    ghc-options:     -Wall