packages feed

th-test-utils-1.1.0: th-test-utils.cabal

cabal-version: >= 1.10

-- This file has been generated from package.yaml by hpack version 0.33.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: 2ec6fa51cea97a219a17187389530388c5e93cfe52e0ae659b249dbb68a5171b

name:           th-test-utils
version:        1.1.0
synopsis:       Utility functions for testing Template Haskell code
description:    Utility functions for testing Template Haskell code, including
                functions for testing failures in the Q monad.
category:       Testing
homepage:       https://github.com/LeapYear/th-test-utils#readme
bug-reports:    https://github.com/LeapYear/th-test-utils/issues
author:         Brandon Chinn <brandon@leapyear.io>
maintainer:     Brandon Chinn <brandon@leapyear.io>
license:        BSD3
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    CHANGELOG.md

source-repository head
  type: git
  location: https://github.com/LeapYear/th-test-utils

library
  exposed-modules:
      Language.Haskell.TH.TestUtils
      Language.Haskell.TH.TestUtils.QMode
      Language.Haskell.TH.TestUtils.QState
  other-modules:
      Paths_th_test_utils
  hs-source-dirs:
      src
  ghc-options: -Wall
  build-depends:
      base >=4.9 && <5
    , template-haskell >=2.11.1.0 && <2.17
    , th-orphans >=0.13.4 && <0.13.11
    , transformers >=0.5.2 && <0.5.7
  if impl(ghc >= 8.0)
    ghc-options: -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wnoncanonical-monad-instances
  if impl(ghc < 8.8)
    ghc-options: -Wnoncanonical-monadfail-instances
  default-language: Haskell2010

test-suite th-test-utils-test
  type: exitcode-stdio-1.0
  main-is: Main.hs
  other-modules:
      TestLib
      TH
      Paths_th_test_utils
  hs-source-dirs:
      test
  ghc-options: -Wall
  build-depends:
      base >=4.9 && <5
    , bytestring
    , tasty
    , tasty-golden
    , tasty-hunit
    , template-haskell >=2.11.1.0 && <2.17
    , th-orphans >=0.13.4 && <0.13.11
    , th-test-utils
    , transformers >=0.5.2 && <0.5.7
  if impl(ghc >= 8.0)
    ghc-options: -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wnoncanonical-monad-instances
  if impl(ghc < 8.8)
    ghc-options: -Wnoncanonical-monadfail-instances
  default-language: Haskell2010