File: pandoc-server.cabal

package info (click to toggle)
haskell-pandoc-server 0.1.0.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 80 kB
  • sloc: haskell: 362; makefile: 2
file content (70 lines) | stat: -rw-r--r-- 2,638 bytes parent folder | download
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
cabal-version:   2.4
name:            pandoc-server
version:         0.1.0.5
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.5, GHC == 9.4.4
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
  ghc-options:      -rtsopts -with-rtsopts=-A8m -threaded

library
  import:        common-options
  build-depends: pandoc                >= 3.0,
                 pandoc-types          >= 1.22     && < 1.24,
                 containers            >= 0.6.0.1  && < 0.8,
                 aeson                 >= 2.0      && < 2.3,
                 bytestring            >= 0.9      && < 0.13,
                 base64-bytestring     >= 0.1      && < 1.3,
                 doctemplates          >= 0.11     && < 0.12,
                 data-default          >= 0.4      && < 0.8,
                 text                  >= 1.1.1.0  && < 2.2,
                 unicode-collation     >= 0.1.1    && < 0.2,
                 servant-server        >= 0.19     && < 0.21,
                 skylighting           >= 0.13     && < 0.15,
                 wai                   >= 3.2      && < 3.3,
                 wai-cors              >= 0.2.7    && < 0.3

  hs-source-dirs:  src

  exposed-modules: Text.Pandoc.Server
  buildable:       True