-
Notifications
You must be signed in to change notification settings - Fork 13
/
cmark.cabal
93 lines (88 loc) · 3.18 KB
/
cmark.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
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
name: cmark
version: 0.6.1
synopsis: Fast, accurate CommonMark (Markdown) parser and renderer
description:
This package provides Haskell bindings for
<https://github.com/jgm/cmark libcmark>, the reference
parser for <http://commonmark.org CommonMark>, a fully
specified variant of Markdown. It includes sources for
libcmark (0.30.3) and does not require prior installation of the
C library.
homepage: https://github.com/jgm/cmark-hs
license: BSD3
license-file: LICENSE
author: John MacFarlane
maintainer: [email protected]
copyright: (C) 2015-17 John MacFarlane
category: Text
build-type: Simple
extra-source-files: README.md
changelog
cbits/chunk.h
cbits/cmark_export.h
cbits/debug.h
cbits/inlines.h
cbits/cmark.h
cbits/houdini.h
cbits/references.h
cbits/utf8.h
cbits/parser.h
cbits/cmark_version.h
cbits/html_unescape.h
cbits/iterator.h
cbits/node.h
cbits/buffer.h
cbits/render.h
cbits/cmark_ctype.h
cbits/config.h
cbits/scanners.h
cbits/case_fold_switch.inc
cbits/entities.inc
cabal-version: 1.14
Source-repository head
type: git
location: git://github.com/jgm/cmark-hs.git
flag pkgconfig
default: False
description: Use system libcmark via pkgconfig
library
exposed-modules: CMark
build-depends: base >=4.5 && < 5.0,
text >= 1.0 && < 2.2,
bytestring
if impl(ghc < 7.6)
build-depends: ghc-prim >= 0.2
default-language: Haskell2010
ghc-options: -Wall -fno-warn-unused-do-bind
if flag(pkgconfig)
pkgconfig-depends: libcmark
else
cc-options: -Wall -std=c99
Include-dirs: cbits
Includes: cmark.h
c-sources: cbits/houdini_html_u.c
cbits/references.c
cbits/utf8.c
cbits/inlines.c
cbits/blocks.c
cbits/cmark.c
cbits/iterator.c
cbits/node.c
cbits/buffer.c
cbits/cmark_ctype.c
cbits/houdini_html_e.c
cbits/houdini_href_e.c
cbits/scanners.c
cbits/html.c
cbits/man.c
cbits/commonmark.c
cbits/latex.c
cbits/xml.c
cbits/render.c
Test-Suite test-cmark
type: exitcode-stdio-1.0
main-is: test-cmark.hs
hs-source-dirs: test
build-depends: base, cmark, text, HUnit >= 1.2 && < 1.7
ghc-options: -Wall -fno-warn-unused-do-bind -threaded
default-language: Haskell2010