Add a faux pandoc package (for conflicts)
[cabal.git] / cabal-testsuite / PackageTests / ShortRejections / repo / pandoc-2.11.3.1 / pandoc.cabal
blob8a4faa3e163472662a6cb9b4d12ae894d6a109e8
1 cabal-version:   2.2
2 name:            pandoc
3 version:         2.11.3.1
4 build-type:      Simple
5 license:         GPL-2.0-or-later
6 license-file:    COPYING.md
7 copyright:       (c) 2006-2020 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
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.context
60                  data/templates/default.texinfo
61                  data/templates/default.jira
62                  data/templates/default.man
63                  data/templates/default.ms
64                  data/templates/default.markdown
65                  data/templates/default.muse
66                  data/templates/default.commonmark
67                  data/templates/default.rst
68                  data/templates/default.plain
69                  data/templates/default.mediawiki
70                  data/templates/default.dokuwiki
71                  data/templates/default.xwiki
72                  data/templates/default.zimwiki
73                  data/templates/default.rtf
74                  data/templates/default.s5
75                  data/templates/default.slidy
76                  data/templates/default.slideous
77                  data/templates/default.revealjs
78                  data/templates/default.dzslides
79                  data/templates/default.asciidoc
80                  data/templates/default.asciidoctor
81                  data/templates/default.haddock
82                  data/templates/default.textile
83                  data/templates/default.org
84                  data/templates/default.epub2
85                  data/templates/default.epub3
86                  data/templates/article.jats_publishing
87                  data/templates/affiliations.jats
88                  -- translations
89                  data/translations/*.yaml
90                  -- source files for reference.docx
91                  data/docx/[Content_Types].xml
92                  data/docx/_rels/.rels
93                  data/docx/docProps/app.xml
94                  data/docx/docProps/core.xml
95                  data/docx/docProps/custom.xml
96                  data/docx/word/document.xml
97                  data/docx/word/fontTable.xml
98                  data/docx/word/comments.xml
99                  data/docx/word/footnotes.xml
100                  data/docx/word/numbering.xml
101                  data/docx/word/settings.xml
102                  data/docx/word/webSettings.xml
103                  data/docx/word/styles.xml
104                  data/docx/word/_rels/document.xml.rels
105                  data/docx/word/_rels/footnotes.xml.rels
106                  data/docx/word/theme/theme1.xml
107                  -- source files for reference.odt
108                  data/odt/mimetype
109                  data/odt/manifest.rdf
110                  data/odt/styles.xml
111                  data/odt/content.xml
112                  data/odt/meta.xml
113                  data/odt/settings.xml
114                  data/odt/Configurations2/accelerator/current.xml
115                  data/odt/Thumbnails/thumbnail.png
116                  data/odt/META-INF/manifest.xml
117                  -- source files for reference.pptx
118                  data/pptx/_rels/.rels
119                  data/pptx/docProps/app.xml
120                  data/pptx/docProps/core.xml
121                  data/pptx/ppt/slideLayouts/_rels/slideLayout1.xml.rels
122                  data/pptx/ppt/slideLayouts/_rels/slideLayout2.xml.rels
123                  data/pptx/ppt/slideLayouts/_rels/slideLayout3.xml.rels
124                  data/pptx/ppt/slideLayouts/_rels/slideLayout4.xml.rels
125                  data/pptx/ppt/slideLayouts/_rels/slideLayout5.xml.rels
126                  data/pptx/ppt/slideLayouts/_rels/slideLayout6.xml.rels
127                  data/pptx/ppt/slideLayouts/_rels/slideLayout7.xml.rels
128                  data/pptx/ppt/slideLayouts/_rels/slideLayout8.xml.rels
129                  data/pptx/ppt/slideLayouts/_rels/slideLayout9.xml.rels
130                  data/pptx/ppt/slideLayouts/_rels/slideLayout10.xml.rels
131                  data/pptx/ppt/slideLayouts/_rels/slideLayout11.xml.rels
132                  data/pptx/ppt/slideLayouts/slideLayout1.xml
133                  data/pptx/ppt/slideLayouts/slideLayout2.xml
134                  data/pptx/ppt/slideLayouts/slideLayout3.xml
135                  data/pptx/ppt/slideLayouts/slideLayout4.xml
136                  data/pptx/ppt/slideLayouts/slideLayout5.xml
137                  data/pptx/ppt/slideLayouts/slideLayout6.xml
138                  data/pptx/ppt/slideLayouts/slideLayout7.xml
139                  data/pptx/ppt/slideLayouts/slideLayout8.xml
140                  data/pptx/ppt/slideLayouts/slideLayout9.xml
141                  data/pptx/ppt/slideLayouts/slideLayout10.xml
142                  data/pptx/ppt/slideLayouts/slideLayout11.xml
143                  data/pptx/ppt/_rels/presentation.xml.rels
144                  data/pptx/ppt/theme/theme1.xml
145                  data/pptx/ppt/presProps.xml
146                  data/pptx/ppt/slides/_rels/slide1.xml.rels
147                  data/pptx/ppt/slides/_rels/slide2.xml.rels
148                  data/pptx/ppt/slides/slide2.xml
149                  data/pptx/ppt/slides/slide1.xml
150                  data/pptx/ppt/slides/_rels/slide3.xml.rels
151                  data/pptx/ppt/slides/_rels/slide4.xml.rels
152                  data/pptx/ppt/slides/slide3.xml
153                  data/pptx/ppt/slides/slide4.xml
154                  data/pptx/ppt/viewProps.xml
155                  data/pptx/ppt/tableStyles.xml
156                  data/pptx/ppt/slideMasters/_rels/slideMaster1.xml.rels
157                  data/pptx/ppt/slideMasters/slideMaster1.xml
158                  data/pptx/ppt/presentation.xml
159                  data/pptx/ppt/notesMasters/_rels/notesMaster1.xml.rels
160                  data/pptx/ppt/notesMasters/notesMaster1.xml
161                  data/pptx/ppt/notesSlides/_rels/notesSlide1.xml.rels
162                  data/pptx/ppt/notesSlides/notesSlide1.xml
163                  data/pptx/ppt/notesSlides/_rels/notesSlide2.xml.rels
164                  data/pptx/ppt/notesSlides/notesSlide2.xml
165                  data/pptx/ppt/theme/theme2.xml
166                  data/pptx/[Content_Types].xml
167                   -- stylesheet for EPUB writer
168                  data/epub.css
169                  -- data for dzslides writer
170                  data/dzslides/template.html
171                  -- default abbreviations file
172                  data/abbreviations
173                  -- sample lua custom writer
174                  data/sample.lua
175                  -- lua init script
176                  data/init.lua
177                  -- pandoc lua module
178                  data/pandoc.lua
179                  -- lua List module
180                  data/pandoc.List.lua
181                  -- bash completion template
182                  data/bash_completion.tpl
183                  -- jats csl
184                  data/jats.csl
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/biblatex-examples.bib
212                  test/command/A.txt
213                  test/command/B.txt
214                  test/command/C.txt
215                  test/command/D.txt
216                  test/command/01.csv
217                  test/command/defaults1.yaml
218                  test/command/defaults2.yaml
219                  test/command/3533-rst-csv-tables.csv
220                  test/command/3880.txt
221                  test/command/5182.txt
222                  test/command/5700-metadata-file-1.yml
223                  test/command/5700-metadata-file-2.yml
224                  test/command/abbrevs
225                  test/command/SVG_logo-without-xml-declaration.svg
226                  test/command/SVG_logo.svg
227                  test/command/corrupt.svg
228                  test/command/inkscape-cube.svg
229                  test/command/lua-pandoc-state.lua
230                  test/command/sub-file-chapter-1.tex
231                  test/command/sub-file-chapter-2.tex
232                  test/command/bar.tex
233                  test/command/yaml-metadata.yaml
234                  test/command/3510-subdoc.org
235                  test/command/3510-export.latex
236                  test/command/3510-src.hs
237                  test/command/3971b.tex
238                  test/docbook-chapter.docbook
239                  test/docbook-reader.docbook
240                  test/docbook-xref.docbook
241                  test/html-reader.html
242                  test/opml-reader.opml
243                  test/org-select-tags.org
244                  test/haddock-reader.haddock
245                  test/insert
246                  test/lalune.jpg
247                  test/man-reader.man
248                  test/movie.jpg
249                  test/media/rId25.jpg
250                  test/media/rId26.jpg
251                  test/media/rId27.jpg
252                  test/latex-reader.latex
253                  test/textile-reader.textile
254                  test/markdown-reader-more.txt
255                  test/markdown-citations.txt
256                  test/textile-reader.textile
257                  test/mediawiki-reader.wiki
258                  test/vimwiki-reader.wiki
259                  test/creole-reader.txt
260                  test/rst-reader.rst
261                  test/jats-reader.xml
262                  test/jira-reader.jira
263                  test/s5-basic.html
264                  test/s5-fancy.html
265                  test/s5-fragment.html
266                  test/s5-inserts.html
267                  test/tables.context
268                  test/tables.docbook4
269                  test/tables.docbook5
270                  test/tables.jats_archiving
271                  test/tables.jats_articleauthoring
272                  test/tables.jats_publishing
273                  test/tables.jira
274                  test/tables.dokuwiki
275                  test/tables.zimwiki
276                  test/tables.icml
277                  test/tables.html4
278                  test/tables.html5
279                  test/tables.latex
280                  test/tables.man
281                  test/tables.ms
282                  test/tables.plain
283                  test/tables.markdown
284                  test/tables.mediawiki
285                  test/tables.tei
286                  test/tables.textile
287                  test/tables.opendocument
288                  test/tables.org
289                  test/tables.asciidoc
290                  test/tables.asciidoctor
291                  test/tables.haddock
292                  test/tables.texinfo
293                  test/tables.rst
294                  test/tables.rtf
295                  test/tables.txt
296                  test/tables.fb2
297                  test/tables.muse
298                  test/tables.custom
299                  test/tables.xwiki
300                  test/tables/*.html4
301                  test/tables/*.html5
302                  test/tables/*.native
303                  test/tables/*.jats_archiving
304                  test/testsuite.txt
305                  test/writer.latex
306                  test/writer.context
307                  test/writer.docbook4
308                  test/writer.docbook5
309                  test/writer.jats_archiving
310                  test/writer.jats_articleauthoring
311                  test/writer.jats_publishing
312                  test/writer.jira
313                  test/writer.html4
314                  test/writer.html5
315                  test/writer.man
316                  test/writer.ms
317                  test/writer.markdown
318                  test/writer.plain
319                  test/writer.mediawiki
320                  test/writer.textile
321                  test/writer.opendocument
322                  test/writer.org
323                  test/writer.asciidoc
324                  test/writer.asciidoctor
325                  test/writer.haddock
326                  test/writer.rst
327                  test/writer.icml
328                  test/writer.rtf
329                  test/writer.tei
330                  test/writer.texinfo
331                  test/writer.fb2
332                  test/writer.opml
333                  test/writer.dokuwiki
334                  test/writer.zimwiki
335                  test/writer.xwiki
336                  test/writer.muse
337                  test/writer.custom
338                  test/writers-lang-and-dir.latex
339                  test/writers-lang-and-dir.context
340                  test/dokuwiki_inline_formatting.dokuwiki
341                  test/lhs-test.markdown
342                  test/lhs-test.markdown+lhs
343                  test/lhs-test.rst
344                  test/lhs-test.rst+lhs
345                  test/lhs-test.latex
346                  test/lhs-test.latex+lhs
347                  test/lhs-test.html
348                  test/lhs-test.html+lhs
349                  test/lhs-test.fragment.html+lhs
350                  test/pipe-tables.txt
351                  test/dokuwiki_external_images.dokuwiki
352                  test/dokuwiki_multiblock_table.dokuwiki
353                  test/fb2/*.markdown
354                  test/fb2/*.fb2
355                  test/fb2/images-embedded.html
356                  test/fb2/images-embedded.fb2
357                  test/fb2/test-small.png
358                  test/fb2/reader/*.fb2
359                  test/fb2/reader/*.native
360                  test/fb2/test.jpg
361                  test/docx/*.docx
362                  test/docx/golden/*.docx
363                  test/docx/*.native
364                  test/epub/*.epub
365                  test/epub/*.native
366                  test/pptx/*.pptx
367                  test/pptx/*.native
368                  test/ipynb/*.in.native
369                  test/ipynb/*.out.native
370                  test/ipynb/*.ipynb
371                  test/txt2tags.t2t
372                  test/twiki-reader.twiki
373                  test/tikiwiki-reader.tikiwiki
374                  test/odt/odt/*.odt
375                  test/odt/markdown/*.md
376                  test/odt/native/*.native
377                  test/lua/*.lua
378                  test/lua/module/*.lua
379 source-repository head
380   type:          git
381   location:      git://github.com/jgm/pandoc.git
383 flag embed_data_files
384   Description:   Embed data files in binary for relocatable executable.
385   Default:       False
387 flag trypandoc
388   Description:   Build trypandoc cgi executable.
389   Default:       False
391 library
392   build-depends: base                  >= 4.9      && < 5,
393                  Glob                  >= 0.7      && < 0.11,
394                  HTTP                  >= 4000.0.5 && < 4000.4,
395                  HsYAML                >= 0.2      && < 0.3,
396                  JuicyPixels           >= 3.1.6.1  && < 3.4,
397                  SHA                   >= 1.6      && < 1.7,
398                  aeson                 >= 0.7      && < 1.6,
399                  aeson-pretty          >= 0.8.5    && < 0.9,
400                  attoparsec            >= 0.12     && < 0.14,
401                  base64-bytestring     >= 0.1      && < 1.2,
402                  binary                >= 0.7      && < 0.11,
403                  blaze-html            >= 0.9      && < 0.10,
404                  blaze-markup          >= 0.8      && < 0.9,
405                  bytestring            >= 0.9      && < 0.12,
406                  case-insensitive      >= 1.2      && < 1.3,
407                  citeproc              >= 0.3.0.1  && < 0.4,
408                  commonmark            >= 0.1.1.2  && < 0.2,
409                  commonmark-extensions >= 0.2.0.4  && < 0.3,
410                  commonmark-pandoc     >= 0.2      && < 0.3,
411                  connection            >= 0.3.1,
412                  containers            >= 0.4.2.1  && < 0.7,
413                  data-default          >= 0.4      && < 0.8,
414                  deepseq               >= 1.3      && < 1.5,
415                  directory             >= 1.2.3    && < 1.4,
416                  doclayout             >= 0.3      && < 0.4,
417                  doctemplates          >= 0.9      && < 0.10,
418                  emojis                >= 0.1      && < 0.2,
419                  exceptions            >= 0.8      && < 0.11,
420                  file-embed            >= 0.0      && < 0.1,
421                  filepath              >= 1.1      && < 1.5,
422                  haddock-library       >= 1.8      && < 1.10,
423                  hslua                 >= 1.1      && < 1.4,
424                  hslua-module-system   >= 0.2      && < 0.3,
425                  hslua-module-text     >= 0.2.1    && < 0.4,
426                  http-client           >= 0.4.30   && < 0.8,
427                  http-client-tls       >= 0.2.4    && < 0.4,
428                  http-types            >= 0.8      && < 0.13,
429                  ipynb                 >= 0.1      && < 0.2,
430                  jira-wiki-markup      >= 1.3.2    && < 1.4,
431                  mtl                   >= 2.2      && < 2.3,
432                  network               >= 2.6,
433                  network-uri           >= 2.6      && < 2.7,
434                  pandoc-types          >= 1.22     && < 1.23,
435                  parsec                >= 3.1      && < 3.2,
436                  process               >= 1.2.3    && < 1.7,
437                  random                >= 1        && < 1.2,
438                  safe                  >= 0.3      && < 0.4,
439                  scientific            >= 0.3      && < 0.4,
440                  skylighting           >= 0.10.2   && < 0.11,
441                  skylighting-core      >= 0.10.2   && < 0.11,
442                  split                 >= 0.2      && < 0.3,
443                  syb                   >= 0.1      && < 0.8,
444                  tagsoup               >= 0.14.6   && < 0.15,
445                  temporary             >= 1.1      && < 1.4,
446                  texmath               >= 0.12.0.2 && < 0.13,
447                  text                  >= 1.1.1.0  && < 1.3,
448                  text-conversions      >= 0.3      && < 0.4,
449                  time                  >= 1.5      && < 1.10,
450                  unicode-transforms    >= 0.3      && < 0.4,
451                  unordered-containers  >= 0.2      && < 0.3,
452                  xml                   >= 1.3.12   && < 1.4,
453                  zip-archive           >= 0.2.3.4  && < 0.5,
454                  zlib                  >= 0.5      && < 0.7
455   if os(windows) && arch(i386)
456      build-depends: basement >= 0.0.10,
457                     foundation >= 0.0.23
458                     -- basement 0.0.9 won't build on 32-bit windows.
459   if impl(ghc < 8.4)
460      hs-source-dirs: prelude
461      other-modules:  Prelude
462      build-depends:  base-compat >= 0.9
463   if os(windows)
464     cpp-options:      -D_WINDOWS
465   else
466     build-depends:  unix >= 2.4 && < 2.8
467   if flag(embed_data_files)
468      cpp-options:   -DEMBED_DATA_FILES
469      other-modules: Text.Pandoc.Data
470   if os(windows)
471     cpp-options:      -D_WINDOWS
472   ghc-options:     -Wall -fno-warn-unused-do-bind
473                    -Wincomplete-record-updates
474                    -Wnoncanonical-monad-instances
475   -- Later:
476   -- -Wpartial-fields        (currently used in Powerpoint writer)
477   -- -Wmissing-export-lists  (currently some Odt modules violate this)
478   -- -Wredundant-constraints (problematic if we want to support older base)
479   if impl(ghc >= 8.2)
480     ghc-options:     -Wcpp-undef
481   if impl(ghc >= 8.4)
482     ghc-options:     -Wincomplete-uni-patterns
483                      -Widentities
484                      -fhide-source-paths
486   default-language: Haskell2010
487   other-extensions: NoImplicitPrelude
488   hs-source-dirs:  src
490   exposed-modules: Text.Pandoc,
491                    Text.Pandoc.App,
492                    Text.Pandoc.Options,
493                    Text.Pandoc.Extensions,
494                    Text.Pandoc.Shared,
495                    Text.Pandoc.MediaBag,
496                    Text.Pandoc.Error,
497                    Text.Pandoc.Filter,
498                    Text.Pandoc.Readers,
499                    Text.Pandoc.Readers.HTML,
500                    Text.Pandoc.Readers.LaTeX,
501                    Text.Pandoc.Readers.LaTeX.Types,
502                    Text.Pandoc.Readers.Markdown,
503                    Text.Pandoc.Readers.CommonMark,
504                    Text.Pandoc.Readers.Creole,
505                    Text.Pandoc.Readers.BibTeX,
506                    Text.Pandoc.Readers.CslJson,
507                    Text.Pandoc.Readers.MediaWiki,
508                    Text.Pandoc.Readers.Vimwiki,
509                    Text.Pandoc.Readers.RST,
510                    Text.Pandoc.Readers.Org,
511                    Text.Pandoc.Readers.DocBook,
512                    Text.Pandoc.Readers.JATS,
513                    Text.Pandoc.Readers.Jira,
514                    Text.Pandoc.Readers.OPML,
515                    Text.Pandoc.Readers.Textile,
516                    Text.Pandoc.Readers.Native,
517                    Text.Pandoc.Readers.Haddock,
518                    Text.Pandoc.Readers.TWiki,
519                    Text.Pandoc.Readers.TikiWiki,
520                    Text.Pandoc.Readers.Txt2Tags,
521                    Text.Pandoc.Readers.Docx,
522                    Text.Pandoc.Readers.Odt,
523                    Text.Pandoc.Readers.EPUB,
524                    Text.Pandoc.Readers.Muse,
525                    Text.Pandoc.Readers.Man,
526                    Text.Pandoc.Readers.FB2,
527                    Text.Pandoc.Readers.DokuWiki,
528                    Text.Pandoc.Readers.Ipynb,
529                    Text.Pandoc.Readers.CSV,
530                    Text.Pandoc.Writers,
531                    Text.Pandoc.Writers.Native,
532                    Text.Pandoc.Writers.Docbook,
533                    Text.Pandoc.Writers.JATS,
534                    Text.Pandoc.Writers.OPML,
535                    Text.Pandoc.Writers.HTML,
536                    Text.Pandoc.Writers.Ipynb,
537                    Text.Pandoc.Writers.ICML,
538                    Text.Pandoc.Writers.Jira,
539                    Text.Pandoc.Writers.LaTeX,
540                    Text.Pandoc.Writers.ConTeXt,
541                    Text.Pandoc.Writers.OpenDocument,
542                    Text.Pandoc.Writers.Texinfo,
543                    Text.Pandoc.Writers.Man,
544                    Text.Pandoc.Writers.Ms,
545                    Text.Pandoc.Writers.Markdown,
546                    Text.Pandoc.Writers.CommonMark,
547                    Text.Pandoc.Writers.Haddock,
548                    Text.Pandoc.Writers.RST,
549                    Text.Pandoc.Writers.Org,
550                    Text.Pandoc.Writers.AsciiDoc,
551                    Text.Pandoc.Writers.Custom,
552                    Text.Pandoc.Writers.Textile,
553                    Text.Pandoc.Writers.MediaWiki,
554                    Text.Pandoc.Writers.DokuWiki,
555                    Text.Pandoc.Writers.XWiki,
556                    Text.Pandoc.Writers.ZimWiki,
557                    Text.Pandoc.Writers.RTF,
558                    Text.Pandoc.Writers.ODT,
559                    Text.Pandoc.Writers.Docx,
560                    Text.Pandoc.Writers.Powerpoint,
561                    Text.Pandoc.Writers.EPUB,
562                    Text.Pandoc.Writers.FB2,
563                    Text.Pandoc.Writers.TEI,
564                    Text.Pandoc.Writers.Muse,
565                    Text.Pandoc.Writers.CslJson,
566                    Text.Pandoc.Writers.Math,
567                    Text.Pandoc.Writers.Shared,
568                    Text.Pandoc.Writers.OOXML,
569                    Text.Pandoc.Writers.AnnotatedTable,
570                    Text.Pandoc.Lua,
571                    Text.Pandoc.PDF,
572                    Text.Pandoc.UTF8,
573                    Text.Pandoc.Templates,
574                    Text.Pandoc.XML,
575                    Text.Pandoc.SelfContained,
576                    Text.Pandoc.Highlighting,
577                    Text.Pandoc.Logging,
578                    Text.Pandoc.Process,
579                    Text.Pandoc.MIME,
580                    Text.Pandoc.Parsing,
581                    Text.Pandoc.Asciify,
582                    Text.Pandoc.Emoji,
583                    Text.Pandoc.ImageSize,
584                    Text.Pandoc.BCP47,
585                    Text.Pandoc.Class,
586                    Text.Pandoc.Citeproc
587   other-modules:   Text.Pandoc.App.CommandLineOptions,
588                    Text.Pandoc.App.FormatHeuristics,
589                    Text.Pandoc.App.Opt,
590                    Text.Pandoc.App.OutputSettings,
591                    Text.Pandoc.Class.CommonState,
592                    Text.Pandoc.Class.IO,
593                    Text.Pandoc.Class.PandocMonad,
594                    Text.Pandoc.Class.PandocIO,
595                    Text.Pandoc.Class.PandocPure,
596                    Text.Pandoc.Filter.JSON,
597                    Text.Pandoc.Filter.Lua,
598                    Text.Pandoc.Filter.Path,
599                    Text.Pandoc.Readers.Docx.Lists,
600                    Text.Pandoc.Readers.Docx.Combine,
601                    Text.Pandoc.Readers.Docx.Parse,
602                    Text.Pandoc.Readers.Docx.Parse.Styles,
603                    Text.Pandoc.Readers.Docx.Util,
604                    Text.Pandoc.Readers.Docx.Fields,
605                    Text.Pandoc.Readers.HTML.Parsing,
606                    Text.Pandoc.Readers.HTML.Table,
607                    Text.Pandoc.Readers.HTML.TagCategories,
608                    Text.Pandoc.Readers.HTML.Types,
609                    Text.Pandoc.Readers.LaTeX.Parsing,
610                    Text.Pandoc.Readers.LaTeX.Lang,
611                    Text.Pandoc.Readers.LaTeX.SIunitx,
612                    Text.Pandoc.Readers.Odt.Base,
613                    Text.Pandoc.Readers.Odt.Namespaces,
614                    Text.Pandoc.Readers.Odt.StyleReader,
615                    Text.Pandoc.Readers.Odt.ContentReader,
616                    Text.Pandoc.Readers.Odt.Generic.Fallible,
617                    Text.Pandoc.Readers.Odt.Generic.SetMap,
618                    Text.Pandoc.Readers.Odt.Generic.Utils,
619                    Text.Pandoc.Readers.Odt.Generic.Namespaces,
620                    Text.Pandoc.Readers.Odt.Generic.XMLConverter,
621                    Text.Pandoc.Readers.Odt.Arrows.State,
622                    Text.Pandoc.Readers.Odt.Arrows.Utils,
623                    Text.Pandoc.Readers.Org.BlockStarts,
624                    Text.Pandoc.Readers.Org.Blocks,
625                    Text.Pandoc.Readers.Org.DocumentTree,
626                    Text.Pandoc.Readers.Org.ExportSettings,
627                    Text.Pandoc.Readers.Org.Inlines,
628                    Text.Pandoc.Readers.Org.Meta,
629                    Text.Pandoc.Readers.Org.ParserState,
630                    Text.Pandoc.Readers.Org.Parsing,
631                    Text.Pandoc.Readers.Org.Shared,
632                    Text.Pandoc.Readers.Metadata,
633                    Text.Pandoc.Readers.Roff,
634                    Text.Pandoc.Writers.Docx.StyleMap,
635                    Text.Pandoc.Writers.JATS.Table,
636                    Text.Pandoc.Writers.JATS.Types,
637                    Text.Pandoc.Writers.LaTeX.Caption,
638                    Text.Pandoc.Writers.LaTeX.Notes,
639                    Text.Pandoc.Writers.LaTeX.Table,
640                    Text.Pandoc.Writers.LaTeX.Types,
641                    Text.Pandoc.Writers.Roff,
642                    Text.Pandoc.Writers.Powerpoint.Presentation,
643                    Text.Pandoc.Writers.Powerpoint.Output,
644                    Text.Pandoc.Lua.ErrorConversion,
645                    Text.Pandoc.Lua.Filter,
646                    Text.Pandoc.Lua.Global,
647                    Text.Pandoc.Lua.Init,
648                    Text.Pandoc.Lua.Marshaling,
649                    Text.Pandoc.Lua.Marshaling.AST,
650                    Text.Pandoc.Lua.Marshaling.AnyValue,
651                    Text.Pandoc.Lua.Marshaling.CommonState,
652                    Text.Pandoc.Lua.Marshaling.Context,
653                    Text.Pandoc.Lua.Marshaling.List,
654                    Text.Pandoc.Lua.Marshaling.MediaBag,
655                    Text.Pandoc.Lua.Marshaling.PandocError,
656                    Text.Pandoc.Lua.Marshaling.ReaderOptions,
657                    Text.Pandoc.Lua.Marshaling.SimpleTable,
658                    Text.Pandoc.Lua.Marshaling.Version,
659                    Text.Pandoc.Lua.Module.MediaBag,
660                    Text.Pandoc.Lua.Module.Pandoc,
661                    Text.Pandoc.Lua.Module.System,
662                    Text.Pandoc.Lua.Module.Types,
663                    Text.Pandoc.Lua.Module.Utils,
664                    Text.Pandoc.Lua.Packages,
665                    Text.Pandoc.Lua.PandocLua,
666                    Text.Pandoc.Lua.Util,
667                    Text.Pandoc.Lua.Walk,
668                    Text.Pandoc.CSS,
669                    Text.Pandoc.CSV,
670                    Text.Pandoc.RoffChar,
671                    Text.Pandoc.UUID,
672                    Text.Pandoc.Translations,
673                    Text.Pandoc.Slides,
674                    Text.Pandoc.Image,
675                    Text.Pandoc.Citeproc.BibTeX,
676                    Text.Pandoc.Citeproc.CslJson,
677                    Text.Pandoc.Citeproc.Data,
678                    Text.Pandoc.Citeproc.Locator,
679                    Text.Pandoc.Citeproc.MetaValue,
680                    Text.Pandoc.Citeproc.Util,
681                    Paths_pandoc
682   autogen-modules: Paths_pandoc
683   buildable:       True
685 executable pandoc
686   build-depends: pandoc, base >= 4.8 && < 5
687   if impl(ghc < 8.4)
688      hs-source-dirs: prelude
689      other-modules:  Prelude
690      build-depends:  base-compat >= 0.9
691   default-language: Haskell2010
692   other-extensions: NoImplicitPrelude
693   hs-source-dirs:  app
694   main-is:         pandoc.hs
695   buildable:       True
696   other-modules:   Paths_pandoc
697   ghc-options:     -rtsopts -with-rtsopts=-K16m -threaded
698                    -Wall -fno-warn-unused-do-bind
699                    -Wincomplete-record-updates
700                    -Wnoncanonical-monad-instances
701   if impl(ghc >= 8.2)
702     ghc-options:     -Wcpp-undef
703   if impl(ghc >= 8.4)
704     ghc-options:     -Wincomplete-uni-patterns
705                      -Widentities
706                      -fhide-source-paths
708 executable trypandoc
709   main-is:         trypandoc.hs
710   hs-source-dirs:  trypandoc
711   default-language: Haskell2010
712   other-extensions: NoImplicitPrelude
713   if flag(trypandoc)
714     build-depends: base, aeson, pandoc,
715                    text, wai-extra, wai >= 0.3, http-types
716     buildable:     True
717   else
718     buildable:     False
719   if impl(ghc < 8.4)
720      hs-source-dirs: prelude
721      other-modules:  Prelude
722      build-depends:  base-compat >= 0.9
723   ghc-options:     -rtsopts -with-rtsopts=-K16m -threaded
724                    -Wall -fno-warn-unused-do-bind
725                    -Wincomplete-record-updates
726                    -Wnoncanonical-monad-instances
727   if impl(ghc >= 8.2)
728     ghc-options:     -Wcpp-undef
729   if impl(ghc >= 8.4)
730     ghc-options:     -Wincomplete-uni-patterns
731                      -Widentities
732                      -fhide-source-paths
734 benchmark weigh-pandoc
735   type:            exitcode-stdio-1.0
736   main-is:         weigh-pandoc.hs
737   hs-source-dirs:  benchmark
738   build-depends:   pandoc,
739                    base    >= 4.8 && < 5,
740                    mtl     >= 2.2 && < 2.3,
741                    text,
742                    weigh   >= 0.0 && < 0.1,
743   if impl(ghc < 8.4)
744      hs-source-dirs: prelude
745      other-modules:  Prelude
746      build-depends:  base-compat >= 0.9
747   default-language: Haskell2010
748   other-extensions: NoImplicitPrelude
749   ghc-options:     -rtsopts -with-rtsopts=-K16m -threaded
750                    -Wall -fno-warn-unused-do-bind
751                    -Wincomplete-record-updates
752                    -Wnoncanonical-monad-instances
753   if impl(ghc >= 8.2)
754     ghc-options:     -Wcpp-undef
755   if impl(ghc >= 8.4)
756     ghc-options:     -Wincomplete-uni-patterns
757                      -Widentities
758                      -fhide-source-paths
761 test-suite test-pandoc
762   type:           exitcode-stdio-1.0
763   main-is:        test-pandoc.hs
764   hs-source-dirs: test
765   build-depends:  pandoc,
766                   base              >= 4.8     && < 5,
767                   Diff              >= 0.2     && < 0.5,
768                   Glob              >= 0.7     && < 0.11,
769                   QuickCheck        >= 2.4     && < 2.15,
770                   base64-bytestring >= 0.1     && < 1.2,
771                   bytestring        >= 0.9     && < 0.12,
772                   containers        >= 0.4.2.1 && < 0.7,
773                   directory         >= 1.2.3   && < 1.4,
774                   doctemplates      >= 0.9     && < 0.10,
775                   exceptions        >= 0.8     && < 0.11,
776                   executable-path   >= 0.0     && < 0.1,
777                   filepath          >= 1.1     && < 1.5,
778                   hslua             >= 1.1     && < 1.4,
779                   mtl               >= 2.2     && < 2.3,
780                   pandoc-types      >= 1.22    && < 1.23,
781                   process           >= 1.2.3   && < 1.7,
782                   tasty             >= 0.11    && < 1.4,
783                   tasty-golden      >= 2.3     && < 2.4,
784                   tasty-hunit       >= 0.9     && < 0.11,
785                   tasty-lua         >= 0.2     && < 0.3,
786                   tasty-quickcheck  >= 0.8     && < 0.11,
787                   temporary         >= 1.1     && < 1.4,
788                   text              >= 1.1.1.0 && < 1.3,
789                   time              >= 1.5     && < 1.10,
790                   xml               >= 1.3.12  && < 1.4,
791                   zip-archive       >= 0.2.3.4 && < 0.5
792   if impl(ghc < 8.4)
793      hs-source-dirs: prelude
794      other-modules:  Prelude
795      build-depends:  base-compat >= 0.9
796   other-modules:  Tests.Old
797                   Tests.Command
798                   Tests.Helpers
799                   Tests.Lua
800                   Tests.Lua.Module
801                   Tests.Shared
802                   Tests.Readers.LaTeX
803                   Tests.Readers.HTML
804                   Tests.Readers.JATS
805                   Tests.Readers.Jira
806                   Tests.Readers.Markdown
807                   Tests.Readers.Org
808                   Tests.Readers.Org.Block
809                   Tests.Readers.Org.Block.CodeBlock
810                   Tests.Readers.Org.Block.Figure
811                   Tests.Readers.Org.Block.Header
812                   Tests.Readers.Org.Block.List
813                   Tests.Readers.Org.Block.Table
814                   Tests.Readers.Org.Directive
815                   Tests.Readers.Org.Inline
816                   Tests.Readers.Org.Inline.Citation
817                   Tests.Readers.Org.Inline.Note
818                   Tests.Readers.Org.Inline.Smart
819                   Tests.Readers.Org.Meta
820                   Tests.Readers.Org.Shared
821                   Tests.Readers.RST
822                   Tests.Readers.Docx
823                   Tests.Readers.Odt
824                   Tests.Readers.Txt2Tags
825                   Tests.Readers.EPUB
826                   Tests.Readers.Muse
827                   Tests.Readers.Creole
828                   Tests.Readers.Man
829                   Tests.Readers.FB2
830                   Tests.Readers.DokuWiki
831                   Tests.Writers.Native
832                   Tests.Writers.ConTeXt
833                   Tests.Writers.Docbook
834                   Tests.Writers.HTML
835                   Tests.Writers.JATS
836                   Tests.Writers.Jira
837                   Tests.Writers.Markdown
838                   Tests.Writers.Org
839                   Tests.Writers.Plain
840                   Tests.Writers.AsciiDoc
841                   Tests.Writers.LaTeX
842                   Tests.Writers.Docx
843                   Tests.Writers.RST
844                   Tests.Writers.TEI
845                   Tests.Writers.Muse
846                   Tests.Writers.FB2
847                   Tests.Writers.Powerpoint
848                   Tests.Writers.OOXML
849                   Tests.Writers.Ms
850                   Tests.Writers.AnnotatedTable
851   if os(windows)
852     cpp-options:      -D_WINDOWS
853   default-language: Haskell2010
854   other-extensions: NoImplicitPrelude
855   ghc-options:     -rtsopts -with-rtsopts=-K16m -threaded
856                    -Wall -fno-warn-unused-do-bind
857                    -Wincomplete-record-updates
858                    -Wnoncanonical-monad-instances
859   if impl(ghc >= 8.2)
860     ghc-options:     -Wcpp-undef
861   if impl(ghc >= 8.4)
862     ghc-options:     -Wincomplete-uni-patterns
863                      -Widentities
864                      -fhide-source-paths
867 benchmark benchmark-pandoc
868   type:            exitcode-stdio-1.0
869   main-is:         benchmark-pandoc.hs
870   hs-source-dirs:  benchmark
871   build-depends:   pandoc,
872                    base        >= 4.8     && < 5,
873                    bytestring,
874                    containers,
875                    criterion   >= 1.0     && < 1.6,
876                    mtl         >= 2.2     && < 2.3,
877                    text        >= 1.1.1.0 && < 1.3,
878                    time
879   if impl(ghc < 8.4)
880      hs-source-dirs: prelude
881      other-modules:  Prelude
882      build-depends:  base-compat >= 0.9
883   default-language: Haskell2010
884   other-extensions: NoImplicitPrelude
885   ghc-options:     -rtsopts -with-rtsopts=-K16m -threaded
886                    -Wall -fno-warn-unused-do-bind
887                    -Wincomplete-record-updates
888                    -Wnoncanonical-monad-instances
889   if impl(ghc >= 8.2)
890     ghc-options:     -Wcpp-undef
891   if impl(ghc >= 8.4)
892     ghc-options:     -Wincomplete-uni-patterns
893                      -Widentities
894                      -fhide-source-paths