From fdb42eb6380706e06b1d02c5380ccca198da7583 Mon Sep 17 00:00:00 2001
From: r0man <roman@burningswell.com>
Date: Sun, 22 Jan 2023 13:00:53 +0100
Subject: [PATCH] gnu: Add lzfse.
* gnu/packages/compression.scm (lzfse): New variable.
---
gnu/packages/compression.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
@@ -2807,6 +2807,29 @@ (define-public libcbor
(license license:expat)
(home-page "https://github.com/PJK/libcbor")))
+(define-public lzfse
+ (package
+ (name "lzfse")
+ (version "1.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/lzfse/lzfse.git")
+ (commit (string-append "lzfse-" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1mfh6y6vpvxsdwmqmfbkqkwvxc0pz2dqqc72c6fk9sbsrxxaghd5"))))
+ (build-system cmake-build-system)
+ (home-page "https://github.com/lzfse/lzfse")
+ (synopsis "LZFSE compression library and command line tool")
+ (description "This is a reference C implementation of the LZFSE compressor
+introduced in the Compression library with OS X 10.11 and iOS 9. LZFSE is a
+Lempel-Ziv style data compression algorithm using Finite State Entropy coding.
+It targets similar compression rates at higher compression and decompression
+speed compared to deflate using zlib")
+ (license license:bsd-3)))
+
(define-public fcrackzip
(package
(name "fcrackzip")
--
2.38.1