File: mustache.cabal

package info (click to toggle)
haskell-mustache 2.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 184 kB
  • sloc: haskell: 1,165; makefile: 3
file content (137 lines) | stat: -rw-r--r-- 3,259 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.31.2.
--
-- see: https://github.com/sol/hpack
--
-- hash: 8ffde004ee64f5b057ed66f76bbc72cbb71cdc81dcebe9e822563fdb11a8b338

name:           mustache
version:        2.3.1
synopsis:       A mustache template parser library.
description:    Allows parsing and rendering template files with mustache markup. See the
                mustache <http://mustache.github.io/mustache.5.html language reference>.
                .
                Implements the mustache spec version 1.1.3.
                .
                /Note/: Versions including and beyond 0.4 are compatible with ghc 7.8 again.
category:       Development
homepage:       https://github.com/JustusAdam/mustache
bug-reports:    https://github.com/JustusAdam/mustache/issues
author:         Justus Adam
maintainer:     dev@justus.science
copyright:      (c) 2015 - 2019 Justus Adam
license:        BSD3
license-file:   LICENSE
tested-with:    GHC>=7.8 && <=7.10.2
build-type:     Simple
extra-source-files:
    README.md
    CHANGELOG.md
    test/unit/examples/test-template-partials.txt.mustache
    test/unit/examples/test-template.txt.mustache
    test/unit/examples/partials/test-partial.txt.mustache

source-repository head
  type: git
  location: git://github.com/JustusAdam/mustache.git

library
  hs-source-dirs:
      src
  default-extensions: LambdaCase TupleSections
  other-extensions: NamedFieldPuns OverloadedStrings LambdaCase TupleSections TemplateHaskell QuasiQuotes
  ghc-options: -Wall
  build-depends:
      aeson
    , base >=4.7 && <5
    , bytestring
    , containers
    , directory
    , either
    , filepath
    , mtl >=2.2.1
    , parsec
    , scientific
    , template-haskell
    , text
    , th-lift
    , unordered-containers
    , vector
  exposed-modules:
      Text.Mustache
      Text.Mustache.Types
      Text.Mustache.Parser
      Text.Mustache.Compile
      Text.Mustache.Render
  other-modules:
      Text.Mustache.Internal
      Text.Mustache.Internal.Types
      Paths_mustache
  default-language: Haskell2010

executable haskell-mustache
  main-is: Main.hs
  buildable: False
  other-modules:
      Paths_mustache
  hs-source-dirs:
      app
  ghc-options: -threaded -Wall
  build-depends:
      aeson
    , base >=4.7 && <5
    , bytestring
    , cmdargs
    , filepath
    , mustache
    , text
    , yaml
  default-language: Haskell2010

test-suite language-specifications
  type: exitcode-stdio-1.0
  main-is: Language.hs
  buildable: False
  other-modules:
      Paths_mustache
  hs-source-dirs:
      test/integration
  build-depends:
      aeson
    , base >=4.7 && <5
    , base-unicode-symbols
    , bytestring
    , filepath
    , hspec
    , lens
    , mustache
    , tar
    , text
    , unordered-containers
    , wreq
    , yaml
    , zlib
  default-language: Haskell2010

test-suite unit-tests
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Paths_mustache
  hs-source-dirs:
      test/unit
  build-depends:
      aeson
    , base >=4.7 && <5
    , bytestring
    , directory
    , filepath
    , hspec
    , mustache
    , process
    , temporary
    , text
    , unordered-containers
    , yaml
  default-language: Haskell2010