-
Notifications
You must be signed in to change notification settings - Fork 11
/
lzma.cabal
103 lines (89 loc) · 2.7 KB
/
lzma.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
101
102
103
cabal-version: 2.2
name: lzma
version: 0.0.1.1
synopsis: LZMA/XZ compression and decompression
homepage: https://github.com/hvr/lzma
bug-reports: https://github.com/hvr/lzma/issues
license: BSD-3-Clause
license-file: LICENSE
author: Herbert Valerio Riedel
maintainer: hvr@gnu.org
copyright: (c) 2015, Herbert Valerio Riedel
stability: experimental
category: Codec, Compression
build-type: Simple
tested-with:
GHC ==8.6.5
|| ==8.8.4
|| ==8.10.7
|| ==9.0.2
|| ==9.2.8
|| ==9.4.8
|| ==9.6.5
|| ==9.8.2
|| ==9.10.1
description:
This package provides a pure interface for compressing and
decompressing
<https://en.wikipedia.org/wiki/LZMA LZMA (Lempel–Ziv–Markov chain algorithm)>
streams of data represented as lazy @ByteString@s. A
monadic incremental interface is provided as well. This package
relies on the <http://tukaani.org/xz/ liblzma C library>.
.
The following packages are based on this package and provide
API support for popular streaming frameworks:
.
* </package/lzma-streams lzma-streams> (for </package/io-streams io-streams>)
.
* </package/pipes-lzma pipes-lzma> (for </package/pipes pipes>)
.
* </package/lzma-conduit lzma-conduit> (for </package/conduit conduit>)
.
extra-source-files: Changelog.md
flag pkgconfig
description: Use @pkgconfig@ on unix system to find @liblzma@
manual: True
default: True
source-repository head
type: git
location: https://github.com/hvr/lzma.git
library
default-language: Haskell2010
other-extensions:
BangPatterns
DeriveDataTypeable
RecordWildCards
hs-source-dirs: src
exposed-modules: Codec.Compression.Lzma
other-modules: LibLzma
build-depends:
, base >=4.12.0.0 && <4.21
, bytestring >=0.10.8.2 && <0.13
if os(windows)
build-depends: lzma-clib
else
if flag(pkgconfig)
pkgconfig-depends: liblzma >=5.2.2
else
includes: lzma.h
extra-libraries: lzma
c-sources: cbits/lzma_wrapper.c
ghc-options: -Wall
test-suite lzma-tests
default-language: Haskell2010
other-extensions: OverloadedStrings
hs-source-dirs: src-tests
type: exitcode-stdio-1.0
main-is: lzma-tests.hs
-- dependencies with version bounds inherited from the library stanza
build-depends:
, base
, bytestring
, lzma
-- additional dependencies that require version bounds
build-depends:
, QuickCheck ^>=2.14.1 || ^>=2.15.0.1
, tasty ^>=1.5
, tasty-hunit ^>=0.10.1
, tasty-quickcheck ^>=0.10.3
ghc-options: -Wall -threaded