packages feed

base64-lens-0.4: base64-lens.cabal

cabal-version:      2.0
name:               base64-lens
version:            0.4
synopsis:           Optics for the Base64 library
description:        Optics and pattern synonyms for Base64 values
homepage:           https://github.com/emilypi/base64-lens
bug-reports:        https://github.com/emilypi/base64-lens/issues
license:            BSD3
license-file:       LICENSE
author:             Emily Pillmore
maintainer:         Emily Pillmore <emilypi@cohomolo.gy>
copyright:          (c) 2019-2026 Emily Pillmore
category:           Data
build-type:         Simple
extra-doc-files:
  CHANGELOG.md
  README.md

tested-with:
  GHC ==9.6.7 || ==9.8.4 || ==9.10.3 || ==9.12.4 || ==9.14.1

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

library
  exposed-modules:
    Data.Base64.Types.Lens
    Data.ByteString.Base64.Lens
    Data.ByteString.Lazy.Base64.Lens
    Data.ByteString.Short.Base64.Lens
    Data.Text.Encoding.Base64.Error.Lens
    Data.Text.Encoding.Base64.Lens
    Data.Text.Lazy.Encoding.Base64.Lens
    Data.Text.Short.Encoding.Base64.Lens

  build-depends:
      base        >=4.18 && <4.23
    , base64      ^>=2.0
    , bytestring  >=0.11 && <0.13
    , lens        >=5.0  && <5.4
    , text        >=2.0  && <2.3
    , text-short  ^>=0.1

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

test-suite tests
  type:             exitcode-stdio-1.0
  hs-source-dirs:    test
  main-is:          Main.hs
  default-language: Haskell2010
  ghc-options:      -Wall
  build-depends:
      base
    , base64
    , base64-lens
    , bytestring
    , lens
    , tasty             >=1.4 && <1.6
    , tasty-hunit       ^>=0.10
    , tasty-quickcheck  >=0.10 && <0.12
    , text
    , text-short