packages feed

ginger-0.10.4.0: ginger.cabal

-- Initial ginger.cabal generated by cabal init.  For further
-- documentation, see http://haskell.org/cabal/users-guide/

name:                ginger
version:             0.10.4.0
synopsis:            An implementation of the Jinja2 template language in Haskell
description:         Ginger is Jinja, minus the most blatant pythonisms. Wants
                     to be feature complete, but isn't quite there yet.
homepage:            https://ginger.tobiasdammers.nl/
license:             MIT
license-file:        LICENSE
author:              Tobias Dammers
maintainer:          tdammers@gmail.com
-- copyright:
category:            Text
build-type:          Simple
extra-source-files:  README.md
                  ,  CHANGELOG.md
data-files: test/fixtures/*.json
cabal-version:       >=1.10
bug-reports:         https://github.com/tdammers/ginger/issues

source-repository head
    type: git
    location: https://github.com/tdammers/ginger

library
  exposed-modules: Text.Ginger
                 , Text.Ginger.AST
                 , Text.Ginger.GVal
                 , Text.Ginger.Html
                 , Text.Ginger.Optimizer
                 , Text.Ginger.Parse
                 , Text.Ginger.Run
                 , Text.Ginger.Run.Type
                 , Text.Ginger.Run.Builtins
                 , Text.PrintfA
                 , Text.Ginger.Run.VM
                 , Text.Ginger.Run.FuncUtils
  -- other-modules:
  -- other-extensions:
  build-depends: base >=4.8 && <5
               , aeson >=1.4.2.0 && <2.1
               , aeson-pretty >=0.8.7 && <0.9
               , bytestring >=0.10.8.2 && <0.11
               , containers >=0.6.4 && <0.7
               , data-default >= 0.5
               , filepath >= 1.3
               , http-types >= 0.8 && (< 0.11 || >= 0.12)
               , mtl >= 2.2
               , parsec >= 3.0
               , regex-tdfa >=1.2.3 && <=1.5
               , safe >= 0.3
               , scientific >= 0.3
               , text >=1.2.3.1 && <1.3
               , time >= 0.1.6.0
               , transformers >= 0.3
               , unordered-containers >= 0.2.5
               , utf8-string >=1.0.1.1 && <1.1
               , vector >=0.12.0.2 && <0.13
  if !impl(ghc >= 8.0)
    build-depends: semigroups == 0.18.*
  hs-source-dirs:      src
  default-language:    Haskell2010

executable ginger
    if impl(ghcjs)
        buildable: False
    main-is: GingerCLI.hs
    other-modules: Options
    hs-source-dirs: cli
    default-language:    Haskell2010
    build-depends: base >= 4.8 && <5
                 , ginger
                 , aeson >=1.4.2.0 && <2.1
                 , bytestring >=0.10.8.2 && <0.11
                 , data-default >= 0.5
                 , optparse-applicative >=0.14.3.0 && <0.17
                 , process >=1.6.5.0 && <1.7
                 , text >=1.2.3.1 && <1.3
                 , transformers >=0.5.6.2 && <0.6
                 , unordered-containers >= 0.2.5
                 , utf8-string >=1.0.1.1 && <1.1
                 , yaml >=0.11.0.0 && <0.12

test-suite tests
    type: exitcode-stdio-1.0
    main-is: Spec.hs
    other-modules: Text.Ginger.PropertyTests
                 , Text.Ginger.SimulationTests
    hs-source-dirs: test
    default-language: Haskell2010
    build-depends: base >=4.8 && <5
                 , ginger
                 , aeson >=1.4.2.0 && <2.1
                 , bytestring >=0.10.8.2 && <0.11
                 , data-default >=0.5
                 , mtl >=2.2.2 && <2.3
                 , tasty >=1.2 && <1.5
                 , tasty-hunit >=0.10.0.1 && <0.11
                 , tasty-quickcheck >=0.10 && <0.11
                 , text >=1.2.3.1 && <1.3
                 , time >= 0.1.6.0
                 , transformers >=0.5.6.2 && <0.6
                 , unordered-containers >= 0.2.5
                 , utf8-string >=1.0.1.1 && <1.1