git.iko.soy/typeable/pandoc
on 2.1 help sign in
typeable/pandoc/pandoc.cabal
693 lines 29 kB history raw
1name: pandoc
2version: 2.1
3cabal-version: >= 1.10
4build-type: Custom
5license: GPL
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: http://pandoc.org
13category: Text
14tested-with: GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.2
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, and Textile, and it can write
23 Markdown, reStructuredText, XHTML, HTML 5, LaTeX, ConTeXt,
24 DocBook, JATS, OPML, TEI, OpenDocument, ODT, Word docx,
25 RTF, MediaWiki, DokuWiki, ZimWiki, Textile, groff man,
26 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/thumbnail.jpeg
106 data/pptx/docProps/app.xml
107 data/pptx/docProps/core.xml
108 data/pptx/ppt/slideLayouts/_rels/slideLayout1.xml.rels
109 data/pptx/ppt/slideLayouts/_rels/slideLayout2.xml.rels
110 data/pptx/ppt/slideLayouts/_rels/slideLayout3.xml.rels
111 data/pptx/ppt/slideLayouts/_rels/slideLayout4.xml.rels
112 data/pptx/ppt/slideLayouts/_rels/slideLayout5.xml.rels
113 data/pptx/ppt/slideLayouts/_rels/slideLayout6.xml.rels
114 data/pptx/ppt/slideLayouts/_rels/slideLayout7.xml.rels
115 data/pptx/ppt/slideLayouts/_rels/slideLayout8.xml.rels
116 data/pptx/ppt/slideLayouts/_rels/slideLayout9.xml.rels
117 data/pptx/ppt/slideLayouts/_rels/slideLayout10.xml.rels
118 data/pptx/ppt/slideLayouts/_rels/slideLayout11.xml.rels
119 data/pptx/ppt/slideLayouts/slideLayout1.xml
120 data/pptx/ppt/slideLayouts/slideLayout2.xml
121 data/pptx/ppt/slideLayouts/slideLayout3.xml
122 data/pptx/ppt/slideLayouts/slideLayout4.xml
123 data/pptx/ppt/slideLayouts/slideLayout5.xml
124 data/pptx/ppt/slideLayouts/slideLayout6.xml
125 data/pptx/ppt/slideLayouts/slideLayout7.xml
126 data/pptx/ppt/slideLayouts/slideLayout8.xml
127 data/pptx/ppt/slideLayouts/slideLayout9.xml
128 data/pptx/ppt/slideLayouts/slideLayout10.xml
129 data/pptx/ppt/slideLayouts/slideLayout11.xml
130 data/pptx/ppt/_rels/presentation.xml.rels
131 data/pptx/ppt/theme/theme1.xml
132 data/pptx/ppt/presProps.xml
133 data/pptx/ppt/slides/_rels/slide1.xml.rels
134 data/pptx/ppt/slides/_rels/slide2.xml.rels
135 data/pptx/ppt/slides/slide2.xml
136 data/pptx/ppt/slides/slide1.xml
137 data/pptx/ppt/viewProps.xml
138 data/pptx/ppt/tableStyles.xml
139 data/pptx/ppt/slideMasters/_rels/slideMaster1.xml.rels
140 data/pptx/ppt/slideMasters/slideMaster1.xml
141 data/pptx/ppt/presentation.xml
142 data/pptx/[Content_Types].xml
143 -- stylesheet for EPUB writer
144 data/epub.css
145 -- data for LaTeXMathML writer
146 data/LaTeXMathML.js
147 -- data for dzslides writer
148 data/dzslides/template.html
149 -- default abbreviations file
150 data/abbreviations
151 -- sample lua custom writer
152 data/sample.lua
153 -- lua init script
154 data/init.lua
155 -- pandoc lua module
156 data/pandoc.lua
157 -- lua List module
158 data/pandoc.List.lua
159 -- bash completion template
160 data/bash_completion.tpl
161 -- jats csl
162 data/jats.csl
163 -- documentation
164 MANUAL.txt, COPYRIGHT
165extra-source-files:
166 -- documentation
167 INSTALL.md, AUTHORS.md, README.md,
168 CONTRIBUTING.md, BUGS, changelog,
169 man/pandoc.1
170 -- stack build plan
171 stack.yaml
172 -- files needed to build man page
173 man/manfilter.lua
174 man/pandoc.1.template
175 -- trypandoc
176 trypandoc/Makefile
177 trypandoc/index.html
178 -- tests
179 test/bodybg.gif
180 test/*.native
181 test/command/*.md
182 test/command/3533-rst-csv-tables.csv
183 test/command/3880.txt
184 test/command/abbrevs
185 test/command/SVG_logo-without-xml-declaration.svg
186 test/command/SVG_logo.svg
187 test/command/corrupt.svg
188 test/command/inkscape-cube.svg
189 test/command/sub-file-chapter-1.tex
190 test/command/sub-file-chapter-2.tex
191 test/command/3510-subdoc.org
192 test/command/3510-export.latex
193 test/command/3510-src.hs
194 test/command/3971b.tex
195 test/docbook-reader.docbook
196 test/docbook-xref.docbook
197 test/html-reader.html
198 test/opml-reader.opml
199 test/haddock-reader.haddock
200 test/insert
201 test/lalune.jpg
202 test/movie.jpg
203 test/media/rId25.jpg
204 test/media/rId26.jpg
205 test/media/rId27.jpg
206 test/latex-reader.latex
207 test/textile-reader.textile
208 test/markdown-reader-more.txt
209 test/markdown-citations.txt
210 test/textile-reader.textile
211 test/mediawiki-reader.wiki
212 test/vimwiki-reader.wiki
213 test/creole-reader.txt
214 test/creole-reader.native
215 test/rst-reader.rst
216 test/jats-reader.xml
217 test/s5-basic.html
218 test/s5-fancy.html
219 test/s5-fragment.html
220 test/s5-inserts.html
221 test/tables.context
222 test/tables.docbook4
223 test/tables.docbook5
224 test/tables.jats
225 test/tables.dokuwiki
226 test/tables.zimwiki
227 test/tables.icml
228 test/tables.html4
229 test/tables.html5
230 test/tables.latex
231 test/tables.man
232 test/tables.ms
233 test/tables.plain
234 test/tables.markdown
235 test/tables.mediawiki
236 test/tables.tei
237 test/tables.textile
238 test/tables.opendocument
239 test/tables.org
240 test/tables.asciidoc
241 test/tables.haddock
242 test/tables.texinfo
243 test/tables.rst
244 test/tables.rtf
245 test/tables.txt
246 test/tables.fb2
247 test/tables.muse
248 test/tables.custom
249 test/testsuite.txt
250 test/writer.latex
251 test/writer.context
252 test/writer.docbook4
253 test/writer.docbook5
254 test/writer.jats
255 test/writer.html4
256 test/writer.html5
257 test/writer.man
258 test/writer.ms
259 test/writer.markdown
260 test/writer.plain
261 test/writer.mediawiki
262 test/writer.textile
263 test/writer.opendocument
264 test/writer.org
265 test/writer.asciidoc
266 test/writer.haddock
267 test/writer.rst
268 test/writer.icml
269 test/writer.rtf
270 test/writer.tei
271 test/writer.texinfo
272 test/writer.fb2
273 test/writer.opml
274 test/writer.dokuwiki
275 test/writer.zimwiki
276 test/writer.muse
277 test/writer.custom
278 test/writers-lang-and-dir.latex
279 test/writers-lang-and-dir.context
280 test/dokuwiki_inline_formatting.dokuwiki
281 test/lhs-test.markdown
282 test/lhs-test.markdown+lhs
283 test/lhs-test.rst
284 test/lhs-test.rst+lhs
285 test/lhs-test.latex
286 test/lhs-test.latex+lhs
287 test/lhs-test.html
288 test/lhs-test.html+lhs
289 test/lhs-test.fragment.html+lhs
290 test/pipe-tables.txt
291 test/dokuwiki_external_images.dokuwiki
292 test/dokuwiki_external_images.native
293 test/dokuwiki_multiblock_table.dokuwiki
294 test/dokuwiki_multiblock_table.native
295 test/fb2/*.markdown
296 test/fb2/*.fb2
297 test/fb2/images-embedded.html
298 test/fb2/images-embedded.fb2
299 test/fb2/test-small.png
300 test/fb2/test.jpg
301 test/docx/*.docx
302 test/docx/*.native
303 test/epub/*.epub
304 test/epub/*.native
305 test/txt2tags.t2t
306 test/twiki-reader.twiki
307 test/tikiwiki-reader.tikiwiki
308 test/odt/odt/*.odt
309 test/odt/markdown/*.md
310 test/odt/native/*.native
311 test/lua/*.lua
312source-repository head
313 type: git
314 location: git://github.com/jgm/pandoc.git
316flag static
317 Description: Use static linking for pandoc executable.
318 Default: False
320flag embed_data_files
321 Description: Embed data files in binary for relocatable executable.
322 Default: False
324flag trypandoc
325 Description: Build trypandoc cgi executable.
326 Default: False
328flag weigh-pandoc
329 Description: Build weigh-pandoc to measure memory usage.
330 Default: False
332flag network-uri
333 Description: Get Network.URI from the network-uri package
334 Default: True
336flag old-locale
337 Description: Use old-locale and time < 1.5
338 Default: False
340custom-setup
341 setup-depends: base, Cabal
343library
344 build-depends: base >= 4.7 && < 5,
345 syb >= 0.1 && < 0.8,
346 containers >= 0.4.2.1 && < 0.6,
347 unordered-containers >= 0.2 && < 0.3,
348 parsec >= 3.1 && < 3.2,
349 mtl >= 2.2 && < 2.3,
350 filepath >= 1.1 && < 1.5,
351 process >= 1.2.3 && < 1.7,
352 directory >= 1 && < 1.4,
353 bytestring >= 0.9 && < 0.11,
354 text >= 0.11 && < 1.3,
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.10 && < 0.11,
359 xml >= 1.3.12 && < 1.4,
360 split >= 0.2 && < 0.3,
361 random >= 1 && < 1.2,
362 pandoc-types >= 1.17.3 && < 1.18,
363 aeson >= 0.7 && < 1.3,
364 aeson-pretty >= 0.8 && < 0.9,
365 tagsoup >= 0.14.2 && < 0.15,
366 base64-bytestring >= 0.1 && < 1.1,
367 zlib >= 0.5 && < 0.7,
368 skylighting >= 0.5.1 && < 0.6,
369 data-default >= 0.4 && < 0.8,
370 temporary >= 1.1 && < 1.3,
371 blaze-html >= 0.5 && < 0.10,
372 blaze-markup >= 0.5.1 && < 0.9,
373 yaml >= 0.8.8.2 && < 0.9,
374 scientific >= 0.2 && < 0.4,
375 vector >= 0.10 && < 0.13,
376 hslua >= 0.9.5 && < 0.10,
377 hslua-module-text >= 0.1.2 && < 0.2,
378 binary >= 0.5 && < 0.10,
379 SHA >= 1.6 && < 1.7,
380 haddock-library >= 1.1 && < 1.5,
381 deepseq >= 1.3 && < 1.5,
382 JuicyPixels >= 3.1.6.1 && < 3.3,
383 Glob >= 0.7 && < 0.10,
384 cmark-gfm >= 0.1.1 && < 0.2,
385 doctemplates >= 0.2.1 && < 0.3,
386 http-client >= 0.4.30 && < 0.6,
387 http-client-tls >= 0.2.4 && < 0.4,
388 http-types >= 0.8 && < 0.12,
389 case-insensitive >= 1.2 && < 1.3
390 if os(windows)
391 cpp-options: -D_WINDOWS
392 else
393 build-depends: unix >= 2.4 && < 2.8
394 if flag(old-locale)
395 build-depends: old-locale >= 1 && < 1.1,
396 time >= 1.2 && < 1.5
397 else
398 build-depends: time >= 1.5 && < 1.9
399 if flag(network-uri)
400 build-depends: network-uri >= 2.6 && < 2.7, network >= 2.6
401 else
402 build-depends: network >= 2 && < 2.6
403 if flag(embed_data_files)
404 cpp-options: -DEMBED_DATA_FILES
405 build-depends: file-embed >= 0.0 && < 0.1
406 other-modules: Text.Pandoc.Data
407 if os(windows)
408 cpp-options: -D_WINDOWS
409 ghc-options: -Wall -fno-warn-unused-do-bind
410 ghc-prof-options: -fprof-auto-exported
411 default-language: Haskell98
412 other-extensions: PatternGuards, OverloadedStrings,
413 ScopedTypeVariables, GeneralizedNewtypeDeriving,
414 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
415 FlexibleInstances
416 hs-source-dirs: src
417 if impl(ghc < 7.10)
418 hs-source-dirs: prelude
419 other-modules: Prelude
421 exposed-modules: Text.Pandoc,
422 Text.Pandoc.App,
423 Text.Pandoc.Options,
424 Text.Pandoc.Extensions,
425 Text.Pandoc.Pretty,
426 Text.Pandoc.Shared,
427 Text.Pandoc.MediaBag,
428 Text.Pandoc.Error,
429 Text.Pandoc.Readers,
430 Text.Pandoc.Readers.HTML,
431 Text.Pandoc.Readers.LaTeX,
432 Text.Pandoc.Readers.LaTeX.Types,
433 Text.Pandoc.Readers.Markdown,
434 Text.Pandoc.Readers.CommonMark,
435 Text.Pandoc.Readers.Creole,
436 Text.Pandoc.Readers.MediaWiki,
437 Text.Pandoc.Readers.Vimwiki,
438 Text.Pandoc.Readers.RST,
439 Text.Pandoc.Readers.Org,
440 Text.Pandoc.Readers.DocBook,
441 Text.Pandoc.Readers.JATS,
442 Text.Pandoc.Readers.OPML,
443 Text.Pandoc.Readers.Textile,
444 Text.Pandoc.Readers.Native,
445 Text.Pandoc.Readers.Haddock,
446 Text.Pandoc.Readers.TWiki,
447 Text.Pandoc.Readers.TikiWiki,
448 Text.Pandoc.Readers.Txt2Tags,
449 Text.Pandoc.Readers.Docx,
450 Text.Pandoc.Readers.Odt,
451 Text.Pandoc.Readers.EPUB,
452 Text.Pandoc.Readers.Muse,
453 Text.Pandoc.Writers,
454 Text.Pandoc.Writers.Native,
455 Text.Pandoc.Writers.Docbook,
456 Text.Pandoc.Writers.JATS,
457 Text.Pandoc.Writers.OPML,
458 Text.Pandoc.Writers.HTML,
459 Text.Pandoc.Writers.ICML,
460 Text.Pandoc.Writers.LaTeX,
461 Text.Pandoc.Writers.ConTeXt,
462 Text.Pandoc.Writers.OpenDocument,
463 Text.Pandoc.Writers.Texinfo,
464 Text.Pandoc.Writers.Man,
465 Text.Pandoc.Writers.Ms,
466 Text.Pandoc.Writers.Markdown,
467 Text.Pandoc.Writers.CommonMark,
468 Text.Pandoc.Writers.Haddock,
469 Text.Pandoc.Writers.RST,
470 Text.Pandoc.Writers.Org,
471 Text.Pandoc.Writers.AsciiDoc,
472 Text.Pandoc.Writers.Custom,
473 Text.Pandoc.Writers.Textile,
474 Text.Pandoc.Writers.MediaWiki,
475 Text.Pandoc.Writers.DokuWiki,
476 Text.Pandoc.Writers.ZimWiki,
477 Text.Pandoc.Writers.RTF,
478 Text.Pandoc.Writers.ODT,
479 Text.Pandoc.Writers.Docx,
480 Text.Pandoc.Writers.Powerpoint,
481 Text.Pandoc.Writers.EPUB,
482 Text.Pandoc.Writers.FB2,
483 Text.Pandoc.Writers.TEI,
484 Text.Pandoc.Writers.Muse,
485 Text.Pandoc.Writers.Math,
486 Text.Pandoc.Writers.Shared,
487 Text.Pandoc.Writers.OOXML,
488 Text.Pandoc.Lua,
489 Text.Pandoc.PDF,
490 Text.Pandoc.UTF8,
491 Text.Pandoc.Templates,
492 Text.Pandoc.XML,
493 Text.Pandoc.SelfContained,
494 Text.Pandoc.Highlighting,
495 Text.Pandoc.Logging,
496 Text.Pandoc.Process,
497 Text.Pandoc.MIME,
498 Text.Pandoc.Parsing,
499 Text.Pandoc.Asciify,
500 Text.Pandoc.Emoji,
501 Text.Pandoc.ImageSize,
502 Text.Pandoc.BCP47,
503 Text.Pandoc.Class
504 other-modules: 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.Odt.Base,
510 Text.Pandoc.Readers.Odt.Namespaces,
511 Text.Pandoc.Readers.Odt.StyleReader,
512 Text.Pandoc.Readers.Odt.ContentReader,
513 Text.Pandoc.Readers.Odt.Generic.Fallible,
514 Text.Pandoc.Readers.Odt.Generic.SetMap,
515 Text.Pandoc.Readers.Odt.Generic.Utils,
516 Text.Pandoc.Readers.Odt.Generic.Namespaces,
517 Text.Pandoc.Readers.Odt.Generic.XMLConverter,
518 Text.Pandoc.Readers.Odt.Arrows.State,
519 Text.Pandoc.Readers.Odt.Arrows.Utils,
520 Text.Pandoc.Readers.Org.BlockStarts,
521 Text.Pandoc.Readers.Org.Blocks,
522 Text.Pandoc.Readers.Org.DocumentTree,
523 Text.Pandoc.Readers.Org.ExportSettings,
524 Text.Pandoc.Readers.Org.Inlines,
525 Text.Pandoc.Readers.Org.Meta,
526 Text.Pandoc.Readers.Org.ParserState,
527 Text.Pandoc.Readers.Org.Parsing,
528 Text.Pandoc.Readers.Org.Shared,
529 Text.Pandoc.Lua.Filter,
530 Text.Pandoc.Lua.Init,
531 Text.Pandoc.Lua.Module.MediaBag,
532 Text.Pandoc.Lua.Module.Pandoc,
533 Text.Pandoc.Lua.Module.Utils,
534 Text.Pandoc.Lua.Packages,
535 Text.Pandoc.Lua.StackInstances,
536 Text.Pandoc.Lua.Util,
537 Text.Pandoc.CSS,
538 Text.Pandoc.CSV,
539 Text.Pandoc.UUID,
540 Text.Pandoc.Translations,
541 Text.Pandoc.Slides,
542 Text.Pandoc.Compat.Time,
543 Paths_pandoc
545 buildable: True
547executable pandoc
548 build-depends: pandoc, base >= 4.7 && < 5
549 ghc-options: -rtsopts -with-rtsopts=-K16m -Wall -fno-warn-unused-do-bind -threaded
550 ghc-prof-options: -fprof-auto-exported -rtsopts -with-rtsopts=-K16m
551 if flag(static)
552 ld-options: -static
553 default-language: Haskell98
554 other-extensions: PatternGuards, OverloadedStrings,
555 ScopedTypeVariables, GeneralizedNewtypeDeriving,
556 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
557 FlexibleInstances
558 hs-source-dirs: .
559 if impl(ghc < 7.10)
560 hs-source-dirs: prelude
561 other-modules: Prelude
562 main-is: pandoc.hs
563 buildable: True
564 other-modules: Paths_pandoc
566executable trypandoc
567 main-is: trypandoc.hs
568 hs-source-dirs: trypandoc
569 if impl(ghc < 7.10)
570 hs-source-dirs: prelude
571 other-modules: Prelude
572 default-language: Haskell2010
573 if flag(trypandoc)
574 build-depends: base, aeson, pandoc,
575 text, wai-extra, wai >= 0.3, http-types
576 buildable: True
577 else
578 buildable: False
580executable weigh-pandoc
581 main-is: weigh-pandoc.hs
582 hs-source-dirs: benchmark
583 if impl(ghc < 7.10)
584 hs-source-dirs: prelude
585 other-modules: Prelude
586 if flag(weigh-pandoc)
587 build-depends: pandoc,
588 base >= 4.2 && < 5,
589 text,
590 weigh >= 0.0 && < 0.1,
591 mtl >= 2.2 && < 2.3
592 buildable: True
593 else
594 buildable: False
595 ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind
596 default-language: Haskell98
598test-suite test-pandoc
599 type: exitcode-stdio-1.0
600 main-is: test-pandoc.hs
601 hs-source-dirs: test
602 if impl(ghc < 7.10)
603 hs-source-dirs: prelude
604 other-modules: Prelude
605 build-depends: base >= 4.2 && < 5,
606 pandoc,
607 pandoc-types >= 1.17.3 && < 1.18,
608 bytestring >= 0.9 && < 0.11,
609 base64-bytestring >= 0.1 && < 1.1,
610 text >= 0.11 && < 1.3,
611 time >= 1.5 && < 1.9,
612 directory >= 1 && < 1.4,
613 filepath >= 1.1 && < 1.5,
614 hslua >= 0.9 && < 0.10,
615 process >= 1.2.3 && < 1.7,
616 temporary >= 1.1 && < 1.3,
617 Diff >= 0.2 && < 0.4,
618 tasty >= 0.11 && < 0.13,
619 tasty-hunit >= 0.9 && < 0.11,
620 tasty-quickcheck >= 0.8 && < 0.10,
621 tasty-golden >= 2.3 && < 2.4,
622 QuickCheck >= 2.4 && < 2.11,
623 containers >= 0.4.2.1 && < 0.6,
624 executable-path >= 0.0 && < 0.1,
625 zip-archive >= 0.2.3.4 && < 0.4,
626 xml >= 1.3.12 && < 1.4
627 if flag(old-locale)
628 build-depends: old-locale >= 1 && < 1.1,
629 time >= 1.2 && < 1.5
630 else
631 build-depends: time >= 1.5 && < 1.9
632 other-modules: Tests.Old
633 Tests.Command
634 Tests.Helpers
635 Tests.Lua
636 Tests.Shared
637 Tests.Readers.LaTeX
638 Tests.Readers.HTML
639 Tests.Readers.JATS
640 Tests.Readers.Markdown
641 Tests.Readers.Org
642 Tests.Readers.Org.Block
643 Tests.Readers.Org.Block.CodeBlock
644 Tests.Readers.Org.Block.Figure
645 Tests.Readers.Org.Block.Header
646 Tests.Readers.Org.Block.List
647 Tests.Readers.Org.Block.Table
648 Tests.Readers.Org.Directive
649 Tests.Readers.Org.Inline
650 Tests.Readers.Org.Inline.Note
651 Tests.Readers.Org.Inline.Smart
652 Tests.Readers.Org.Meta
653 Tests.Readers.Org.Shared
654 Tests.Readers.RST
655 Tests.Readers.Docx
656 Tests.Readers.Odt
657 Tests.Readers.Txt2Tags
658 Tests.Readers.EPUB
659 Tests.Readers.Muse
660 Tests.Readers.Creole
661 Tests.Writers.Native
662 Tests.Writers.ConTeXt
663 Tests.Writers.Docbook
664 Tests.Writers.HTML
665 Tests.Writers.JATS
666 Tests.Writers.Markdown
667 Tests.Writers.Org
668 Tests.Writers.Plain
669 Tests.Writers.AsciiDoc
670 Tests.Writers.LaTeX
671 Tests.Writers.Docx
672 Tests.Writers.RST
673 Tests.Writers.TEI
674 Tests.Writers.Muse
675 Tests.Writers.FB2
676 Tests.Writers.Powerpoint
677 ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind -threaded
678 default-language: Haskell98
680benchmark benchmark-pandoc
681 type: exitcode-stdio-1.0
682 main-is: benchmark-pandoc.hs
683 hs-source-dirs: benchmark
684 if impl(ghc < 7.10)
685 hs-source-dirs: prelude
686 other-modules: Prelude
687 build-depends: pandoc,
688 time, bytestring, containers,
689 base >= 4.2 && < 5,
690 text >= 0.11 && < 1.3,
691 criterion >= 1.0 && < 1.3
692 ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind
693 default-language: Haskell98