-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlzip.cabal
96 lines (83 loc) · 3.29 KB
/
lzip.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
cabal-version: 1.12
build-type: Simple
name: lzip
version: 0.0.0.0
synopsis: Lzip compression / Lzlib bindings
homepage: https://github.com/hvr/lzlib
bug-reports: https://github.com/hvr/lzlib/issues
license: GPL-3
license-files: LICENSE
lzlib-1.11/COPYING
author: Herbert Valerio Riedel
maintainer: [email protected]
copyright: (c) 2019, Herbert Valerio Riedel
category: Codec, Compression
description:
Lzip is a data compression format based on <https://en.wikipedia.org/wiki/LZMA LZMA (Lempel–Ziv–Markov chain algorithm)>.
.
The <https://www.nongnu.org/lzip/manual/lzlib_manual.html#Data-format Lzip file format> is designed for data sharing and long-term archiving, taking into account both data integrity and decoder availability (see the <https://www.nongnu.org/lzip/lzlib.html Lzlib homepage> for more details).
.
This package provides low-level FFI bindings to the Lzlib C library as well as a monadic 'ByteString'-based mid-level API for the 'IO' and 'ST' monads.
extra-source-files:
cbits/hs_lzlib.h
lzlib-1.11/cbuffer.c
lzlib-1.11/decoder.c
lzlib-1.11/decoder.h
lzlib-1.11/encoder_base.c
lzlib-1.11/encoder_base.h
lzlib-1.11/encoder.c
lzlib-1.11/encoder.h
lzlib-1.11/fast_encoder.c
lzlib-1.11/fast_encoder.h
lzlib-1.11/hs_lzlib.h
lzlib-1.11/lzip.h
lzlib-1.11/lzlib.c
lzlib-1.11/lzlib.h
source-repository head
type: git
location: https://github.com/hvr/lzlib.git
flag int-cast
manual: True
default: False
description: Enable additional static compile-time checks via @int-cast@ library
flag use-system-lzlib
manual: True
default: False
description: Whether to use system-provided @lzlib@ C library; if this flag is set to false, an embedded vendored copy of @lzlib-0.11@ will be compiled and linked
library
hs-source-dirs: src
exposed-modules: Codec.Compression.Lzlib
Codec.Compression.Lzlib.FFI
Codec.Compression.Lzlib.ST
other-modules: Internal
build-depends: base >=4.5 && <4.14
, bytestring >=0.9.2 && <0.11
if flag(int-cast)
build-depends: int-cast == 0.2.*
build-tools: hsc2hs
default-language: Haskell2010
if flag(use-system-lzlib)
include-dirs: cbits
extra-libraries: lz
else
include-dirs: lzlib-1.11
ghc-options: -Wall
-- test-suite lzlib-tests
-- default-language: Haskell2010
-- other-extensions: OverloadedStrings
-- hs-source-dirs: src-tests
-- type: exitcode-stdio-1.0
-- main-is: lzlib-tests.hs
--
-- -- dependencies with version bounds inherited from the library stanza
-- build-depends: lzlib
-- , 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