packages feed

base64-bytestring-type-1: base64-bytestring-type.cabal

name:           base64-bytestring-type
version:        1
synopsis:       A newtype around ByteString, for base64 encoding
description:
  A newtype around ByteString, for base64 encoding.
  Strict and lazy, normal and url alphabet variants.
category:       Web
homepage:       https://github.com/futurice/haskell-base64-bytestring-type#readme
bug-reports:    https://github.com/futurice/haskell-base64-bytestring-type/issues
author:         Oleg Grenrus <oleg.grenrus@iki.fi>
maintainer:     Oleg Grenrus <oleg.grenrus@iki.fi>
license:        BSD3
license-file:   LICENSE
build-type:     Simple
cabal-version:  1.12
tested-with:
  GHC==7.4.2,
  GHC==7.6.3,
  GHC==7.8.4,
  GHC==7.10.3,
  GHC==8.0.2,
  GHC==8.2.2,
  GHC==8.4.1

extra-source-files:
    README.md

source-repository head
  type: git
  location: https://github.com/futurice/haskell-base64-bytestring-type

library
  hs-source-dirs:
      src
  ghc-options: -Wall

  -- boot libraries
  -- https://ghc.haskell.org/trac/ghc/wiki/Commentary/Libraries/VersionHistory
  build-depends:
      base               >=4.5.1.0  && <4.11
    , binary             >=0.5.1.0  && <0.10
    , bytestring         >=0.9.2.1  && <0.11
    , deepseq            >=1.3.0.0  && <1.5
    , text               >=1.2.3.0  && <1.3

  -- other dependencies:
  build-depends:
      aeson              >=1.2.3.0  && <1.3
    , base-compat        >=0.9.3    && <0.10
    , base64-bytestring  >=1.0.0.1  && <1.1
    , cereal             >=0.5.5.0  && <0.6
    , hashable           >=1.2.6.1  && <1.3
    , QuickCheck         >=2.11.3   && <2.12

  if !impl(ghc >= 8.0)
    build-depends: semigroups >=0.18.4 && <0.19

  if impl(ghc < 7.5)
    build-depends: ghc-prim

  exposed-modules:
      Data.ByteString.Base64.Type
      Data.ByteString.Base64.Lazy.Type
      Data.ByteString.Base64.URL.Type
      Data.ByteString.Base64.URL.Lazy.Type
  default-language: Haskell2010

test-suite tests
  default-language: Haskell2010
  type: exitcode-stdio-1.0
  main-is: Tests.hs
  hs-source-dirs:
      test
  ghc-options: -Wall

  -- dependencies with bounds inherited from library:
  build-depends:
      base
    , aeson
    , binary
    , bytestring
    , base64-bytestring-type
    , cereal

  -- other dependencies
  build-depends:
      tasty             >=0.10.0.2 && <1.1
    , tasty-quickcheck  >=0.8.3.2  && <0.10