diff options
| author | John MacFarlane <[email protected]> | 2022-09-22 09:47:07 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-09-22 09:47:07 -0700 |
| commit | bd1d923b86edba6e090ba14b1cd17e1e32c727f2 (patch) | |
| tree | d9aa17acc41811a9664815766c72e0f5bf7d239b /pandoc-server/pandoc-server.cabal | |
| parent | b38292c2346ebea690eada91a5ac1e0addaa3c0b (diff) | |
Split pandoc-server, pandoc-cli into separate packages. (#8309)
This also removes the unnecessary Setup.hs from pandoc.
Cabal does not need this with build-type 'simple'.
Diffstat (limited to 'pandoc-server/pandoc-server.cabal')
| -rw-r--r-- | pandoc-server/pandoc-server.cabal | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/pandoc-server/pandoc-server.cabal b/pandoc-server/pandoc-server.cabal new file mode 100644 index 000000000..2c0f566c8 --- /dev/null +++ b/pandoc-server/pandoc-server.cabal @@ -0,0 +1,71 @@ +cabal-version: 2.4 +name: pandoc-server +version: 0.1 +build-type: Simple +license: GPL-2.0-or-later +license-file: COPYING.md +copyright: (c) 2006-2022 John MacFarlane +author: John MacFarlane <[email protected]> +maintainer: John MacFarlane <[email protected]> +bug-reports: https://github.com/jgm/pandoc/issues +stability: alpha +homepage: https://pandoc.org +category: Text +tested-with: GHC == 8.6.5, GHC == 8.8.4, GHC == 8.10.7, GHC == 9.0.2, + GHC == 9.2.3 +synopsis: Pandoc document conversion as an HTTP servant-server +description: Pandoc-server provides pandoc's document conversion functions + in an HTTP server. +source-repository head + type: git + location: git://github.com/jgm/pandoc.git + +common common-options + default-language: Haskell2010 + build-depends: base >= 4.12 && < 5 + ghc-options: -Wall -fno-warn-unused-do-bind + -Wincomplete-record-updates + -Wnoncanonical-monad-instances + -Wcpp-undef + -Wincomplete-uni-patterns + -Widentities + -Wpartial-fields + -Wmissing-signatures + -fhide-source-paths + -- -Wmissing-export-lists + + if impl(ghc >= 8.10) + ghc-options: -Wunused-packages + + if impl(ghc >= 9.0) + ghc-options: -Winvalid-haddock + + if os(windows) + cpp-options: -D_WINDOWS + +common common-executable + import: common-options + build-depends: pandoc + ghc-options: -rtsopts -with-rtsopts=-A8m -threaded + +library + import: common-options + build-depends: pandoc == 2.19.2, + pandoc-types >= 1.22.2 && < 1.23, + containers >= 0.6.0.1 && < 0.7, + aeson >= 2.0 && < 2.2, + bytestring >= 0.9 && < 0.12, + base64 >= 0.4 && < 0.5, + doctemplates >= 0.10 && < 0.11, + data-default >= 0.4 && < 0.8, + text >= 1.1.1.0 && < 2.1, + unicode-collation >= 0.1.1 && < 0.2, + servant-server >= 0.19 && < 0.20, + skylighting >= 0.13 && < 0.14, + wai >= 0.3 + + hs-source-dirs: src + + exposed-modules: Text.Pandoc.Server + buildable: True + |
