-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbrotli.cabal
100 lines (86 loc) · 3.24 KB
/
brotli.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
cabal-version: 1.12
build-type: Simple
name: brotli
version: 0.0.0.2
synopsis: Brotli (RFC7932) compression and decompression
homepage: https://github.com/haskell-hvr/brotli
bug-reports: https://github.com/haskell-hvr/brotli/issues
license: GPL-3
license-file: LICENSE
author: Herbert Valerio Riedel
maintainer: https://github.com/haskell-hvr/brotli
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>)
.
tested-with:
GHC == 9.12.1
GHC == 9.10.1
GHC == 9.8.4
GHC == 9.6.6
GHC == 9.4.8
GHC == 9.2.8
GHC == 9.0.2
GHC == 8.10.7
GHC == 8.8.4
GHC == 8.6.5
GHC == 8.4.4
GHC == 8.2.2
GHC == 8.0.2
extra-source-files:
CHANGELOG.md
cbits/hs_brotli.h
source-repository head
type: git
location: https://github.com/haskell-hvr/brotli.git
library
hs-source-dirs: src
exposed-modules: Codec.Compression.Brotli
other-modules: LibBrotli
build-depends: base >=4.9 && <5
, bytestring >=0.9.2 && <0.13
, transformers >=0.3.0.0 && <0.7
default-language: Haskell2010
pkgconfig-depends: libbrotlienc
, libbrotlidec
include-dirs: cbits
ghc-options:
-Wall
-Wcompat
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.11.3 && < 2.16
-- LTS 12.26 has QuickCheck-2.11.3
, tasty >= 1.1.0.4 && < 1.6
-- LTS 12.26 has tasty-1.1.0.4
, tasty-hunit == 0.10.*
, tasty-quickcheck >= 0.10 && < 1
ghc-options:
-threaded
-Wall
-Wcompat