git.iko.soy/typeable/pandoc
on 2.2.3.1 help sign in
typeable/pandoc/pandoc.cabal
706 lines 30 kB history raw
1name: pandoc
2version: 2.2.3.1
3cabal-version: 2.0
4build-type: Custom
5license: GPL-2
6license-file: COPYING.md
7copyright: (c) 2006-2018 John MacFarlane
8author: John MacFarlane <jgm@berkeley.edu>
9maintainer: John MacFarlane <jgm@berkeley.edu>
10bug-reports: https://github.com/jgm/pandoc/issues
11stability: alpha
12homepage: https://pandoc.org
13category: Text
14tested-with: GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.3
15synopsis: Conversion between markup formats
16description: Pandoc is a Haskell library for converting from one markup
17 format to another, and a command-line tool that uses
18 this library. It can read several dialects of Markdown and
19 (subsets of) HTML, reStructuredText, LaTeX, DocBook, JATS,
20 MediaWiki markup, TWiki markup, TikiWiki markup, Creole 1.0,
21 Haddock markup, OPML, Emacs Org-Mode, Emacs Muse, txt2tags,
22 Vimwiki, Word Docx, ODT, EPUB, FictionBook2, and Textile,
23 and it can write Markdown, reStructuredText, XHTML, HTML 5,
24 LaTeX, ConTeXt, DocBook, JATS, OPML, TEI, OpenDocument,
25 ODT, Word docx, RTF, MediaWiki, DokuWiki, ZimWiki, Textile,
26 groff man, groff ms, plain text, Emacs Org-Mode, AsciiDoc,
27 Haddock markup, EPUB (v2 and v3), FictionBook2, InDesign
28 ICML, Muse, LaTeX beamer slides, PowerPoint, and several
29 kinds of HTML/JavaScript slide shows (S5, Slidy, Slideous,
30 DZSlides, reveal.js).
31 .
32 In contrast to most existing tools for converting Markdown
33 to HTML, pandoc has a modular design: it consists of a set of
34 readers, which parse text in a given format and produce a
35 native representation of the document, and a set of writers,
36 which convert this native representation into a target
37 format. Thus, adding an input or output format requires
38 only adding a reader or writer.
39data-files:
40 -- templates
41 data/templates/default.html4
42 data/templates/default.html5
43 data/templates/default.docbook4
44 data/templates/default.docbook5
45 data/templates/default.jats
46 data/templates/default.tei
47 data/templates/default.opendocument
48 data/templates/default.icml
49 data/templates/default.opml
50 data/templates/default.latex
51 data/templates/default.context
52 data/templates/default.texinfo
53 data/templates/default.man
54 data/templates/default.ms
55 data/templates/default.markdown
56 data/templates/default.muse
57 data/templates/default.commonmark
58 data/templates/default.rst
59 data/templates/default.plain
60 data/templates/default.mediawiki
61 data/templates/default.dokuwiki
62 data/templates/default.zimwiki
63 data/templates/default.rtf
64 data/templates/default.s5
65 data/templates/default.slidy
66 data/templates/default.slideous
67 data/templates/default.revealjs
68 data/templates/default.dzslides
69 data/templates/default.asciidoc
70 data/templates/default.haddock
71 data/templates/default.textile
72 data/templates/default.org
73 data/templates/default.epub2
74 data/templates/default.epub3
75 -- translations
76 data/translations/*.yaml
77 -- source files for reference.docx
78 data/docx/[Content_Types].xml
79 data/docx/_rels/.rels
80 data/docx/docProps/app.xml
81 data/docx/docProps/core.xml
82 data/docx/word/document.xml
83 data/docx/word/fontTable.xml
84 data/docx/word/comments.xml
85 data/docx/word/footnotes.xml
86 data/docx/word/numbering.xml
87 data/docx/word/settings.xml
88 data/docx/word/webSettings.xml
89 data/docx/word/styles.xml
90 data/docx/word/_rels/document.xml.rels
91 data/docx/word/_rels/footnotes.xml.rels
92 data/docx/word/theme/theme1.xml
93 -- source files for reference.odt
94 data/odt/mimetype
95 data/odt/manifest.rdf
96 data/odt/styles.xml
97 data/odt/content.xml
98 data/odt/meta.xml
99 data/odt/settings.xml
100 data/odt/Configurations2/accelerator/current.xml
101 data/odt/Thumbnails/thumbnail.png
102 data/odt/META-INF/manifest.xml
103 -- source files for reference.pptx
104 data/pptx/_rels/.rels
105 data/pptx/docProps/app.xml
106 data/pptx/docProps/core.xml
107 data/pptx/ppt/slideLayouts/_rels/slideLayout1.xml.rels
108 data/pptx/ppt/slideLayouts/_rels/slideLayout2.xml.rels
109 data/pptx/ppt/slideLayouts/_rels/slideLayout3.xml.rels
110 data/pptx/ppt/slideLayouts/_rels/slideLayout4.xml.rels
111 data/pptx/ppt/slideLayouts/_rels/slideLayout5.xml.rels
112 data/pptx/ppt/slideLayouts/_rels/slideLayout6.xml.rels
113 data/pptx/ppt/slideLayouts/_rels/slideLayout7.xml.rels
114 data/pptx/ppt/slideLayouts/_rels/slideLayout8.xml.rels
115 data/pptx/ppt/slideLayouts/_rels/slideLayout9.xml.rels
116 data/pptx/ppt/slideLayouts/_rels/slideLayout10.xml.rels
117 data/pptx/ppt/slideLayouts/_rels/slideLayout11.xml.rels
118 data/pptx/ppt/slideLayouts/slideLayout1.xml
119 data/pptx/ppt/slideLayouts/slideLayout2.xml
120 data/pptx/ppt/slideLayouts/slideLayout3.xml
121 data/pptx/ppt/slideLayouts/slideLayout4.xml
122 data/pptx/ppt/slideLayouts/slideLayout5.xml
123 data/pptx/ppt/slideLayouts/slideLayout6.xml
124 data/pptx/ppt/slideLayouts/slideLayout7.xml
125 data/pptx/ppt/slideLayouts/slideLayout8.xml
126 data/pptx/ppt/slideLayouts/slideLayout9.xml
127 data/pptx/ppt/slideLayouts/slideLayout10.xml
128 data/pptx/ppt/slideLayouts/slideLayout11.xml
129 data/pptx/ppt/_rels/presentation.xml.rels
130 data/pptx/ppt/theme/theme1.xml
131 data/pptx/ppt/presProps.xml
132 data/pptx/ppt/slides/_rels/slide1.xml.rels
133 data/pptx/ppt/slides/_rels/slide2.xml.rels
134 data/pptx/ppt/slides/slide2.xml
135 data/pptx/ppt/slides/slide1.xml
136 data/pptx/ppt/viewProps.xml
137 data/pptx/ppt/tableStyles.xml
138 data/pptx/ppt/slideMasters/_rels/slideMaster1.xml.rels
139 data/pptx/ppt/slideMasters/slideMaster1.xml
140 data/pptx/ppt/presentation.xml
141 data/pptx/ppt/notesMasters/_rels/notesMaster1.xml.rels
142 data/pptx/ppt/notesMasters/notesMaster1.xml
143 data/pptx/ppt/notesSlides/_rels/notesSlide1.xml.rels
144 data/pptx/ppt/notesSlides/notesSlide1.xml
145 data/pptx/ppt/notesSlides/_rels/notesSlide2.xml.rels
146 data/pptx/ppt/notesSlides/notesSlide2.xml
147 data/pptx/ppt/theme/theme2.xml
148 data/pptx/[Content_Types].xml
149 -- stylesheet for EPUB writer
150 data/epub.css
151 -- data for dzslides writer
152 data/dzslides/template.html
153 -- default abbreviations file
154 data/abbreviations
155 -- sample lua custom writer
156 data/sample.lua
157 -- lua init script
158 data/init.lua
159 -- pandoc lua module
160 data/pandoc.lua
161 -- lua List module
162 data/pandoc.List.lua
163 -- bash completion template
164 data/bash_completion.tpl
165 -- jats csl
166 data/jats.csl
167 -- documentation
168 MANUAL.txt, COPYRIGHT
169extra-source-files:
170 -- documentation
171 INSTALL.md, AUTHORS.md, README.md,
172 CONTRIBUTING.md, BUGS, changelog,
173 man/pandoc.1
174 -- stack build plan
175 stack.yaml
176 -- files needed to build man page
177 man/manfilter.lua
178 man/pandoc.1.template
179 -- trypandoc
180 trypandoc/Makefile
181 trypandoc/index.html
182 -- tests
183 test/bodybg.gif
184 test/*.native
185 test/command/*.md
186 test/command/3533-rst-csv-tables.csv
187 test/command/3880.txt
188 test/command/abbrevs
189 test/command/SVG_logo-without-xml-declaration.svg
190 test/command/SVG_logo.svg
191 test/command/corrupt.svg
192 test/command/inkscape-cube.svg
193 test/command/sub-file-chapter-1.tex
194 test/command/sub-file-chapter-2.tex
195 test/command/bar.tex
196 test/command/3510-subdoc.org
197 test/command/3510-export.latex
198 test/command/3510-src.hs
199 test/command/3971b.tex
200 test/docbook-reader.docbook
201 test/docbook-xref.docbook
202 test/html-reader.html
203 test/opml-reader.opml
204 test/haddock-reader.haddock
205 test/insert
206 test/lalune.jpg
207 test/movie.jpg
208 test/media/rId25.jpg
209 test/media/rId26.jpg
210 test/media/rId27.jpg
211 test/latex-reader.latex
212 test/textile-reader.textile
213 test/markdown-reader-more.txt
214 test/markdown-citations.txt
215 test/textile-reader.textile
216 test/mediawiki-reader.wiki
217 test/vimwiki-reader.wiki
218 test/creole-reader.txt
219 test/creole-reader.native
220 test/rst-reader.rst
221 test/jats-reader.xml
222 test/s5-basic.html
223 test/s5-fancy.html
224 test/s5-fragment.html
225 test/s5-inserts.html
226 test/tables.context
227 test/tables.docbook4
228 test/tables.docbook5
229 test/tables.jats
230 test/tables.dokuwiki
231 test/tables.zimwiki
232 test/tables.icml
233 test/tables.html4
234 test/tables.html5
235 test/tables.latex
236 test/tables.man
237 test/tables.ms
238 test/tables.plain
239 test/tables.markdown
240 test/tables.mediawiki
241 test/tables.tei
242 test/tables.textile
243 test/tables.opendocument
244 test/tables.org
245 test/tables.asciidoc
246 test/tables.haddock
247 test/tables.texinfo
248 test/tables.rst
249 test/tables.rtf
250 test/tables.txt
251 test/tables.fb2
252 test/tables.muse
253 test/tables.custom
254 test/testsuite.txt
255 test/writer.latex
256 test/writer.context
257 test/writer.docbook4
258 test/writer.docbook5
259 test/writer.jats
260 test/writer.html4
261 test/writer.html5
262 test/writer.man
263 test/writer.ms
264 test/writer.markdown
265 test/writer.plain
266 test/writer.mediawiki
267 test/writer.textile
268 test/writer.opendocument
269 test/writer.org
270 test/writer.asciidoc
271 test/writer.haddock
272 test/writer.rst
273 test/writer.icml
274 test/writer.rtf
275 test/writer.tei
276 test/writer.texinfo
277 test/writer.fb2
278 test/writer.opml
279 test/writer.dokuwiki
280 test/writer.zimwiki
281 test/writer.muse
282 test/writer.custom
283 test/writers-lang-and-dir.latex
284 test/writers-lang-and-dir.context
285 test/dokuwiki_inline_formatting.dokuwiki
286 test/lhs-test.markdown
287 test/lhs-test.markdown+lhs
288 test/lhs-test.rst
289 test/lhs-test.rst+lhs
290 test/lhs-test.latex
291 test/lhs-test.latex+lhs
292 test/lhs-test.html
293 test/lhs-test.html+lhs
294 test/lhs-test.fragment.html+lhs
295 test/pipe-tables.txt
296 test/dokuwiki_external_images.dokuwiki
297 test/dokuwiki_external_images.native
298 test/dokuwiki_multiblock_table.dokuwiki
299 test/dokuwiki_multiblock_table.native
300 test/fb2/*.markdown
301 test/fb2/*.fb2
302 test/fb2/images-embedded.html
303 test/fb2/images-embedded.fb2
304 test/fb2/test-small.png
305 test/fb2/reader/*.fb2
306 test/fb2/reader/*.native
307 test/fb2/test.jpg
308 test/docx/*.docx
309 test/docx/golden/*.docx
310 test/docx/*.native
311 test/epub/*.epub
312 test/epub/*.native
313 test/pptx/*.pptx
314 test/pptx/*.native
315 test/txt2tags.t2t
316 test/twiki-reader.twiki
317 test/tikiwiki-reader.tikiwiki
318 test/odt/odt/*.odt
319 test/odt/markdown/*.md
320 test/odt/native/*.native
321 test/lua/*.lua
322source-repository head
323 type: git
324 location: git://github.com/jgm/pandoc.git
326flag static
327 Description: Use static linking for pandoc executable.
328 Default: False
330flag embed_data_files
331 Description: Embed data files in binary for relocatable executable.
332 Default: False
334flag trypandoc
335 Description: Build trypandoc cgi executable.
336 Default: False
338custom-setup
339 setup-depends: base, Cabal >= 2.0
341library
342 build-depends: base >= 4.7 && < 5,
343 syb >= 0.1 && < 0.8,
344 containers >= 0.4.2.1 && < 0.6,
345 unordered-containers >= 0.2 && < 0.3,
346 parsec >= 3.1 && < 3.2,
347 mtl >= 2.2 && < 2.3,
348 exceptions >= 0.8 && < 0.11,
349 filepath >= 1.1 && < 1.5,
350 process >= 1.2.3 && < 1.7,
351 directory >= 1 && < 1.4,
352 bytestring >= 0.9 && < 0.11,
353 text >= 0.11 && < 1.3,
354 time >= 1.5 && < 1.10,
355 safe >= 0.3 && < 0.4,
356 zip-archive >= 0.2.3.4 && < 0.4,
357 HTTP >= 4000.0.5 && < 4000.4,
358 texmath >= 0.11 && < 0.12,
359 xml >= 1.3.12 && < 1.4,
360 split >= 0.2 && < 0.3,
361 random >= 1 && < 1.2,
362 pandoc-types >= 1.17.5 && < 1.18,
363 aeson >= 0.7 && < 1.5,
364 aeson-pretty >= 0.8.5 && < 0.9,
365 tagsoup >= 0.14.6 && < 0.15,
366 base64-bytestring >= 0.1 && < 1.1,
367 zlib >= 0.5 && < 0.7,
368 skylighting >= 0.7.2 && < 0.8,
369 data-default >= 0.4 && < 0.8,
370 temporary >= 1.1 && < 1.4,
371 blaze-html >= 0.9 && < 0.10,
372 blaze-markup >= 0.8 && < 0.9,
373 vector >= 0.10 && < 0.13,
374 hslua >= 0.9.5 && < 0.9.6,
375 hslua-module-text >= 0.1.2 && < 0.2,
376 binary >= 0.5 && < 0.10,
377 SHA >= 1.6 && < 1.7,
378 haddock-library >= 1.6 && < 1.7,
379 deepseq >= 1.3 && < 1.5,
380 JuicyPixels >= 3.1.6.1 && < 3.4,
381 Glob >= 0.7 && < 0.10,
382 cmark-gfm >= 0.1.1 && < 0.2,
383 doctemplates >= 0.2.1 && < 0.3,
384 network-uri >= 2.6 && < 2.7,
385 network >= 2.6,
386 http-client >= 0.4.30 && < 0.6,
387 http-client-tls >= 0.2.4 && < 0.4,
388 http-types >= 0.8 && < 0.13,
389 case-insensitive >= 1.2 && < 1.3,
390 HsYAML >= 0.1.1.1 && < 0.2
391 if impl(ghc < 8.0)
392 build-depends: semigroups == 0.18.*,
393 -- basement 0.0.8 and foundation 0.0.21, transitive
394 -- dependencies, drop support for ghc 7.10:
395 basement < 0.0.8,
396 foundation < 0.0.21
397 if impl(ghc < 8.4)
398 hs-source-dirs: prelude
399 other-modules: Prelude
400 build-depends: base-compat >= 0.9
401 if os(windows)
402 cpp-options: -D_WINDOWS
403 else
404 build-depends: unix >= 2.4 && < 2.8
405 if flag(embed_data_files)
406 cpp-options: -DEMBED_DATA_FILES
407 build-depends: file-embed >= 0.0 && < 0.1
408 other-modules: Text.Pandoc.Data
409 if os(windows)
410 cpp-options: -D_WINDOWS
411 ghc-options: -Wall -fno-warn-unused-do-bind
412 default-language: Haskell2010
413 other-extensions: NoImplicitPrelude
414 hs-source-dirs: src
416 exposed-modules: Text.Pandoc,
417 Text.Pandoc.App,
418 Text.Pandoc.Options,
419 Text.Pandoc.Extensions,
420 Text.Pandoc.Pretty,
421 Text.Pandoc.Shared,
422 Text.Pandoc.MediaBag,
423 Text.Pandoc.Error,
424 Text.Pandoc.Readers,
425 Text.Pandoc.Readers.HTML,
426 Text.Pandoc.Readers.LaTeX,
427 Text.Pandoc.Readers.LaTeX.Types,
428 Text.Pandoc.Readers.Markdown,
429 Text.Pandoc.Readers.CommonMark,
430 Text.Pandoc.Readers.Creole,
431 Text.Pandoc.Readers.MediaWiki,
432 Text.Pandoc.Readers.Vimwiki,
433 Text.Pandoc.Readers.RST,
434 Text.Pandoc.Readers.Org,
435 Text.Pandoc.Readers.DocBook,
436 Text.Pandoc.Readers.JATS,
437 Text.Pandoc.Readers.OPML,
438 Text.Pandoc.Readers.Textile,
439 Text.Pandoc.Readers.Native,
440 Text.Pandoc.Readers.Haddock,
441 Text.Pandoc.Readers.TWiki,
442 Text.Pandoc.Readers.TikiWiki,
443 Text.Pandoc.Readers.Txt2Tags,
444 Text.Pandoc.Readers.Docx,
445 Text.Pandoc.Readers.Odt,
446 Text.Pandoc.Readers.EPUB,
447 Text.Pandoc.Readers.Muse,
448 Text.Pandoc.Readers.FB2,
449 Text.Pandoc.Writers,
450 Text.Pandoc.Writers.Native,
451 Text.Pandoc.Writers.Docbook,
452 Text.Pandoc.Writers.JATS,
453 Text.Pandoc.Writers.OPML,
454 Text.Pandoc.Writers.HTML,
455 Text.Pandoc.Writers.ICML,
456 Text.Pandoc.Writers.LaTeX,
457 Text.Pandoc.Writers.ConTeXt,
458 Text.Pandoc.Writers.OpenDocument,
459 Text.Pandoc.Writers.Texinfo,
460 Text.Pandoc.Writers.Man,
461 Text.Pandoc.Writers.Ms,
462 Text.Pandoc.Writers.Markdown,
463 Text.Pandoc.Writers.CommonMark,
464 Text.Pandoc.Writers.Haddock,
465 Text.Pandoc.Writers.RST,
466 Text.Pandoc.Writers.Org,
467 Text.Pandoc.Writers.AsciiDoc,
468 Text.Pandoc.Writers.Custom,
469 Text.Pandoc.Writers.Textile,
470 Text.Pandoc.Writers.MediaWiki,
471 Text.Pandoc.Writers.DokuWiki,
472 Text.Pandoc.Writers.ZimWiki,
473 Text.Pandoc.Writers.RTF,
474 Text.Pandoc.Writers.ODT,
475 Text.Pandoc.Writers.Docx,
476 Text.Pandoc.Writers.Powerpoint,
477 Text.Pandoc.Writers.EPUB,
478 Text.Pandoc.Writers.FB2,
479 Text.Pandoc.Writers.TEI,
480 Text.Pandoc.Writers.Muse,
481 Text.Pandoc.Writers.Math,
482 Text.Pandoc.Writers.Shared,
483 Text.Pandoc.Writers.OOXML,
484 Text.Pandoc.Lua,
485 Text.Pandoc.PDF,
486 Text.Pandoc.UTF8,
487 Text.Pandoc.Templates,
488 Text.Pandoc.XML,
489 Text.Pandoc.SelfContained,
490 Text.Pandoc.Highlighting,
491 Text.Pandoc.Logging,
492 Text.Pandoc.Process,
493 Text.Pandoc.MIME,
494 Text.Pandoc.Parsing,
495 Text.Pandoc.Asciify,
496 Text.Pandoc.Emoji,
497 Text.Pandoc.ImageSize,
498 Text.Pandoc.BCP47,
499 Text.Pandoc.Class
500 other-modules: Text.Pandoc.Filter,
501 Text.Pandoc.Filter.JSON,
502 Text.Pandoc.Filter.Lua,
503 Text.Pandoc.Filter.Path,
504 Text.Pandoc.Readers.Docx.Lists,
505 Text.Pandoc.Readers.Docx.Combine,
506 Text.Pandoc.Readers.Docx.Parse,
507 Text.Pandoc.Readers.Docx.Util,
508 Text.Pandoc.Readers.Docx.StyleMap,
509 Text.Pandoc.Readers.Docx.Fields,
510 Text.Pandoc.Readers.Odt.Base,
511 Text.Pandoc.Readers.Odt.Namespaces,
512 Text.Pandoc.Readers.Odt.StyleReader,
513 Text.Pandoc.Readers.Odt.ContentReader,
514 Text.Pandoc.Readers.Odt.Generic.Fallible,
515 Text.Pandoc.Readers.Odt.Generic.SetMap,
516 Text.Pandoc.Readers.Odt.Generic.Utils,
517 Text.Pandoc.Readers.Odt.Generic.Namespaces,
518 Text.Pandoc.Readers.Odt.Generic.XMLConverter,
519 Text.Pandoc.Readers.Odt.Arrows.State,
520 Text.Pandoc.Readers.Odt.Arrows.Utils,
521 Text.Pandoc.Readers.Org.BlockStarts,
522 Text.Pandoc.Readers.Org.Blocks,
523 Text.Pandoc.Readers.Org.DocumentTree,
524 Text.Pandoc.Readers.Org.ExportSettings,
525 Text.Pandoc.Readers.Org.Inlines,
526 Text.Pandoc.Readers.Org.Meta,
527 Text.Pandoc.Readers.Org.ParserState,
528 Text.Pandoc.Readers.Org.Parsing,
529 Text.Pandoc.Readers.Org.Shared,
530 Text.Pandoc.Writers.Powerpoint.Presentation,
531 Text.Pandoc.Writers.Powerpoint.Output,
532 Text.Pandoc.Lua.Filter,
533 Text.Pandoc.Lua.Init,
534 Text.Pandoc.Lua.Module.MediaBag,
535 Text.Pandoc.Lua.Module.Pandoc,
536 Text.Pandoc.Lua.Module.Utils,
537 Text.Pandoc.Lua.Packages,
538 Text.Pandoc.Lua.StackInstances,
539 Text.Pandoc.Lua.Util,
540 Text.Pandoc.CSS,
541 Text.Pandoc.CSV,
542 Text.Pandoc.UUID,
543 Text.Pandoc.Translations,
544 Text.Pandoc.Slides,
545 Paths_pandoc
546 autogen-modules: Paths_pandoc
547 buildable: True
549executable pandoc
550 build-depends: pandoc, base >= 4.7 && < 5
551 if impl(ghc < 8.0)
552 build-depends: semigroups == 0.18.*
553 if impl(ghc < 8.4)
554 hs-source-dirs: prelude
555 other-modules: Prelude
556 build-depends: base-compat >= 0.9
557 ghc-options: -rtsopts -with-rtsopts=-K16m -Wall -fno-warn-unused-do-bind -threaded
558 if flag(static)
559 ld-options: -static
560 default-language: Haskell2010
561 other-extensions: NoImplicitPrelude
562 hs-source-dirs: .
563 main-is: pandoc.hs
564 buildable: True
565 other-modules: Paths_pandoc
567executable trypandoc
568 main-is: trypandoc.hs
569 hs-source-dirs: trypandoc
570 default-language: Haskell2010
571 other-extensions: NoImplicitPrelude
572 if flag(trypandoc)
573 build-depends: base, aeson, pandoc,
574 text, wai-extra, wai >= 0.3, http-types
575 buildable: True
576 else
577 buildable: False
578 if impl(ghc < 8.0)
579 build-depends: semigroups == 0.18.*
580 if impl(ghc < 8.4)
581 hs-source-dirs: prelude
582 other-modules: Prelude
583 build-depends: base-compat >= 0.9
585benchmark weigh-pandoc
586 type: exitcode-stdio-1.0
587 main-is: weigh-pandoc.hs
588 hs-source-dirs: benchmark
589 build-depends: pandoc,
590 base >= 4.2 && < 5,
591 text,
592 weigh >= 0.0 && < 0.1,
593 mtl >= 2.2 && < 2.3
594 if impl(ghc < 8.0)
595 build-depends: semigroups == 0.18.*
596 if impl(ghc < 8.4)
597 hs-source-dirs: prelude
598 other-modules: Prelude
599 build-depends: base-compat >= 0.9
600 ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind -threaded
601 default-language: Haskell2010
602 other-extensions: NoImplicitPrelude
604test-suite test-pandoc
605 type: exitcode-stdio-1.0
606 main-is: test-pandoc.hs
607 hs-source-dirs: test
608 build-depends: base >= 4.2 && < 5,
609 pandoc,
610 pandoc-types >= 1.17.5 && < 1.18,
611 bytestring >= 0.9 && < 0.11,
612 base64-bytestring >= 0.1 && < 1.1,
613 text >= 0.11 && < 1.3,
614 time >= 1.5 && < 1.10,
615 directory >= 1 && < 1.4,
616 filepath >= 1.1 && < 1.5,
617 hslua >= 0.9.5 && < 0.9.6,
618 process >= 1.2.3 && < 1.7,
619 temporary >= 1.1 && < 1.4,
620 Diff >= 0.2 && < 0.4,
621 tasty >= 0.11 && < 1.2,
622 tasty-hunit >= 0.9 && < 0.11,
623 tasty-quickcheck >= 0.8 && < 0.11,
624 tasty-golden >= 2.3 && < 2.4,
625 QuickCheck >= 2.4 && < 2.12,
626 containers >= 0.4.2.1 && < 0.6,
627 executable-path >= 0.0 && < 0.1,
628 zip-archive >= 0.2.3.4 && < 0.4,
629 xml >= 1.3.12 && < 1.4,
630 Glob >= 0.7 && < 0.10
631 if impl(ghc < 8.0)
632 build-depends: semigroups == 0.18.*
633 if impl(ghc < 8.4)
634 hs-source-dirs: prelude
635 other-modules: Prelude
636 build-depends: base-compat >= 0.9
637 other-modules: Tests.Old
638 Tests.Command
639 Tests.Helpers
640 Tests.Lua
641 Tests.Shared
642 Tests.Readers.LaTeX
643 Tests.Readers.HTML
644 Tests.Readers.JATS
645 Tests.Readers.Markdown
646 Tests.Readers.Org
647 Tests.Readers.Org.Block
648 Tests.Readers.Org.Block.CodeBlock
649 Tests.Readers.Org.Block.Figure
650 Tests.Readers.Org.Block.Header
651 Tests.Readers.Org.Block.List
652 Tests.Readers.Org.Block.Table
653 Tests.Readers.Org.Directive
654 Tests.Readers.Org.Inline
655 Tests.Readers.Org.Inline.Citation
656 Tests.Readers.Org.Inline.Note
657 Tests.Readers.Org.Inline.Smart
658 Tests.Readers.Org.Meta
659 Tests.Readers.Org.Shared
660 Tests.Readers.RST
661 Tests.Readers.Docx
662 Tests.Readers.Odt
663 Tests.Readers.Txt2Tags
664 Tests.Readers.EPUB
665 Tests.Readers.Muse
666 Tests.Readers.Creole
667 Tests.Readers.FB2
668 Tests.Writers.Native
669 Tests.Writers.ConTeXt
670 Tests.Writers.Docbook
671 Tests.Writers.HTML
672 Tests.Writers.JATS
673 Tests.Writers.Markdown
674 Tests.Writers.Org
675 Tests.Writers.Plain
676 Tests.Writers.AsciiDoc
677 Tests.Writers.LaTeX
678 Tests.Writers.Docx
679 Tests.Writers.RST
680 Tests.Writers.TEI
681 Tests.Writers.Muse
682 Tests.Writers.FB2
683 Tests.Writers.Powerpoint
684 Tests.Writers.OOXML
685 ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind -threaded
686 default-language: Haskell2010
687 other-extensions: NoImplicitPrelude
689benchmark benchmark-pandoc
690 type: exitcode-stdio-1.0
691 main-is: benchmark-pandoc.hs
692 hs-source-dirs: benchmark
693 build-depends: pandoc,
694 time, bytestring, containers,
695 base >= 4.2 && < 5,
696 text >= 0.11 && < 1.3,
697 criterion >= 1.0 && < 1.6
698 if impl(ghc < 8.0)
699 build-depends: semigroups == 0.18.*
700 if impl(ghc < 8.4)
701 hs-source-dirs: prelude
702 other-modules: Prelude
703 build-depends: base-compat >= 0.9
704 ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind -threaded
705 default-language: Haskell2010
706 other-extensions: NoImplicitPrelude