packages feed

ascii-th-1.0.0.10: ascii-th.cabal

cabal-version: 3.0

name: ascii-th
version: 1.0.0.10
synopsis: Template Haskell support for ASCII
category: Data, Text

description:
    This package defines Template Haskell support for ASCII,
    including quasi-quoters for expressing ASCII strings.

license: Apache-2.0
license-file: license.txt

author: Chris Martin
maintainer: Chris Martin, Julie Moronuki

homepage: https://github.com/typeclasses/ascii
bug-Reports: https://github.com/typeclasses/ascii/issues

build-type: Simple

source-repository head
    type: git
    location: git://github.com/typeclasses/ascii.git

common base
    default-language: Haskell2010
    ghc-options: -Wall

    default-extensions:
        NoImplicitPrelude
        QuasiQuotes
        TemplateHaskell
        ViewPatterns

    build-depends:
        ascii-char ^>= 1.0
      , ascii-superset ^>= 1.0
      , base >= 4.11 && < 4.17

library
    import: base
    hs-source-dirs: library

    build-depends:
        template-haskell >= 2.13 && < 2.19

    exposed-modules:
        ASCII.TemplateHaskell
      , ASCII.QuasiQuoters

test-suite test-ascii-th
    import: base
    type: exitcode-stdio-1.0
    ghc-options: -fno-warn-overlapping-patterns
    hs-source-dirs: test
    main-is: Main.hs

    default-extensions:
        OverloadedStrings

    build-depends:
        ascii-th
      , bytestring ^>= 0.10 || ^>= 0.11
      , hedgehog ^>= 1.0 || ^>= 1.1
      , text ^>= 1.2.3