brotli-0.0.0.0: brotli.cabal
cabal-version: 1.12
build-type: Simple
name: brotli
version: 0.0.0.0
synopsis: Brotli (RFC7932) compression and decompression
homepage: https://github.com/hvr/brotli
bug-reports: https://github.com/hvr/brotli/issues
license: GPL-3
license-file: LICENSE
author: Herbert Valerio Riedel
maintainer: hvr@gnu.org
copyright: (c) 2016, Herbert Valerio Riedel
category: Codec, Compression
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 a pure interface for compressing and
decompressing Brotli streams of data represented as lazy @ByteString@s. A
monadic incremental interface is provided as well. This package
relies on Google's C implementation.
.
The following packages are based on this package and provide
API support for popular streaming frameworks:
.
* </package/brotli-streams brotli-streams> (for </package/io-streams io-streams>)
.
* </package/pipes-brotli pipes-brotli> (for </package/pipes pipes>)
.
* </package/brotli-conduit brotli-conduit> (for </package/conduit conduit>)
.
extra-source-files:
cbits/hs_brotli.h
source-repository head
type: git
location: https://github.com/hvr/brotli.git
library
hs-source-dirs: src
exposed-modules: Codec.Compression.Brotli
other-modules: LibBrotli
build-depends: base >=4.5 && <4.13
, bytestring >=0.9.2 && <0.11
, transformers >=0.3.0.0 && <0.6
default-language: Haskell2010
pkgconfig-depends: libbrotlienc
, libbrotlidec
include-dirs: cbits
ghc-options: -Wall
test-suite brotli-tests
default-language: Haskell2010
other-extensions: OverloadedStrings
hs-source-dirs: src-tests
type: exitcode-stdio-1.0
main-is: brotli-tests.hs
-- dependencies with version bounds inherited from the library stanza
build-depends: brotli
, base
, bytestring
-- additional dependencies that require version bounds
build-depends: HUnit == 1.6.*
, QuickCheck == 2.13.*
, tasty == 1.2.*
, tasty-hunit == 0.10.*
, tasty-quickcheck == 0.10.*
ghc-options: -Wall -threaded