codet-0.1.0.2: codet.cabal
cabal-version: 2.4
name: codet
version: 0.1.0.2
license: BSD-3-Clause
license-file: LICENSE
author: Oleg Grenrus <oleg.grenrus@iki.fi>
maintainer: Oleg Grenrus <oleg.grenrus@iki.fi>
copyright: 2023 Oleg Grenrus, Well-Typed LLP
category: Data
build-type: Simple
extra-doc-files: CHANGELOG.md
tested-with:
GHC ==9.0.2
|| ==9.2.8
|| ==9.4.8
|| ==9.6.7
|| ==9.8.4
|| ==9.10.3
|| ==9.12.4
|| ==9.14.1
synopsis: CodeT
description: CodeT.
extra-source-files: tests/*.txt
source-repository head
type: git
location: https://github.com/phadej/codet.git
subdir: codet
common language
default-language: Haskell2010
library
import: language
hs-source-dirs: src
exposed-modules:
Language.Haskell.TH.CodeT
Language.Haskell.TH.CodeT.Unsafe
-- 4.16.4.0 to allow ghc-9.2.3 used by Hackage docbuilder 2023-12
build-depends:
, base ^>=4.15.1.0 || ^>=4.16.3.0 || ^>=4.17.2.1 || ^>=4.18.1.0 || ^>=4.19.0.0 || ^>=4.20.0.0 || ^>=4.21.0.0 || ^>=4.22.0.0
, bytestring ^>=0.10.2.1 || ^>=0.11.4.0 || ^>=0.12.0.2
, containers ^>=0.6.4.1 || ^>=0.7 || ^>=0.8
, template-haskell ^>=2.17.0.0 || ^>=2.18.0.0 || ^>=2.19.0.0 || ^>=2.20.0.0 || ^>=2.21.0.0 || ^>=2.22.0.0 || ^>=2.23.0.0 || ^>=2.24.0.0
, text ^>=1.2.5.0 || ^>=2.0.2 || ^>=2.1
, time ^>=1.9.3 || ^>=1.11.1 || ^>=1.12.2 || ^>=1.14 || ^>=1.15
test-suite codet-tests
import: language
type: exitcode-stdio-1.0
hs-source-dirs: tests
main-is: codet-tests.hs
build-depends:
, base
, codet
, template-haskell
-- test dependencies
build-depends:
, directory ^>=1.3.6.2
, filepath ^>=1.4.2.1 || ^>=1.5.2.0
, syb ^>=0.7.2.4
, tasty ^>=1.5
, tasty-golden ^>=2.3.5
, transformers ^>=0.5.6.2 || ^>=0.6.1.0