2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake }:
|
2016-07-08 11:04:34 +01:00
|
|
|
|
2020-07-31 07:21:05 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "lzfse";
|
2020-07-31 07:21:05 +01:00
|
|
|
version = "1.0";
|
2016-07-08 11:04:34 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lzfse";
|
|
|
|
repo = "lzfse";
|
2020-07-31 07:21:05 +01:00
|
|
|
rev = "lzfse-${version}";
|
2017-03-25 15:09:42 +00:00
|
|
|
sha256 = "1mfh6y6vpvxsdwmqmfbkqkwvxc0pz2dqqc72c6fk9sbsrxxaghd5";
|
2016-07-08 11:04:34 +01:00
|
|
|
};
|
|
|
|
|
2020-08-19 02:57:51 +01:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2016-07-08 11:04:34 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/lzfse/lzfse";
|
2016-07-08 11:04:34 +01:00
|
|
|
description = "a reference C implementation of the LZFSE compressor";
|
|
|
|
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-07-31 07:21:05 +01:00
|
|
|
platforms = platforms.unix;
|
2016-07-08 11:04:34 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ ];
|
|
|
|
};
|
|
|
|
}
|