mirror of
https://github.com/jgm/pandoc.git
synced 2026-10-03 20:57:48 +00:00
This also removes the unnecessary Setup.hs from pandoc. Cabal does not need this with build-type 'simple'.
63 lines
2.0 KiB
Plaintext
63 lines
2.0 KiB
Plaintext
cabal-version: 2.4
|
|
name: pandoc-cli
|
|
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 <jgm@berkeley.edu>
|
|
maintainer: John MacFarlane <jgm@berkeley.edu>
|
|
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: Conversion between documentation formats
|
|
description: Pandoc-cli provides a command-line executable that uses the pandoc library to convert between markup formats.
|
|
-- data-files:
|
|
-- extra-source-files:
|
|
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
|
|
|
|
executable pandoc
|
|
import: common-executable
|
|
hs-source-dirs: src
|
|
main-is: pandoc.hs
|
|
buildable: True
|
|
build-depends: pandoc == 2.19.2,
|
|
pandoc-server >= 0.1 && < 0.2,
|
|
wai-extra >= 3.0.24,
|
|
warp,
|
|
safe
|
|
|