File: markdown.cabal

package info (click to toggle)
haskell-markdown 0.1.17.5-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 520 kB
  • sloc: haskell: 1,195; makefile: 3
file content (67 lines) | stat: -rw-r--r-- 2,404 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
Name:                markdown
Version:             0.1.17.5
Synopsis:            Convert Markdown to HTML, with XSS protection
Description:         This library leverages existing high-performance libraries (attoparsec, blaze-html, text, and conduit), and should integrate well with existing codebases.
Homepage:            https://github.com/snoyberg/markdown
License:             BSD3
License-file:        LICENSE
Author:              Michael Snoyman
Maintainer:          michael@snoyman.com
Category:            Web
Build-type:          Simple
Extra-source-files:  test/examples/*.html
                   , test/examples/*.md
                   , test/Tests/*.html
                   , test/Tests/*.text
                   , ChangeLog.md
                   , README.md
Cabal-version:       >=1.10

Library
  default-language: Haskell2010
  Exposed-modules:     Text.Markdown
                       Text.Markdown.Block
                       Text.Markdown.Inline
  other-modules:       Text.Markdown.Types
  Build-depends:       base                   >= 4.9     && < 5
                     , blaze-markup           >= 0.6
                     , blaze-html             >= 0.4
                     , attoparsec             >= 0.10
                     , transformers           >= 0.2.2
                     , conduit                >= 1.2.8
                     , conduit-extra          >= 1.1
                     , text
                     , data-default           >= 0.3
                     , xss-sanitize           >= 0.3.3
                     , containers
                     , xml-types
                     , xml-conduit
  ghc-options:       -Wall

test-suite test
    default-language: Haskell2010
    hs-source-dirs: test
    main-is: main.hs
    other-modules: Block
                   Inline
    type: exitcode-stdio-1.0

    ghc-options:   -Wall
    build-depends: markdown
                 , base             >= 4       && < 5
                 , hspec            >= 1.3
                 , blaze-html
                 , bytestring
                 , call-stack
                 , text
                 , transformers
                 , conduit
                 , conduit-extra
                 , containers
                 , filepath
                 , directory
                 , xss-sanitize

source-repository head
  type:     git
  location: git://github.com/snoyberg/markdown.git