aboutsummaryrefslogtreecommitdiff
path: root/pandoc.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'pandoc.cabal')
-rw-r--r--pandoc.cabal70
1 files changed, 36 insertions, 34 deletions
diff --git a/pandoc.cabal b/pandoc.cabal
index 54bcf86d5..26c88d83c 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -1,6 +1,6 @@
name: pandoc
-version: 2.2.1
-cabal-version: >= 1.10
+version: 2.4
+cabal-version: 2.0
build-type: Custom
license: GPL-2
license-file: COPYING.md
@@ -11,7 +11,7 @@ bug-reports: https://github.com/jgm/pandoc/issues
stability: alpha
homepage: https://pandoc.org
category: Text
-tested-with: GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.1
+tested-with: GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.3
synopsis: Conversion between markup formats
description: Pandoc is a Haskell library for converting from one markup
format to another, and a command-line tool that uses
@@ -192,6 +192,8 @@ extra-source-files:
test/command/inkscape-cube.svg
test/command/sub-file-chapter-1.tex
test/command/sub-file-chapter-2.tex
+ test/command/bar.tex
+ test/command/yaml-metadata.yaml
test/command/3510-subdoc.org
test/command/3510-export.latex
test/command/3510-src.hs
@@ -334,15 +336,11 @@ flag trypandoc
Description: Build trypandoc cgi executable.
Default: False
-flag network-uri
- Description: Get Network.URI from the network-uri package
- Default: True
-
custom-setup
- setup-depends: base, Cabal
+ setup-depends: base, Cabal >= 2.0
library
- build-depends: base >= 4.7 && < 5,
+ build-depends: base >= 4.8 && < 5,
syb >= 0.1 && < 0.8,
containers >= 0.4.2.1 && < 0.6,
unordered-containers >= 0.2 && < 0.3,
@@ -358,40 +356,46 @@ library
safe >= 0.3 && < 0.4,
zip-archive >= 0.2.3.4 && < 0.4,
HTTP >= 4000.0.5 && < 4000.4,
- texmath >= 0.10 && < 0.12,
+ texmath >= 0.11 && < 0.12,
xml >= 1.3.12 && < 1.4,
split >= 0.2 && < 0.3,
random >= 1 && < 1.2,
- pandoc-types >= 1.17.4.2 && < 1.18,
- aeson >= 0.7 && < 1.4,
+ pandoc-types >= 1.17.5 && < 1.18,
+ aeson >= 0.7 && < 1.5,
aeson-pretty >= 0.8.5 && < 0.9,
tagsoup >= 0.14.6 && < 0.15,
base64-bytestring >= 0.1 && < 1.1,
zlib >= 0.5 && < 0.7,
- skylighting >= 0.5.1 && < 0.8,
+ skylighting >= 0.7.2 && < 0.8,
data-default >= 0.4 && < 0.8,
temporary >= 1.1 && < 1.4,
blaze-html >= 0.9 && < 0.10,
blaze-markup >= 0.8 && < 0.9,
- yaml >= 0.8.8.2 && < 0.9,
- scientific >= 0.2 && < 0.4,
vector >= 0.10 && < 0.13,
- hslua >= 0.9.5 && < 0.9.6,
- hslua-module-text >= 0.1.2 && < 0.2,
+ hslua >= 1.0.1 && < 1.1,
+ hslua-module-text >= 0.2 && < 0.3,
binary >= 0.5 && < 0.10,
SHA >= 1.6 && < 1.7,
- haddock-library >= 1.1 && < 1.6,
+ haddock-library >= 1.6 && < 1.7,
deepseq >= 1.3 && < 1.5,
- JuicyPixels >= 3.1.6.1 && < 3.3,
+ JuicyPixels >= 3.1.6.1 && < 3.4,
Glob >= 0.7 && < 0.10,
cmark-gfm >= 0.1.1 && < 0.2,
doctemplates >= 0.2.1 && < 0.3,
+ network-uri >= 2.6 && < 2.7,
+ network >= 2.6,
http-client >= 0.4.30 && < 0.6,
http-client-tls >= 0.2.4 && < 0.4,
http-types >= 0.8 && < 0.13,
- case-insensitive >= 1.2 && < 1.3
+ case-insensitive >= 1.2 && < 1.3,
+ unicode-transforms >= 0.3 && < 0.4,
+ HsYAML >= 0.1.1.1 && < 0.2
if impl(ghc < 8.0)
- build-depends: semigroups == 0.18.*
+ build-depends: semigroups == 0.18.*,
+ -- basement 0.0.8 and foundation 0.0.21, transitive
+ -- dependencies, drop support for ghc 7.10:
+ basement < 0.0.8,
+ foundation < 0.0.21
if impl(ghc < 8.4)
hs-source-dirs: prelude
other-modules: Prelude
@@ -400,10 +404,6 @@ library
cpp-options: -D_WINDOWS
else
build-depends: unix >= 2.4 && < 2.8
- if flag(network-uri)
- build-depends: network-uri >= 2.6 && < 2.7, network >= 2.6
- else
- build-depends: network >= 2 && < 2.6
if flag(embed_data_files)
cpp-options: -DEMBED_DATA_FILES
build-depends: file-embed >= 0.0 && < 0.1
@@ -510,6 +510,8 @@ library
Text.Pandoc.Readers.Docx.Util,
Text.Pandoc.Readers.Docx.StyleMap,
Text.Pandoc.Readers.Docx.Fields,
+ Text.Pandoc.Readers.LaTeX.Parsing,
+ Text.Pandoc.Readers.LaTeX.Lang,
Text.Pandoc.Readers.Odt.Base,
Text.Pandoc.Readers.Odt.Namespaces,
Text.Pandoc.Readers.Odt.StyleReader,
@@ -546,11 +548,11 @@ library
Text.Pandoc.Translations,
Text.Pandoc.Slides,
Paths_pandoc
-
+ autogen-modules: Paths_pandoc
buildable: True
executable pandoc
- build-depends: pandoc, base >= 4.7 && < 5
+ build-depends: pandoc, base >= 4.8 && < 5
if impl(ghc < 8.0)
build-depends: semigroups == 0.18.*
if impl(ghc < 8.4)
@@ -590,7 +592,7 @@ benchmark weigh-pandoc
main-is: weigh-pandoc.hs
hs-source-dirs: benchmark
build-depends: pandoc,
- base >= 4.2 && < 5,
+ base >= 4.8 && < 5,
text,
weigh >= 0.0 && < 0.1,
mtl >= 2.2 && < 2.3
@@ -608,20 +610,20 @@ test-suite test-pandoc
type: exitcode-stdio-1.0
main-is: test-pandoc.hs
hs-source-dirs: test
- build-depends: base >= 4.2 && < 5,
+ build-depends: base >= 4.8 && < 5,
pandoc,
- pandoc-types >= 1.17.4.2 && < 1.18,
+ pandoc-types >= 1.17.5 && < 1.18,
bytestring >= 0.9 && < 0.11,
base64-bytestring >= 0.1 && < 1.1,
text >= 0.11 && < 1.3,
time >= 1.5 && < 1.10,
directory >= 1 && < 1.4,
filepath >= 1.1 && < 1.5,
- hslua >= 0.9.5 && < 0.9.6,
+ hslua >= 1.0 && < 1.1,
process >= 1.2.3 && < 1.7,
temporary >= 1.1 && < 1.4,
Diff >= 0.2 && < 0.4,
- tasty >= 0.11 && < 1.1,
+ tasty >= 0.11 && < 1.2,
tasty-hunit >= 0.9 && < 0.11,
tasty-quickcheck >= 0.8 && < 0.11,
tasty-golden >= 2.3 && < 2.4,
@@ -696,9 +698,9 @@ benchmark benchmark-pandoc
hs-source-dirs: benchmark
build-depends: pandoc,
time, bytestring, containers,
- base >= 4.2 && < 5,
+ base >= 4.8 && < 5,
text >= 0.11 && < 1.3,
- criterion >= 1.0 && < 1.5
+ criterion >= 1.0 && < 1.6
if impl(ghc < 8.0)
build-depends: semigroups == 0.18.*
if impl(ghc < 8.4)