Add a faux pandoc package (for conflicts)
[cabal.git] / cabal-testsuite / PackageTests / ShortRejections / repo / pandoc-2.16.1 / pandoc.cabal
blob695edb3490810670c8806ea14a25acac783407de
1 cabal-version:   2.2
2 name:            pandoc
3 version:         2.16.1
4 build-type:      Simple
5 license:         GPL-2.0-or-later
6 license-file:    COPYING.md
7 copyright:       (c) 2006-2021 John MacFarlane
8 author:          John MacFarlane <jgm@berkeley.edu>
9 maintainer:      John MacFarlane <jgm@berkeley.edu>
10 bug-reports:     https://github.com/jgm/pandoc/issues
11 stability:       alpha
12 homepage:        https://pandoc.org
13 category:        Text
14 tested-with:     GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.5,
15                  GHC == 8.8.4, GHC == 8.10.2, GHC == 9.0.1
16 synopsis:        Conversion between markup formats
17 description:     Pandoc is a Haskell library for converting from one markup
18                  format to another, and a command-line tool that uses
19                  this library. It can read several dialects of Markdown and
20                  (subsets of) HTML, reStructuredText, LaTeX, DocBook, JATS,
21                  MediaWiki markup, DokuWiki markup, TWiki markup,
22                  TikiWiki markup, Jira markup, Creole 1.0, Haddock markup,
23                  OPML, Emacs Org-Mode, Emacs Muse, txt2tags, ipynb (Jupyter
24                  notebooks), Vimwiki, Word Docx, ODT, EPUB, FictionBook2,
25                  roff man, Textile, BibTeX, BibLaTeX, CSL JSON,
26                  , and CSV, and it can write Markdown,
27                  reStructuredText, XHTML, HTML 5, LaTeX, ConTeXt, DocBook,
28                  JATS, OPML, TEI, OpenDocument, ODT, Word docx,
29                  PowerPoint pptx, RTF, MediaWiki, DokuWiki, XWiki,
30                  ZimWiki, Textile, Jira, roff man, roff ms, plain text,
31                  Emacs Org-Mode, AsciiDoc, Haddock markup,
32                  EPUB (v2 and v3), ipynb, FictionBook2,
33                  InDesign ICML, Muse, CSL JSON, LaTeX beamer slides,
34                  and several kinds of HTML/JavaScript slide shows
35                  (S5, Slidy, Slideous, DZSlides, reveal.js).
36                  .
37                  In contrast to most existing tools for converting Markdown
38                  to HTML, pandoc has a modular design: it consists of a set of
39                  readers, which parse text in a given format and produce a
40                  native representation of the document, and a set of writers,
41                  which convert this native representation into a target
42                  format. Thus, adding an input or output format requires
43                  only adding a reader or writer.
44 data-files:
45                  -- templates
46                  data/templates/styles.html
47                  data/templates/default.html4
48                  data/templates/default.html5
49                  data/templates/default.docbook4
50                  data/templates/default.docbook5
51                  data/templates/default.jats_archiving
52                  data/templates/default.jats_articleauthoring
53                  data/templates/default.jats_publishing
54                  data/templates/default.tei
55                  data/templates/default.opendocument
56                  data/templates/default.icml
57                  data/templates/default.opml
58                  data/templates/default.latex
59                  data/templates/default.bibtex
60                  data/templates/default.biblatex
61                  data/templates/default.context
62                  data/templates/default.texinfo
63                  data/templates/default.jira
64                  data/templates/default.man
65                  data/templates/default.ms
66                  data/templates/default.markdown
67                  data/templates/default.muse
68                  data/templates/default.commonmark
69                  data/templates/default.rst
70                  data/templates/default.plain
71                  data/templates/default.mediawiki
72                  data/templates/default.dokuwiki
73                  data/templates/default.xwiki
74                  data/templates/default.zimwiki
75                  data/templates/default.rtf
76                  data/templates/default.s5
77                  data/templates/default.slidy
78                  data/templates/default.slideous
79                  data/templates/default.revealjs
80                  data/templates/default.dzslides
81                  data/templates/default.asciidoc
82                  data/templates/default.asciidoctor
83                  data/templates/default.haddock
84                  data/templates/default.textile
85                  data/templates/default.org
86                  data/templates/default.epub2
87                  data/templates/default.epub3
88                  data/templates/article.jats_publishing
89                  data/templates/affiliations.jats
90                  -- translations
91                  data/translations/*.yaml
92                  -- source files for reference.docx
93                  data/docx/[Content_Types].xml
94                  data/docx/_rels/.rels
95                  data/docx/docProps/app.xml
96                  data/docx/docProps/core.xml
97                  data/docx/docProps/custom.xml
98                  data/docx/word/document.xml
99                  data/docx/word/fontTable.xml
100                  data/docx/word/comments.xml
101                  data/docx/word/footnotes.xml
102                  data/docx/word/numbering.xml
103                  data/docx/word/settings.xml
104                  data/docx/word/webSettings.xml
105                  data/docx/word/styles.xml
106                  data/docx/word/_rels/document.xml.rels
107                  data/docx/word/_rels/footnotes.xml.rels
108                  data/docx/word/theme/theme1.xml
109                  -- source files for reference.odt
110                  data/odt/mimetype
111                  data/odt/manifest.rdf
112                  data/odt/styles.xml
113                  data/odt/content.xml
114                  data/odt/meta.xml
115                  data/odt/settings.xml
116                  data/odt/Configurations2/accelerator/current.xml
117                  data/odt/Thumbnails/thumbnail.png
118                  data/odt/META-INF/manifest.xml
119                  -- source files for reference.pptx
120                  data/pptx/_rels/.rels
121                  data/pptx/docProps/app.xml
122                  data/pptx/docProps/core.xml
123                  data/pptx/ppt/slideLayouts/_rels/slideLayout1.xml.rels
124                  data/pptx/ppt/slideLayouts/_rels/slideLayout2.xml.rels
125                  data/pptx/ppt/slideLayouts/_rels/slideLayout3.xml.rels
126                  data/pptx/ppt/slideLayouts/_rels/slideLayout4.xml.rels
127                  data/pptx/ppt/slideLayouts/_rels/slideLayout5.xml.rels
128                  data/pptx/ppt/slideLayouts/_rels/slideLayout6.xml.rels
129                  data/pptx/ppt/slideLayouts/_rels/slideLayout7.xml.rels
130                  data/pptx/ppt/slideLayouts/_rels/slideLayout8.xml.rels
131                  data/pptx/ppt/slideLayouts/_rels/slideLayout9.xml.rels
132                  data/pptx/ppt/slideLayouts/_rels/slideLayout10.xml.rels
133                  data/pptx/ppt/slideLayouts/_rels/slideLayout11.xml.rels
134                  data/pptx/ppt/slideLayouts/slideLayout1.xml
135                  data/pptx/ppt/slideLayouts/slideLayout2.xml
136                  data/pptx/ppt/slideLayouts/slideLayout3.xml
137                  data/pptx/ppt/slideLayouts/slideLayout4.xml
138                  data/pptx/ppt/slideLayouts/slideLayout5.xml
139                  data/pptx/ppt/slideLayouts/slideLayout6.xml
140                  data/pptx/ppt/slideLayouts/slideLayout7.xml
141                  data/pptx/ppt/slideLayouts/slideLayout8.xml
142                  data/pptx/ppt/slideLayouts/slideLayout9.xml
143                  data/pptx/ppt/slideLayouts/slideLayout10.xml
144                  data/pptx/ppt/slideLayouts/slideLayout11.xml
145                  data/pptx/ppt/_rels/presentation.xml.rels
146                  data/pptx/ppt/theme/theme1.xml
147                  data/pptx/ppt/presProps.xml
148                  data/pptx/ppt/slides/_rels/slide1.xml.rels
149                  data/pptx/ppt/slides/_rels/slide2.xml.rels
150                  data/pptx/ppt/slides/slide2.xml
151                  data/pptx/ppt/slides/slide1.xml
152                  data/pptx/ppt/slides/_rels/slide3.xml.rels
153                  data/pptx/ppt/slides/_rels/slide4.xml.rels
154                  data/pptx/ppt/slides/slide3.xml
155                  data/pptx/ppt/slides/slide4.xml
156                  data/pptx/ppt/viewProps.xml
157                  data/pptx/ppt/tableStyles.xml
158                  data/pptx/ppt/slideMasters/_rels/slideMaster1.xml.rels
159                  data/pptx/ppt/slideMasters/slideMaster1.xml
160                  data/pptx/ppt/presentation.xml
161                  data/pptx/ppt/notesMasters/_rels/notesMaster1.xml.rels
162                  data/pptx/ppt/notesMasters/notesMaster1.xml
163                  data/pptx/ppt/notesSlides/_rels/notesSlide1.xml.rels
164                  data/pptx/ppt/notesSlides/notesSlide1.xml
165                  data/pptx/ppt/notesSlides/_rels/notesSlide2.xml.rels
166                  data/pptx/ppt/notesSlides/notesSlide2.xml
167                  data/pptx/ppt/theme/theme2.xml
168                  data/pptx/[Content_Types].xml
169                   -- stylesheet for EPUB writer
170                  data/epub.css
171                  -- data for dzslides writer
172                  data/dzslides/template.html
173                  -- default abbreviations file
174                  data/abbreviations
175                  -- sample lua custom writer
176                  data/sample.lua
177                  -- lua init script
178                  data/init.lua
179                  -- pandoc lua module
180                  data/pandoc.lua
181                  -- lua List module
182                  data/pandoc.List.lua
183                  -- bash completion template
184                  data/bash_completion.tpl
185                  -- citeproc
186                  data/default.csl
187                  citeproc/biblatex-localization/*.lbx.strings
188                  -- documentation
189                  MANUAL.txt, COPYRIGHT
190 extra-source-files:
191                  -- documentation
192                  INSTALL.md, AUTHORS.md, README.md,
193                  CONTRIBUTING.md, BUGS, changelog.md,
194                  man/pandoc.1
195                  -- cabal and stack build plans
196                  cabal.project
197                  stack.yaml
198                  -- files needed to build man page
199                  man/manfilter.lua
200                  man/pandoc.1.before
201                  man/pandoc.1.after
202                  -- trypandoc
203                  trypandoc/Makefile
204                  trypandoc/index.html
205                  -- tests
206                  test/bodybg.gif
207                  test/*.native
208                  test/command/*.md
209                  test/command/*.csl
210                  test/command/biblio.bib
211                  test/command/averroes.bib
212                  test/command/A.txt
213                  test/command/B.txt
214                  test/command/C.txt
215                  test/command/D.txt
216                  test/command/three.txt
217                  test/command/01.csv
218                  test/command/chap1/spider.png
219                  test/command/chap2/spider.png
220                  test/command/chap1/text.md
221                  test/command/chap2/text.md
222                  test/command/defaults1.yaml
223                  test/command/defaults2.yaml
224                  test/command/defaults3.yaml
225                  test/command/defaults4.yaml
226                  test/command/defaults5.yaml
227                  test/command/defaults6.yaml
228                  test/command/defaults7.yaml
229                  test/command/defaults8.yaml
230                  test/command/defaults9.yaml
231                  test/command/3533-rst-csv-tables.csv
232                  test/command/3880.txt
233                  test/command/5182.txt
234                  test/command/5700-metadata-file-1.yml
235                  test/command/5700-metadata-file-2.yml
236                  test/command/abbrevs
237                  test/command/SVG_logo-without-xml-declaration.svg
238                  test/command/SVG_logo.svg
239                  test/command/corrupt.svg
240                  test/command/inkscape-cube.svg
241                  test/command/lua-pandoc-state.lua
242                  test/command/sub-file-chapter-1.tex
243                  test/command/sub-file-chapter-2.tex
244                  test/command/bar.tex
245                  test/command/bar-endinput.tex
246                  test/command/yaml-metadata.yaml
247                  test/command/3510-subdoc.org
248                  test/command/3510-export.latex
249                  test/command/3510-src.hs
250                  test/command/3971b.tex
251                  test/docbook-chapter.docbook
252                  test/docbook-reader.docbook
253                  test/docbook-xref.docbook
254                  test/html-reader.html
255                  test/opml-reader.opml
256                  test/org-select-tags.org
257                  test/haddock-reader.haddock
258                  test/insert
259                  test/lalune.jpg
260                  test/man-reader.man
261                  test/movie.jpg
262                  test/media/rId25.jpg
263                  test/media/rId26.jpg
264                  test/media/rId27.jpg
265                  test/latex-reader.latex
266                  test/textile-reader.textile
267                  test/markdown-reader-more.txt
268                  test/markdown-citations.txt
269                  test/textile-reader.textile
270                  test/mediawiki-reader.wiki
271                  test/vimwiki-reader.wiki
272                  test/creole-reader.txt
273                  test/rst-reader.rst
274                  test/jats-reader.xml
275                  test/jira-reader.jira
276                  test/s5-basic.html
277                  test/s5-fancy.html
278                  test/s5-fragment.html
279                  test/s5-inserts.html
280                  test/tables.context
281                  test/tables.docbook4
282                  test/tables.docbook5
283                  test/tables.jats_archiving
284                  test/tables.jats_articleauthoring
285                  test/tables.jats_publishing
286                  test/tables.jira
287                  test/tables.dokuwiki
288                  test/tables.zimwiki
289                  test/tables.icml
290                  test/tables.html4
291                  test/tables.html5
292                  test/tables.latex
293                  test/tables.man
294                  test/tables.ms
295                  test/tables.plain
296                  test/tables.markdown
297                  test/tables.mediawiki
298                  test/tables.tei
299                  test/tables.textile
300                  test/tables.opendocument
301                  test/tables.org
302                  test/tables.asciidoc
303                  test/tables.asciidoctor
304                  test/tables.haddock
305                  test/tables.texinfo
306                  test/tables.rst
307                  test/tables.rtf
308                  test/tables.txt
309                  test/tables.fb2
310                  test/tables.muse
311                  test/tables.custom
312                  test/tables.xwiki
313                  test/tables/*.html4
314                  test/tables/*.html5
315                  test/tables/*.latex
316                  test/tables/*.native
317                  test/tables/*.jats_archiving
318                  test/testsuite.txt
319                  test/writer.latex
320                  test/writer.context
321                  test/writer.docbook4
322                  test/writer.docbook5
323                  test/writer.jats_archiving
324                  test/writer.jats_articleauthoring
325                  test/writer.jats_publishing
326                  test/writer.jira
327                  test/writer.html4
328                  test/writer.html5
329                  test/writer.man
330                  test/writer.ms
331                  test/writer.markdown
332                  test/writer.plain
333                  test/writer.mediawiki
334                  test/writer.textile
335                  test/writer.opendocument
336                  test/writer.org
337                  test/writer.asciidoc
338                  test/writer.asciidoctor
339                  test/writer.haddock
340                  test/writer.rst
341                  test/writer.icml
342                  test/writer.rtf
343                  test/writer.tei
344                  test/writer.texinfo
345                  test/writer.fb2
346                  test/writer.opml
347                  test/writer.dokuwiki
348                  test/writer.zimwiki
349                  test/writer.xwiki
350                  test/writer.muse
351                  test/writer.custom
352                  test/writers-lang-and-dir.latex
353                  test/writers-lang-and-dir.context
354                  test/dokuwiki_inline_formatting.dokuwiki
355                  test/lhs-test.markdown
356                  test/lhs-test.markdown+lhs
357                  test/lhs-test.rst
358                  test/lhs-test.rst+lhs
359                  test/lhs-test.latex
360                  test/lhs-test.latex+lhs
361                  test/lhs-test.html
362                  test/lhs-test.html+lhs
363                  test/lhs-test.fragment.html+lhs
364                  test/pipe-tables.txt
365                  test/dokuwiki_external_images.dokuwiki
366                  test/dokuwiki_multiblock_table.dokuwiki
367                  test/fb2/*.markdown
368                  test/fb2/*.fb2
369                  test/fb2/images-embedded.html
370                  test/fb2/images-embedded.fb2
371                  test/fb2/test-small.png
372                  test/fb2/reader/*.fb2
373                  test/fb2/reader/*.native
374                  test/fb2/test.jpg
375                  test/docx/*.docx
376                  test/docx/golden/*.docx
377                  test/docx/*.native
378                  test/epub/*.epub
379                  test/epub/*.native
380                  test/rtf/*.native
381                  test/rtf/*.rtf
382                  test/pptx/*.pptx
383                  test/pptx/background-image/input.native
384                  test/pptx/background-image/*.pptx
385                  test/pptx/blanks/just-speaker-notes/input.native
386                  test/pptx/blanks/just-speaker-notes/*.pptx
387                  test/pptx/blanks/nbsp-in-body/input.native
388                  test/pptx/blanks/nbsp-in-body/*.pptx
389                  test/pptx/blanks/nbsp-in-heading/input.native
390                  test/pptx/blanks/nbsp-in-heading/*.pptx
391                  test/pptx/code-custom/*.pptx
392                  test/pptx/code/input.native
393                  test/pptx/code/*.pptx
394                  test/pptx/content-with-caption/heading-text-image/input.native
395                  test/pptx/content-with-caption/heading-text-image/*.pptx
396                  test/pptx/content-with-caption/image-text/input.native
397                  test/pptx/content-with-caption/image-text/*.pptx
398                  test/pptx/content-with-caption/text-image/input.native
399                  test/pptx/content-with-caption/text-image/*.pptx
400                  test/pptx/comparison/both-columns/input.native
401                  test/pptx/comparison/both-columns/*.pptx
402                  test/pptx/comparison/extra-image/input.native
403                  test/pptx/comparison/extra-image/*.pptx
404                  test/pptx/comparison/extra-text/input.native
405                  test/pptx/comparison/extra-text/*.pptx
406                  test/pptx/comparison/non-text-first/input.native
407                  test/pptx/comparison/non-text-first/*.pptx
408                  test/pptx/comparison/one-column/input.native
409                  test/pptx/comparison/one-column/*.pptx
410                  test/pptx/document-properties-short-desc/input.native
411                  test/pptx/document-properties-short-desc/*.pptx
412                  test/pptx/document-properties/input.native
413                  test/pptx/document-properties/*.pptx
414                  test/pptx/endnotes-toc/*.pptx
415                  test/pptx/endnotes/input.native
416                  test/pptx/endnotes/*.pptx
417                  test/pptx/footer/input.native
418                  test/pptx/footer/basic/*.pptx
419                  test/pptx/footer/fixed-date/*.pptx
420                  test/pptx/footer/higher-slide-number/*.pptx
421                  test/pptx/footer/no-title-slide/*.pptx
422                  test/pptx/images/input.native
423                  test/pptx/images/*.pptx
424                  test/pptx/incremental-lists/with-flag/input.native
425                  test/pptx/incremental-lists/with-flag/*.pptx
426                  test/pptx/incremental-lists/without-flag/input.native
427                  test/pptx/incremental-lists/without-flag/*.pptx
428                  test/pptx/inline-formatting/input.native
429                  test/pptx/inline-formatting/*.pptx
430                  test/pptx/lists/input.native
431                  test/pptx/lists/*.pptx
432                  test/pptx/list-level/input.native
433                  test/pptx/list-level/*.pptx
434                  test/pptx/raw-ooxml/input.native
435                  test/pptx/raw-ooxml/*.pptx
436                  test/pptx/remove-empty-slides/input.native
437                  test/pptx/remove-empty-slides/*.pptx
438                  test/pptx/slide-breaks-slide-level-1/*.pptx
439                  test/pptx/slide-breaks-toc/*.pptx
440                  test/pptx/slide-breaks/input.native
441                  test/pptx/slide-breaks/*.pptx
442                  test/pptx/slide-level-0/h1-h2-with-table/input.native
443                  test/pptx/slide-level-0/h1-h2-with-table/*.pptx
444                  test/pptx/slide-level-0/h1-with-image/input.native
445                  test/pptx/slide-level-0/h1-with-image/*.pptx
446                  test/pptx/slide-level-0/h1-with-table/input.native
447                  test/pptx/slide-level-0/h1-with-table/*.pptx
448                  test/pptx/slide-level-0/h2-with-image/input.native
449                  test/pptx/slide-level-0/h2-with-image/*.pptx
450                  test/pptx/speaker-notes-after-metadata/input.native
451                  test/pptx/speaker-notes-after-metadata/*.pptx
452                  test/pptx/speaker-notes-afterheader/input.native
453                  test/pptx/speaker-notes-afterheader/*.pptx
454                  test/pptx/speaker-notes-afterseps/input.native
455                  test/pptx/speaker-notes-afterseps/*.pptx
456                  test/pptx/speaker-notes/input.native
457                  test/pptx/speaker-notes/*.pptx
458                  test/pptx/start-numbering-at/input.native
459                  test/pptx/start-numbering-at/*.pptx
460                  test/pptx/tables/input.native
461                  test/pptx/tables/*.pptx
462                  test/pptx/two-column/all-text/input.native
463                  test/pptx/two-column/all-text/*.pptx
464                  test/pptx/two-column/text-and-image/input.native
465                  test/pptx/two-column/text-and-image/*.pptx
466                  test/ipynb/*.in.native
467                  test/ipynb/*.out.native
468                  test/ipynb/*.ipynb
469                  test/txt2tags.t2t
470                  test/twiki-reader.twiki
471                  test/tikiwiki-reader.tikiwiki
472                  test/odt/odt/*.odt
473                  test/odt/markdown/*.md
474                  test/odt/native/*.native
475                  test/lua/*.lua
476                  test/lua/module/*.lua
477 source-repository head
478   type:          git
479   location:      git://github.com/jgm/pandoc.git
481 flag embed_data_files
482   Description:   Embed data files in binary for relocatable executable.
483   Default:       False
485 flag trypandoc
486   Description:   Build trypandoc cgi executable.
487   Default:       False
489 common common-options
490   default-language: Haskell2010
491   build-depends:    base         >= 4.9 && < 5
492   ghc-options:      -Wall -fno-warn-unused-do-bind
493                     -Wincomplete-record-updates
494                     -Wnoncanonical-monad-instances
496   if impl(ghc < 8.6)
497     hs-source-dirs:   prelude
498     other-modules:    Prelude
499     build-depends:    base-compat >= 0.10.5
500     other-extensions: NoImplicitPrelude
502   if os(windows)
503     cpp-options:      -D_WINDOWS
505   -- Later:
506   -- -Wpartial-fields        (currently used in Powerpoint writer)
507   -- -Wmissing-export-lists  (currently some Odt modules violate this)
508   -- -Wredundant-constraints (problematic if we want to support older base)
509   if impl(ghc >= 8.2)
510     ghc-options:      -Wcpp-undef
511   if impl(ghc >= 8.4)
512     ghc-options:      -Wincomplete-uni-patterns
513                       -Widentities
514                       -fhide-source-paths
516 common common-executable
517   import:           common-options
518   build-depends:    pandoc
519   ghc-options:      -rtsopts -with-rtsopts=-A8m -threaded
522 library
523   import:        common-options
524   build-depends: Glob                  >= 0.7      && < 0.11,
525                  JuicyPixels           >= 3.1.6.1  && < 3.4,
526                  SHA                   >= 1.6      && < 1.7,
527                  aeson                 >= 0.7      && < 2.1,
528                  aeson-pretty          >= 0.8.9    && < 0.9,
529                  array                 >= 0.5      && < 0.6,
530                  attoparsec            >= 0.12     && < 0.15,
531                  base64-bytestring     >= 0.1      && < 1.3,
532                  binary                >= 0.7      && < 0.11,
533                  blaze-html            >= 0.9      && < 0.10,
534                  blaze-markup          >= 0.8      && < 0.9,
535                  bytestring            >= 0.9      && < 0.12,
536                  case-insensitive      >= 1.2      && < 1.3,
537                  citeproc              >= 0.6      && < 0.7,
538                  commonmark            >= 0.2.1.1  && < 0.3,
539                  commonmark-extensions >= 0.2.2    && < 0.3,
540                  commonmark-pandoc     >= 0.2.1.1  && < 0.3,
541                  connection            >= 0.3.1,
542                  containers            >= 0.4.2.1  && < 0.7,
543                  data-default          >= 0.4      && < 0.8,
544                  deepseq               >= 1.3      && < 1.5,
545                  directory             >= 1.2.3    && < 1.4,
546                  doclayout             >= 0.3.1.1  && < 0.4,
547                  doctemplates          >= 0.10     && < 0.11,
548                  emojis                >= 0.1      && < 0.2,
549                  exceptions            >= 0.8      && < 0.11,
550                  file-embed            >= 0.0      && < 0.1,
551                  filepath              >= 1.1      && < 1.5,
552                  haddock-library       >= 1.10     && < 1.11,
553                  hslua                 >= 2.0      && < 2.1,
554                  hslua-marshalling     >= 2.0      && < 2.1,
555                  hslua-module-path     >= 1.0      && < 1.1,
556                  hslua-module-system   >= 1.0      && < 1.1,
557                  hslua-module-text     >= 1.0      && < 1.1,
558                  hslua-module-version  >= 1.0      && < 1.1,
559                  http-client           >= 0.4.30   && < 0.8,
560                  http-client-tls       >= 0.2.4    && < 0.4,
561                  http-types            >= 0.8      && < 0.13,
562                  ipynb                 >= 0.1.0.2  && < 0.2,
563                  jira-wiki-markup      >= 1.4      && < 1.5,
564                  mtl                   >= 2.2      && < 2.3,
565                  network               >= 2.6,
566                  network-uri           >= 2.6      && < 2.8,
567                  pandoc-types          >= 1.22.1   && < 1.23,
568                  parsec                >= 3.1      && < 3.2,
569                  pretty                >= 1.1      && < 1.2,
570                  pretty-show           >= 1.10     && < 1.11,
571                  process               >= 1.2.3    && < 1.7,
572                  random                >= 1        && < 1.3,
573                  safe                  >= 0.3.18   && < 0.4,
574                  scientific            >= 0.3      && < 0.4,
575                  skylighting           >= 0.12.1   && < 0.13,
576                  skylighting-core      >= 0.12.1   && < 0.13,
577                  split                 >= 0.2      && < 0.3,
578                  syb                   >= 0.1      && < 0.8,
579                  tagsoup               >= 0.14.6   && < 0.15,
580                  temporary             >= 1.1      && < 1.4,
581                  texmath               >= 0.12.3.2 && < 0.12.4,
582                  text                  >= 1.1.1.0  && < 1.3,
583                  text-conversions      >= 0.3      && < 0.4,
584                  time                  >= 1.5      && < 1.14,
585                  unicode-collation     >= 0.1.1    && < 0.2,
586                  unicode-transforms    >= 0.3      && < 0.4,
587                  xml                   >= 1.3.12   && < 1.4,
588                  xml-conduit           >= 1.9.1.1  && < 1.10,
589                  yaml                  >= 0.11     && < 0.12,
590                  zip-archive           >= 0.2.3.4  && < 0.5,
591                  zlib                  >= 0.5      && < 0.7
592   if os(windows) && arch(i386)
593      build-depends: basement >= 0.0.10,
594                     foundation >= 0.0.23
595                     -- basement 0.0.9 won't build on 32-bit windows.
596   if !os(windows)
597     build-depends:  unix >= 2.4 && < 2.8
598   if flag(embed_data_files)
599      cpp-options:   -DEMBED_DATA_FILES
600      other-modules: Text.Pandoc.Data
601   hs-source-dirs:  src
603   exposed-modules: Text.Pandoc,
604                    Text.Pandoc.App,
605                    Text.Pandoc.Options,
606                    Text.Pandoc.Extensions,
607                    Text.Pandoc.Shared,
608                    Text.Pandoc.Sources,
609                    Text.Pandoc.MediaBag,
610                    Text.Pandoc.Error,
611                    Text.Pandoc.Filter,
612                    Text.Pandoc.Readers,
613                    Text.Pandoc.Readers.HTML,
614                    Text.Pandoc.Readers.LaTeX,
615                    Text.Pandoc.Readers.Markdown,
616                    Text.Pandoc.Readers.CommonMark,
617                    Text.Pandoc.Readers.Creole,
618                    Text.Pandoc.Readers.BibTeX,
619                    Text.Pandoc.Readers.CslJson,
620                    Text.Pandoc.Readers.MediaWiki,
621                    Text.Pandoc.Readers.Vimwiki,
622                    Text.Pandoc.Readers.RST,
623                    Text.Pandoc.Readers.Org,
624                    Text.Pandoc.Readers.DocBook,
625                    Text.Pandoc.Readers.JATS,
626                    Text.Pandoc.Readers.Jira,
627                    Text.Pandoc.Readers.OPML,
628                    Text.Pandoc.Readers.Textile,
629                    Text.Pandoc.Readers.Native,
630                    Text.Pandoc.Readers.Haddock,
631                    Text.Pandoc.Readers.TWiki,
632                    Text.Pandoc.Readers.TikiWiki,
633                    Text.Pandoc.Readers.Txt2Tags,
634                    Text.Pandoc.Readers.Docx,
635                    Text.Pandoc.Readers.Odt,
636                    Text.Pandoc.Readers.EPUB,
637                    Text.Pandoc.Readers.Muse,
638                    Text.Pandoc.Readers.Man,
639                    Text.Pandoc.Readers.FB2,
640                    Text.Pandoc.Readers.DokuWiki,
641                    Text.Pandoc.Readers.Ipynb,
642                    Text.Pandoc.Readers.CSV,
643                    Text.Pandoc.Readers.RTF,
644                    Text.Pandoc.Writers,
645                    Text.Pandoc.Writers.Native,
646                    Text.Pandoc.Writers.Docbook,
647                    Text.Pandoc.Writers.JATS,
648                    Text.Pandoc.Writers.OPML,
649                    Text.Pandoc.Writers.HTML,
650                    Text.Pandoc.Writers.Ipynb,
651                    Text.Pandoc.Writers.ICML,
652                    Text.Pandoc.Writers.Jira,
653                    Text.Pandoc.Writers.LaTeX,
654                    Text.Pandoc.Writers.ConTeXt,
655                    Text.Pandoc.Writers.OpenDocument,
656                    Text.Pandoc.Writers.Texinfo,
657                    Text.Pandoc.Writers.Man,
658                    Text.Pandoc.Writers.Ms,
659                    Text.Pandoc.Writers.Markdown,
660                    Text.Pandoc.Writers.CommonMark,
661                    Text.Pandoc.Writers.Haddock,
662                    Text.Pandoc.Writers.RST,
663                    Text.Pandoc.Writers.Org,
664                    Text.Pandoc.Writers.AsciiDoc,
665                    Text.Pandoc.Writers.Custom,
666                    Text.Pandoc.Writers.Textile,
667                    Text.Pandoc.Writers.MediaWiki,
668                    Text.Pandoc.Writers.DokuWiki,
669                    Text.Pandoc.Writers.XWiki,
670                    Text.Pandoc.Writers.ZimWiki,
671                    Text.Pandoc.Writers.RTF,
672                    Text.Pandoc.Writers.ODT,
673                    Text.Pandoc.Writers.Docx,
674                    Text.Pandoc.Writers.Powerpoint,
675                    Text.Pandoc.Writers.EPUB,
676                    Text.Pandoc.Writers.FB2,
677                    Text.Pandoc.Writers.TEI,
678                    Text.Pandoc.Writers.Muse,
679                    Text.Pandoc.Writers.CslJson,
680                    Text.Pandoc.Writers.Math,
681                    Text.Pandoc.Writers.Shared,
682                    Text.Pandoc.Writers.OOXML,
683                    Text.Pandoc.Writers.AnnotatedTable,
684                    Text.Pandoc.Writers.BibTeX,
685                    Text.Pandoc.Lua,
686                    Text.Pandoc.PDF,
687                    Text.Pandoc.UTF8,
688                    Text.Pandoc.Templates,
689                    Text.Pandoc.XML,
690                    Text.Pandoc.SelfContained,
691                    Text.Pandoc.Highlighting,
692                    Text.Pandoc.Logging,
693                    Text.Pandoc.Process,
694                    Text.Pandoc.MIME,
695                    Text.Pandoc.Parsing,
696                    Text.Pandoc.Asciify,
697                    Text.Pandoc.Emoji,
698                    Text.Pandoc.ImageSize,
699                    Text.Pandoc.Class,
700                    Text.Pandoc.Citeproc
701   other-modules:   Text.Pandoc.App.CommandLineOptions,
702                    Text.Pandoc.App.FormatHeuristics,
703                    Text.Pandoc.App.Opt,
704                    Text.Pandoc.App.OutputSettings,
705                    Text.Pandoc.Class.CommonState,
706                    Text.Pandoc.Class.IO,
707                    Text.Pandoc.Class.PandocMonad,
708                    Text.Pandoc.Class.PandocIO,
709                    Text.Pandoc.Class.PandocPure,
710                    Text.Pandoc.Class.Sandbox,
711                    Text.Pandoc.Filter.JSON,
712                    Text.Pandoc.Filter.Lua,
713                    Text.Pandoc.Filter.Path,
714                    Text.Pandoc.Readers.Docx.Lists,
715                    Text.Pandoc.Readers.Docx.Combine,
716                    Text.Pandoc.Readers.Docx.Parse,
717                    Text.Pandoc.Readers.Docx.Parse.Styles,
718                    Text.Pandoc.Readers.Docx.Util,
719                    Text.Pandoc.Readers.Docx.Fields,
720                    Text.Pandoc.Readers.HTML.Parsing,
721                    Text.Pandoc.Readers.HTML.Table,
722                    Text.Pandoc.Readers.HTML.TagCategories,
723                    Text.Pandoc.Readers.HTML.Types,
724                    Text.Pandoc.Readers.LaTeX.Inline,
725                    Text.Pandoc.Readers.LaTeX.Citation,
726                    Text.Pandoc.Readers.LaTeX.Lang,
727                    Text.Pandoc.Readers.LaTeX.Macro,
728                    Text.Pandoc.Readers.LaTeX.Math,
729                    Text.Pandoc.Readers.LaTeX.Parsing,
730                    Text.Pandoc.Readers.LaTeX.SIunitx,
731                    Text.Pandoc.Readers.LaTeX.Table,
732                    Text.Pandoc.Readers.LaTeX.Types,
733                    Text.Pandoc.Readers.Odt.Base,
734                    Text.Pandoc.Readers.Odt.Namespaces,
735                    Text.Pandoc.Readers.Odt.StyleReader,
736                    Text.Pandoc.Readers.Odt.ContentReader,
737                    Text.Pandoc.Readers.Odt.Generic.Fallible,
738                    Text.Pandoc.Readers.Odt.Generic.SetMap,
739                    Text.Pandoc.Readers.Odt.Generic.Utils,
740                    Text.Pandoc.Readers.Odt.Generic.Namespaces,
741                    Text.Pandoc.Readers.Odt.Generic.XMLConverter,
742                    Text.Pandoc.Readers.Odt.Arrows.State,
743                    Text.Pandoc.Readers.Odt.Arrows.Utils,
744                    Text.Pandoc.Readers.Org.BlockStarts,
745                    Text.Pandoc.Readers.Org.Blocks,
746                    Text.Pandoc.Readers.Org.DocumentTree,
747                    Text.Pandoc.Readers.Org.ExportSettings,
748                    Text.Pandoc.Readers.Org.Inlines,
749                    Text.Pandoc.Readers.Org.Meta,
750                    Text.Pandoc.Readers.Org.ParserState,
751                    Text.Pandoc.Readers.Org.Parsing,
752                    Text.Pandoc.Readers.Org.Shared,
753                    Text.Pandoc.Readers.Metadata,
754                    Text.Pandoc.Readers.Roff,
755                    Text.Pandoc.Writers.Docx.StyleMap,
756                    Text.Pandoc.Writers.Docx.Table,
757                    Text.Pandoc.Writers.Docx.Types,
758                    Text.Pandoc.Writers.GridTable
759                    Text.Pandoc.Writers.JATS.References,
760                    Text.Pandoc.Writers.JATS.Table,
761                    Text.Pandoc.Writers.JATS.Types,
762                    Text.Pandoc.Writers.LaTeX.Caption,
763                    Text.Pandoc.Writers.LaTeX.Notes,
764                    Text.Pandoc.Writers.LaTeX.Table,
765                    Text.Pandoc.Writers.LaTeX.Lang,
766                    Text.Pandoc.Writers.LaTeX.Types,
767                    Text.Pandoc.Writers.LaTeX.Citation,
768                    Text.Pandoc.Writers.LaTeX.Util,
769                    Text.Pandoc.Writers.Markdown.Types,
770                    Text.Pandoc.Writers.Markdown.Inline,
771                    Text.Pandoc.Writers.Roff,
772                    Text.Pandoc.Writers.Powerpoint.Presentation,
773                    Text.Pandoc.Writers.Powerpoint.Output,
774                    Text.Pandoc.Lua.ErrorConversion,
775                    Text.Pandoc.Lua.Filter,
776                    Text.Pandoc.Lua.Global,
777                    Text.Pandoc.Lua.Init,
778                    Text.Pandoc.Lua.Marshaling,
779                    Text.Pandoc.Lua.Marshaling.AST,
780                    Text.Pandoc.Lua.Marshaling.Attr,
781                    Text.Pandoc.Lua.Marshaling.CommonState,
782                    Text.Pandoc.Lua.Marshaling.Context,
783                    Text.Pandoc.Lua.Marshaling.List,
784                    Text.Pandoc.Lua.Marshaling.ListAttributes,
785                    Text.Pandoc.Lua.Marshaling.PandocError,
786                    Text.Pandoc.Lua.Marshaling.ReaderOptions,
787                    Text.Pandoc.Lua.Marshaling.SimpleTable,
788                    Text.Pandoc.Lua.Module.MediaBag,
789                    Text.Pandoc.Lua.Module.Pandoc,
790                    Text.Pandoc.Lua.Module.System,
791                    Text.Pandoc.Lua.Module.Types,
792                    Text.Pandoc.Lua.Module.Utils,
793                    Text.Pandoc.Lua.Packages,
794                    Text.Pandoc.Lua.PandocLua,
795                    Text.Pandoc.Lua.Util,
796                    Text.Pandoc.Lua.Walk,
797                    Text.Pandoc.XML.Light,
798                    Text.Pandoc.XML.Light.Types,
799                    Text.Pandoc.XML.Light.Proc,
800                    Text.Pandoc.XML.Light.Output,
801                    Text.Pandoc.Network.HTTP,
802                    Text.Pandoc.CSS,
803                    Text.Pandoc.CSV,
804                    Text.Pandoc.RoffChar,
805                    Text.Pandoc.UUID,
806                    Text.Pandoc.Translations,
807                    Text.Pandoc.Slides,
808                    Text.Pandoc.Image,
809                    Text.Pandoc.Citeproc.BibTeX,
810                    Text.Pandoc.Citeproc.CslJson,
811                    Text.Pandoc.Citeproc.Data,
812                    Text.Pandoc.Citeproc.Locator,
813                    Text.Pandoc.Citeproc.MetaValue,
814                    Text.Pandoc.Citeproc.Util,
815                    Paths_pandoc
816   autogen-modules: Paths_pandoc
817   buildable:       True
819 executable pandoc
820   import:          common-executable
821   hs-source-dirs:  app
822   main-is:         pandoc.hs
823   buildable:       True
824   other-modules:   Paths_pandoc
826 executable trypandoc
827   import:          common-executable
828   main-is:         trypandoc.hs
829   hs-source-dirs:  trypandoc
830   if flag(trypandoc)
831     build-depends: aeson, http-types, text, wai >= 0.3, wai-extra >= 3.0.24
832     buildable:     True
833   else
834     buildable:     False
836 test-suite test-pandoc
837   import:         common-executable
838   type:           exitcode-stdio-1.0
839   main-is:        test-pandoc.hs
840   hs-source-dirs: test
841   build-depends:  pandoc,
842                   Diff              >= 0.2     && < 0.5,
843                   Glob              >= 0.7     && < 0.11,
844                   QuickCheck        >= 2.4     && < 2.15,
845                   bytestring        >= 0.9     && < 0.12,
846                   containers        >= 0.4.2.1 && < 0.7,
847                   directory         >= 1.2.3   && < 1.4,
848                   doctemplates      >= 0.10    && < 0.11,
849                   exceptions        >= 0.8     && < 0.11,
850                   filepath          >= 1.1     && < 1.5,
851                   hslua             >= 2.0     && < 2.1,
852                   mtl               >= 2.2     && < 2.3,
853                   pandoc-types      >= 1.22.1  && < 1.23,
854                   process           >= 1.2.3   && < 1.7,
855                   tasty             >= 0.11    && < 1.5,
856                   tasty-golden      >= 2.3     && < 2.4,
857                   tasty-hunit       >= 0.9     && < 0.11,
858                   tasty-lua         >= 1.0     && < 1.1,
859                   tasty-quickcheck  >= 0.8     && < 0.11,
860                   text              >= 1.1.1.0  && < 1.3,
861                   time              >= 1.5     && < 1.14,
862                   xml               >= 1.3.12  && < 1.4,
863                   zip-archive       >= 0.2.3.4 && < 0.5
864   other-modules:  Tests.Old
865                   Tests.Command
866                   Tests.Helpers
867                   Tests.Lua
868                   Tests.Lua.Module
869                   Tests.Shared
870                   Tests.Readers.LaTeX
871                   Tests.Readers.HTML
872                   Tests.Readers.JATS
873                   Tests.Readers.Jira
874                   Tests.Readers.Markdown
875                   Tests.Readers.Org
876                   Tests.Readers.Org.Block
877                   Tests.Readers.Org.Block.CodeBlock
878                   Tests.Readers.Org.Block.Figure
879                   Tests.Readers.Org.Block.Header
880                   Tests.Readers.Org.Block.List
881                   Tests.Readers.Org.Block.Table
882                   Tests.Readers.Org.Directive
883                   Tests.Readers.Org.Inline
884                   Tests.Readers.Org.Inline.Citation
885                   Tests.Readers.Org.Inline.Note
886                   Tests.Readers.Org.Inline.Smart
887                   Tests.Readers.Org.Meta
888                   Tests.Readers.Org.Shared
889                   Tests.Readers.RST
890                   Tests.Readers.RTF
891                   Tests.Readers.Docx
892                   Tests.Readers.Odt
893                   Tests.Readers.Txt2Tags
894                   Tests.Readers.EPUB
895                   Tests.Readers.Muse
896                   Tests.Readers.Creole
897                   Tests.Readers.Man
898                   Tests.Readers.FB2
899                   Tests.Readers.DokuWiki
900                   Tests.Writers.Native
901                   Tests.Writers.ConTeXt
902                   Tests.Writers.Docbook
903                   Tests.Writers.HTML
904                   Tests.Writers.JATS
905                   Tests.Writers.Jira
906                   Tests.Writers.Markdown
907                   Tests.Writers.Org
908                   Tests.Writers.Plain
909                   Tests.Writers.AsciiDoc
910                   Tests.Writers.LaTeX
911                   Tests.Writers.Docx
912                   Tests.Writers.RST
913                   Tests.Writers.TEI
914                   Tests.Writers.Muse
915                   Tests.Writers.FB2
916                   Tests.Writers.Powerpoint
917                   Tests.Writers.OOXML
918                   Tests.Writers.Ms
919                   Tests.Writers.AnnotatedTable
921 benchmark benchmark-pandoc
922   import:          common-executable
923   type:            exitcode-stdio-1.0
924   main-is:         benchmark-pandoc.hs
925   hs-source-dirs:  benchmark
926   build-depends:   bytestring,
927                    containers,
928                    -- gauge       >= 0.2     && < 0.3,
929                    tasty-bench >= 0.2     && <= 0.4,
930                    mtl         >= 2.2     && < 2.3,
931                    text        >= 1.1.1.0 && < 1.3,
932                    time,
933                    deepseq
934   -- we increase heap size to avoid benchmarking garbage collection:
935   ghc-options:     -rtsopts -with-rtsopts=-A8m -threaded