-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlz4-bytes.cabal
More file actions
72 lines (65 loc) · 1.82 KB
/
lz4-bytes.cabal
File metadata and controls
72 lines (65 loc) · 1.82 KB
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
cabal-version: 2.2
name: lz4-bytes
version: 0.2.0.0
synopsis: Bindings to LZ4
description:
This library is similar to the @lz4@ library except that it works
with the @Bytes@ type from @byteslice@ rather than @ByteString@.
Also, this library has some amount of support for LZ4 frames.
homepage: https://github.com/byteverse/lz4-bytes
bug-reports: https://github.com/byteverse/lz4-bytes/issues
license: BSD-3-Clause
license-file: LICENSE
author: Andrew Martin
maintainer: amartin@layer3com.com
copyright: 2020 Andrew Martin
category: Data
build-type: Simple
extra-source-files:
cbits/lz4.h
cbits/lz4frame.h
cbits/xxhash.h
cbits/lz4hc.h
extra-doc-files: CHANGELOG.md
tested-with: GHC ==9.4.8 || ==9.6.3 || ==9.8.1
common build-settings
default-language: Haskell2010
ghc-options: -Wall -Wunused-packages
library
import: build-settings
other-modules: Lz4.Internal
exposed-modules:
Lz4.Block
Lz4.Frame
build-depends:
, base >=4.12 && <5
, byte-order >=0.1.3 && <0.2
, byteslice >=0.1.4 && <0.3
, primitive >=0.7 && <0.10
, run-st >=0.1.1 && <0.2
hs-source-dirs: src
include-dirs: cbits
ghc-options: -O2 -Wall
cc-options: -Wall -O3
c-sources:
cbits/hs_lz4.c
cbits/lz4.c
cbits/lz4frame.c
cbits/lz4hc.c
cbits/xxhash.c
test-suite test
import: build-settings
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
build-depends:
, base >=4.11.1 && <5
, byteslice
, lz4-bytes
, tasty
, tasty-quickcheck
, tasty-hunit
, primitive >=0.7
source-repository head
type: git
location: git://github.com/byteverse/lz4-bytes.git