bech32-th-1.1.7: bech32-th.cabal
cabal-version: 3.0
name: bech32-th
version: 1.1.7
synopsis: Template Haskell extensions to the Bech32 library.
description: Template Haskell extensions to the Bech32 library, including
quasi-quoters for compile-time checking of Bech32 string
literals.
author: IOHK Engineering Team
maintainer: operations@iohk.io, erikd@mega-nerd.com, mail@jonathanknowles.net
copyright: 2020-2023 IOHK
license: Apache-2.0
license-file: LICENSE
homepage: https://github.com/input-output-hk/bech32
bug-reports: https://github.com/input-output-hk/bech32/issues
category: Web
build-type: Simple
extra-doc-files:
ChangeLog.md
source-repository head
type: git
location: https://github.com/input-output-hk/bech32.git
flag release
description: Strict compiler warning checks.
default: False
manual: True
common dependency-base
build-depends:base >= 4.14.3.0 && < 4.21
common dependency-bech32
build-depends:bech32 >= 1.1.7 && < 1.2
common dependency-hspec
build-depends:hspec >= 2.11.7 && < 2.12
common dependency-template-haskell
build-depends:template-haskell >= 2.16.0.0 && < 2.23
common dependency-text
build-depends:text >= 1.2.4.1 && < 2.2
library
import:
, dependency-base
, dependency-bech32
, dependency-template-haskell
, dependency-text
default-language:
Haskell2010
default-extensions:
NoImplicitPrelude
OverloadedStrings
ghc-options:
-Wall -Wcompat -fwarn-redundant-constraints
if flag(release)
ghc-options: -Werror
hs-source-dirs:
src
exposed-modules:
Codec.Binary.Bech32.TH
test-suite bech32-th-test
import:
, dependency-base
, dependency-bech32
, dependency-hspec
, dependency-template-haskell
build-depends:
, bech32-th
build-tool-depends:
, hspec-discover:hspec-discover
default-language:
Haskell2010
default-extensions:
NoImplicitPrelude
OverloadedStrings
type:
exitcode-stdio-1.0
hs-source-dirs:
test
ghc-options:
-Wall
-threaded -rtsopts -with-rtsopts=-N
if flag(release)
ghc-options: -Werror
main-is:
Main.hs
other-modules:
Codec.Binary.Bech32.THSpec