ghc-doclayout/doclayout.cabal

72 lines
2.4 KiB
Plaintext

name: doclayout
version: 0.4
x-revision: 1
synopsis: A prettyprinting library for laying out text documents.
description: doclayout is a prettyprinting library for laying out
text documents, with several features not present
in prettyprinting libraries designed for code. It
was designed for use in pandoc.
homepage: https://github.com/jgm/doclayout
license: BSD3
license-file: LICENSE
author: John MacFarlane
maintainer: jgm@berkeley.edu
copyright: 2016-19 John MacFarlane
category: Text
build-type: Simple
extra-source-files: udhr/txt/*.txt,
udhr/README,
udhr/languages.txt,
src/Text/unicodeWidth.inc
data-files: README.md
changelog.md
cabal-version: >=1.10
library
hs-source-dirs: src
exposed-modules: Text.DocLayout
build-depends: base >= 4.12 && < 5,
text,
containers,
emojis >=0.1.2,
mtl,
safe
if !impl(ghc >= 8.0)
build-depends: semigroups == 0.18.*
default-language: Haskell2010
ghc-options: -Wall -fno-warn-unused-do-bind
test-suite doclayout-test
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: test.hs
build-depends: base,
doclayout,
mtl,
tasty,
tasty-golden,
tasty-hunit,
tasty-quickcheck,
text,
emojis >=0.1.2
ghc-options: -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010
benchmark doclayout-bench
Type: exitcode-stdio-1.0
Main-Is: bench.hs
Hs-Source-Dirs: bench
Build-Depends: doclayout,
base >= 4.8 && < 5,
criterion >= 1.0,
deepseq,
text,
emojis >= 0.1.2,
mtl
Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
Default-Language: Haskell2010
source-repository head
type: git
location: https://github.com/jgm/doclayout