File: doctemplates.cabal

package info (click to toggle)
haskell-doctemplates 0.11.0.1-1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 288 kB
  • sloc: haskell: 1,223; makefile: 7
file content (87 lines) | stat: -rw-r--r-- 3,003 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
name:                doctemplates
version:             0.11.0.1
synopsis:            Pandoc-style document templates
description:         This is the text templating system used by pandoc.
                     It supports variable interpolation, iteration,
                     tests for non-blank values, pipes, and partials.
                     Templates are rendered to doclayout Docs,
                     and variable values may come from a variety of
                     different sources, including aeson Values.
homepage:            https://github.com/jgm/doctemplates#readme
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:
data-files:          README.md
                     changelog.md
extra-source-files:  test/*.test
                     test/*.txt
                     test/*.tex
cabal-version:       >=1.10

library
  hs-source-dirs:      src
  exposed-modules:     Text.DocTemplates
                       Text.DocTemplates.Parser
                       Text.DocTemplates.Internal
  build-depends:       base >= 4.9 && < 5,
                       safe,
                       text-conversions,
                       aeson,
                       text,
                       doclayout >= 0.4 && < 0.6,
                       containers,
                       vector,
                       filepath,
                       parsec,
                       mtl,
                       scientific
  if !impl(ghc >= 8.0)
    build-depends:     semigroups == 0.18.*
  default-language:    Haskell2010
  ghc-options:         -Wall -fno-warn-unused-do-bind

test-suite doctemplates-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             test.hs
  build-depends:       base,
                       doctemplates,
                       doclayout >= 0.4 && < 0.6,
                       containers,
                       aeson,
                       Glob,
                       tasty,
                       tasty-golden,
                       tasty-hunit,
                       filepath,
                       temporary,
                       bytestring,
                       text
  ghc-options:         -threaded
  default-language:    Haskell2010

benchmark doctemplates-bench
  Type:            exitcode-stdio-1.0
  Main-Is:         bench.hs
  Hs-Source-Dirs:  bench
  Build-Depends:   doctemplates,
                   doclayout >= 0.4 && < 0.6,
                   base >= 4.8 && < 5,
                   criterion >= 1.0,
                   filepath,
                   aeson,
                   text,
                   containers,
                   mtl
  Ghc-Options:   -rtsopts -Wall -fno-warn-unused-do-bind
  Default-Language: Haskell2010


source-repository head
  type:     git
  location: https://github.com/jgm/doctemplates