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