packages feed

zinza-0.1: zinza.cabal

cabal-version:      2.2
name:               zinza
version:            0.1
synopsis:           Typed templates with jinja like syntax
category:           Text, Template
description:
  Typed templates with jinja like syntax. Well-typed templates don't go wrong.

license:            GPL-2.0-or-later
license-file:       LICENSE
maintainer:         Oleg Grenrus <oleg.grenrus@iki.fi>
copyright:          (c) 2019 Oleg Grenrus
author:             Oleg.Grenrus <oleg.grenrus@iki.fi>
homepage:           https://github.com/phadej/zinza
bug-reports:        https://github.com/phadej/zinza/issues
tested-with:        GHC ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.1
extra-source-files:
  fixtures/*.zinza
  fixtures/*.hs
  fixtures/*.txt

source-repository head
  type:     git
  location: https://github.com/phadej/zinza.git

library
  default-language: Haskell2010
  hs-source-dirs:   src
  exposed-modules:  Zinza
  build-depends:
    , base          ^>=4.10.0.0 || ^>=4.11.0.0 || ^>=4.12.0.0 || ^>=4.13.0.0
    , containers    ^>=0.5.10.2 || ^>=0.6.0.1
    , parsec        ^>=3.1.13.0
    , text          ^>=1.2.3.0
    , transformers  ^>=0.5.2.0

  other-modules:
    Zinza.Check
    Zinza.Class
    Zinza.Errors
    Zinza.Expr
    Zinza.Generic
    Zinza.Indexing
    Zinza.Module
    Zinza.Node
    Zinza.Parser
    Zinza.Pos
    Zinza.Type
    Zinza.Value
    Zinza.Var
    Zinza.Writer

test-suite zinza-tests
  default-language: Haskell2010
  type:             exitcode-stdio-1.0
  hs-source-dirs:   test
  main-is:          Tests.hs
  other-modules:
    Fancy
    Licenses

  build-depends:
    , base
    , bytestring    ^>=0.10.8.2
    , containers
    , tasty         ^>=1.2.3
    , tasty-golden  ^>=2.3.2
    , tasty-hunit   ^>=0.10.0.2
    , zinza