1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
|
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -442,24 +442,9 @@ common common-executable
build-depends: pandoc
ghc-options: -rtsopts -with-rtsopts=-A8m -threaded
-library xml-light
- import: common-options
- build-depends: xml >= 1.3.12 && < 1.4,
- xml-conduit >= 1.9.1.1 && < 1.10,
- xml-types >= 0.3 && < 0.4,
- containers >= 0.6.0.1 && < 0.7,
- text >= 1.1.1.0 && < 2.2
-
- hs-source-dirs: xml-light
- exposed-modules: Text.Pandoc.XML.Light,
- Text.Pandoc.XML.Light.Types,
- Text.Pandoc.XML.Light.Proc,
- Text.Pandoc.XML.Light.Output
-
library
import: common-options
- build-depends: xml-light,
- Glob >= 0.7 && < 0.11,
+ build-depends: Glob >= 0.7 && < 0.11,
JuicyPixels >= 3.1.6.1 && < 3.4,
SHA >= 1.6 && < 1.7,
aeson >= 2.0.1.0 && < 2.3,
@@ -522,6 +507,8 @@ library
zip-archive >= 0.4.3 && < 0.5,
zlib >= 0.5 && < 0.7,
xml >= 1.3.12 && < 1.4,
+ xml-conduit >= 1.9.1.1 && < 1.10,
+ xml-types >= 0.3 && < 0.4,
typst >= 0.5 && < 0.5.1,
vector >= 0.12 && < 0.14
@@ -531,6 +518,7 @@ library
cpp-options: -DEMBED_DATA_FILES
other-modules: Text.Pandoc.Data.BakedIn
hs-source-dirs: src
+ xml-light
exposed-modules: Text.Pandoc,
Text.Pandoc.App,
@@ -628,6 +616,10 @@ library
Text.Pandoc.Slides,
Text.Pandoc.Templates,
Text.Pandoc.XML,
+ Text.Pandoc.XML.Light,
+ Text.Pandoc.XML.Light.Types,
+ Text.Pandoc.XML.Light.Proc,
+ Text.Pandoc.XML.Light.Output
Text.Pandoc.SelfContained,
Text.Pandoc.Highlighting,
Text.Pandoc.Logging,
|