packages feed

ascii-th-1.1.1.0: ascii-th.cabal

cabal-version: 3.0

name: ascii-th
version: 1.1.1.0
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-th
bug-reports: https://github.com/typeclasses/ascii-th/issues

extra-source-files: *.md

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

common base
    default-language: Haskell2010
    ghc-options: -Wall
    build-depends:
        ascii-case ^>= 1.0
      , ascii-caseless ^>= 0.0
      , ascii-char ^>= 1.0
      , ascii-superset ^>= 1.1.0
      , base ^>= 4.14 || ^>= 4.15 || ^>= 4.16 || ^>= 4.17

library
    import: base
    hs-source-dirs: library
    default-extensions: NoImplicitPrelude TemplateHaskell ViewPatterns
    build-depends:
        template-haskell ^>= 2.16 || ^>= 2.17 || ^>= 2.18 || ^>= 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: NoImplicitPrelude OverloadedStrings QuasiQuotes
        TemplateHaskell TypeApplications ViewPatterns
    build-depends:
        ascii-th
      , bytestring ^>= 0.10.12 || ^>= 0.11
      , hspec ^>= 2.8.5 || ^>= 2.9 || ^>= 2.10
      , text ^>= 1.2.4 || ^>= 2.0