cabal-version: 1.12

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

name:           th-printf
version:        0.8
synopsis:       Quasiquoters for printf
description:    Quasiquoters for string and text printf
category:       Text
homepage:       https://github.com/pikajude/th-printf#readme
bug-reports:    https://github.com/pikajude/th-printf/issues
author:         Jude Taylor
maintainer:     me@jude.xyz
license:        MIT
license-file:   LICENSE
tested-with:
    GHC == 8.6.5, GHC == 8.8.4, GHC == 8.10.7, GHC == 9.0.2, GHC == 9.2.7, GHC == 9.4.5, GHC == 9.6.2
build-type:     Simple
extra-source-files:
    CHANGELOG.md

source-repository head
  type: git
  location: https://github.com/pikajude/th-printf

flag werror
  description: Build with -Werror
  manual: True
  default: False

library
  exposed-modules:
      Language.Haskell.Printf
      Language.Haskell.Printf.Lib
  other-modules:
      Buf
      Language.Haskell.Printf.Geometry
      Language.Haskell.Printf.Printers
      Language.Haskell.PrintfArg
      NumUtils
      StrUtils
      Parser
      Parser.Types
      Paths_th_printf
  hs-source-dirs:
      src
      parser
  ghc-options: -Wall
  build-depends:
      base >=4.12 && <5
    , charset
    , containers
    , dlist
    , integer-logarithms
    , microlens-platform
    , mtl
    , parsec
    , semigroups
    , template-haskell
    , text
    , th-lift
    , transformers
  default-language: Haskell2010
  if flag(werror)
    ghc-options: -Werror

test-suite format
  type: exitcode-stdio-1.0
  main-is: format.hs
  other-modules:
      GeneratedSpec
      Paths_th_printf
  hs-source-dirs:
      tests/printf
  ghc-options: -Wall -fno-warn-type-defaults
  build-depends:
      HUnit
    , QuickCheck
    , base >=4.12 && <5
    , hspec
    , template-haskell
    , text
    , th-printf
  default-language: Haskell2010
  if flag(werror)
    ghc-options: -Werror