packages feed

base32-lens-0.1.0.0: base32-lens.cabal

cabal-version:       1.24

name:                base32-lens
version:             0.1.0.0
synopsis:            Optics for the Base32 library
description:
  Prisms and pattern synonyms for the Base32 library
homepage:            https://github.com/emilypi/base32-lens
bug-reports:         https://github.com/emilypi/base32-lens/issues
license:             BSD3
license-file:        LICENSE
author:              Emily Pillmore
maintainer:          emilypi@cohomolo.gy
copyright:           (c) 2020 Emily Pillmore
category:            Data
build-type:          Custom
extra-source-files:
  CHANGELOG.md
  README.md

tested-with:         GHC ==8.8.1 || ==8.6.5 || ==8.6.3 || ==8.4.4 || ==8.4.3 || ==8.2.2

source-repository head
  type:     git
  location: https://github.com/emilypi/base32.git


custom-setup
  setup-depends:
      base           >=4.10 && <5
    , Cabal
    , cabal-doctest


library
  exposed-modules:     Data.ByteString.Base32.Lens
                     , Data.Text.Encoding.Base32.Lens

  build-depends:       base       >=4.10 && <5
                     , base32     >=0.1  && <0.2
                     , bytestring >=0.10 && <0.11
                     , lens       >=4.0  && <5
                     , text       >=1.2  && <1.3

  hs-source-dirs:      src
  default-language:    Haskell2010
  ghc-options:         -Wall


test-suite doctests
  default-language:    Haskell2010
  type:                exitcode-stdio-1.0
  main-is:             doctests.hs

  build-depends:       base            >=4.10  && <5
                     , base32-lens
                     , doctest
                     , lens

  hs-source-dirs:      test
  ghc-options:         -Wall -threaded
  x-doctest-options:   --fast