packages feed

brotli-conduit-0.0.0.0: brotli-conduit.cabal

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

synopsis:            Conduit interface for Brotli (RFC7932) 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 an Conduit interface for the <https://brotli.org Brotli compression algorithm>.

license:             BSD3
license-file:        LICENSE
author:              Nathan Howell, Herbert Valerio Riedel
maintainer:          hvr@gnu.org
homepage:            http://github.com/hvr/brotli-conduit
bug-reports:         http://github.com/hvr/brotli-conduit/issues
category:            Codec, Compression, Conduit

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

library
  default-language:    Haskell2010
  other-extensions:    Trustworthy
  hs-source-dirs:      src
  exposed-modules:     Data.Conduit.Brotli
  build-depends:
      base              >= 4.5     && < 4.13,
      bytestring        >= 0.9.2   && < 0.11,
      conduit           >= 1.1.0   && < 1.4,
      brotli            >= 0.0.0.0 && < 0.1,
      resourcet         >= 1.1.0   && < 1.3,
      transformers      >= 0.3.0.0 && < 0.6

  ghc-options:         -Wall

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

  build-depends:
      -- dependencies with version bounds inherited from the library stanza
      base,
      brotli-conduit,
      bytestring,
      conduit,
      resourcet,
      -- additional dependencies that require version bounds
      test-framework == 0.8.*,
      test-framework-hunit == 0.3.*,
      test-framework-quickcheck2 == 0.3.*,
      HUnit == 1.6.*,
      QuickCheck == 2.13.*

  ghc-options:    -threaded -fno-warn-deprecations