2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "lzfse";
|
2020-08-20 17:08:02 +00:00
|
|
|
version = "1.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lzfse";
|
|
|
|
repo = "lzfse";
|
2020-08-20 17:08:02 +00:00
|
|
|
rev = "lzfse-${version}";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "1mfh6y6vpvxsdwmqmfbkqkwvxc0pz2dqqc72c6fk9sbsrxxaghd5";
|
|
|
|
};
|
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/lzfse/lzfse";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Reference C implementation of the LZFSE compressor";
|
2020-04-24 23:36:52 +00:00
|
|
|
longDescription = ''
|
|
|
|
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.
|
|
|
|
'';
|
2020-08-20 17:08:02 +00:00
|
|
|
platforms = platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "lzfse";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|