packages feed

streaming-brotli-0.0.0.0: streaming-brotli.cabal

cabal-version:       1.12
build-type:          Simple
name:                streaming-brotli
version:             0.0.0.0

synopsis:            Streaming interface for Brotli (RFC7932) compression
homepage:            https://github.com/hvr/streaming-brotli
bug-reports:         https://github.com/hvr/streaming-brotli/issues
license:             BSD3
license-file:        LICENSE
author:              Herbert Valerio Riedel
maintainer:          hvr@gnu.org
category:            Codec, Compression, Streaming

description:
    <http://brotli.org Brotli> (<https://tools.ietf.org/html/rfc7932 RFC7932>) is a generic-purpose lossless compression algorithm suitable for <https://en.wikipedia.org/wiki/HTTP_compression HTTP compression> that compresses data using a combination of a modern variant of the LZ77 algorithm, Huffman coding and 2nd order context modeling.
    .
    This package provides an <http://hackage.haskell.org/package/streaming streaming> API for the Brotli compression algorithm.
    .

source-repository head
  type:     git
  location: https://github.com/hvr/streaming-brotli.git

library
  default-language:    Haskell2010
  other-extensions:    Trustworthy LambdaCase

  hs-source-dirs:      src
  exposed-modules:     Streaming.Brotli

  build-depends:       base                 >= 4.8    && < 4.13
                     , bytestring           >= 0.10.6 && < 0.11
                     , brotli               == 0.0.*
                     , streaming-bytestring >= 0.1.6  && < 0.2
                     , streaming            == 0.2.*

  ghc-options:         -Wall

test-suite test
  default-language:    Haskell2010
  hs-source-dirs:      src-tests
  main-is:             test.hs
  type:                exitcode-stdio-1.0

  build-depends:       base
                     , bytestring
                     , streaming
                     , streaming-brotli
                     , streaming-bytestring

                     , HUnit                      == 1.6.*
                     , QuickCheck                 == 2.13.*
                     , test-framework             == 0.8.*
                     , test-framework-hunit       == 0.3.*
                     , test-framework-quickcheck2 == 0.3.*

  ghc-options:         -Wall -threaded