packages feed

mustache-2.4.0: mustache.cabal

cabal-version: 1.12

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

name:           mustache
version:        2.4.0
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 - 2022 Justus Adam
license:        BSD3
license-file:   LICENSE
build-type:     Simple
tested-with:
    GHC>=7.8 && <=7.10.2
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
  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
  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
    , filepath
    , mtl >=2.2.1
    , parsec
    , scientific
    , template-haskell
    , text
    , th-lift
    , unordered-containers
    , vector
  default-language: Haskell2010

executable haskell-mustache
  main-is: Main.hs
  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
  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