packages feed

brotli-streams-0.0.0.0: brotli-streams.cabal

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

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

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 IO-Streams interface for the Brotli compression algorithm.
    .
    Decompressing Brotli 'InputStreams' and compressing 'OutputStreams'
    to Brotli streams with tunable (de)compression parameters is supported.
    .

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

library
  default-language:    Haskell2010
  other-extensions:    Trustworthy

  hs-source-dirs:      src
  exposed-modules:     System.IO.Streams.Brotli

  build-depends:       base       >=4.5    && <4.13,
                       bytestring >=0.9.2  && <0.11,
                       io-streams >=1.3    && <1.6,
                       brotli     ==0.0.*

  ghc-options:         -Wall

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

  build-depends:       base,
                       bytestring,
                       io-streams,
                       brotli-streams,

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

  ghc-options:         -Wall -threaded