cabal-version:      2.2
name:               zinza
version:            0.2.1
x-revision:         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.6.5
   || ==8.8.4
   || ==8.10.7
   || ==9.0.2
   || ==9.2.8
   || ==9.4.8
   || ==9.6.7
   || ==9.8.4
   || ==9.10.2
   || ==9.12.2

extra-source-files:
  Changelog.md
  fixtures/*.hs
  fixtures/*.txt
  fixtures/*.zinza

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.12.0.0 || ^>=4.13.0.0 || ^>=4.14.0.0 || ^>=4.15.0.0 || ^>=4.16.0.0 || ^>=4.17.0.0 || ^>=4.18.0.0 || ^>=4.19.0.0 || ^>=4.20.0.0 || ^>=4.21.0.0
    , containers    ^>=0.6.0.1  || ^>=0.7
    , parsec        ^>=3.1.13.0
    , text          ^>=1.2.3.0  || ^>=2.0      || ^>=2.1
    , transformers  ^>=0.5.6.2  || ^>=0.6.0.2

  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:
    Bools
    CabalInstall
    Fancy
    Licenses

  build-depends:
    , base
    , bytestring            ^>=0.10.8.2 || ^>=0.11.1.0 || ^>=0.12.0.2
    , containers
    , QuickCheck            ^>=2.15
    , quickcheck-instances  ^>=0.3.22
    , tasty                 ^>=1.5
    , tasty-golden          ^>=2.3.2
    , tasty-hunit           ^>=0.10.0.2
    , tasty-quickcheck      ^>=0.10.1
    , zinza