packages feed

glabrous-2.1.0.0: glabrous.cabal

cabal-version:      3.0
name:               glabrous
version:            2.1.0.0
synopsis:           A template DSL library
description:
  A minimalistic, Mustache-like syntax, truly logic-less,
  pure Text template DSL library

homepage:           https://github.com/MichelBoucey/glabrous
license:            BSD-3-Clause
license-file:       LICENSE
author:             Michel Boucey
maintainer:         michel.boucey@gmail.com
copyright:          (c) 2016-2026 - Michel Boucey
category:           Text, Web
build-type:         Simple
extra-source-files: README.md
extra-doc-files:    CHANGELOG.md
tested-with:
  GHC ==8.8.4
   || ==8.10.7
   || ==9.0.2
   || ==9.2.8
   || ==9.4.8
   || ==9.6.7
   || ==9.8.4
   || ==9.10.3
   || ==9.12.2
   || ==9.14.1

source-repository head
  type:     git
  location: https://github.com/MichelBoucey/glabrous.git

library
  hs-source-dirs:   src
  exposed-modules:
    Text.Glabrous
    Text.Glabrous.Types

  other-modules:    Text.Glabrous.Internal
  build-depends:
      aeson                 >=2        && <2.4
    , aeson-pretty          >=0.7.2    && <0.9
    , attoparsec            >=0.12.1.6 && <0.15
    , base                  >=4.8.1.0  && <5
    , bytestring            >=0.10.6   && <0.13
    , cereal                >=0.4.1.1  && <0.6
    , cereal-text           >=0.1.0    && <0.2
    , text                  >=1.2.1    && <2.2
    , unordered-containers  >=0.2.5.1  && <0.3

  if !impl(ghc >=9.4.8)
    build-depends: either >=4.4.1 && <5.1

  default-language: Haskell2010
  ghc-options:      -Wall

test-suite tests
  type:             exitcode-stdio-1.0
  hs-source-dirs:   tests
  main-is:          hspec.hs
  build-depends:
      base                  >=4.8    && <5
    , directory             >=1.2.0  && <1.4
    , either                >=4.4.1  && <5.1
    , glabrous
    , hspec                 >=2.1.10 && <3
    , text                  >=1.2.1  && <2.2
    , unordered-containers  >=0.2    && <0.3

  default-language: Haskell2010