cabal-version: 3.0

name: ascii-case
version: 1.0.0.11
x-revision: 1
synopsis: ASCII letter case
category: Data, Text

description:
    This package defines a @Case@ type that describes the
    two varieties of ASCII letter: capital and small.

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

    build-depends:
        ascii-char ^>= 1.0
      , base >= 4.14 && < 4.18

library
    import: base
    hs-source-dirs: library

    default-extensions:
        StandaloneDeriving
        DerivingStrategies
        DeriveAnyClass
        DeriveDataTypeable
        DeriveGeneric

    build-depends:
        hashable >= 1.3 && < 1.5

    exposed-modules:
        ASCII.Case

test-suite test-ascii-case
    import: base
    type: exitcode-stdio-1.0
    hs-source-dirs: test
    main-is: Main.hs

    default-extensions:
        OverloadedStrings
        QuasiQuotes

    build-depends:
        ascii-case