nixpkgs/pkgs/by-name/lz/lzfse/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
1010 B
Nix
Raw Normal View History

2024-11-14 08:45:26 +00:00
{
cmake,
fetchFromGitHub,
lib,
stdenv,
}:
2016-07-08 10:04:34 +00:00
2024-11-14 08:45:26 +00:00
stdenv.mkDerivation (finalAttrs: {
pname = "lzfse";
version = "1.0";
2016-07-08 10:04:34 +00:00
src = fetchFromGitHub {
owner = "lzfse";
repo = "lzfse";
2024-11-14 08:45:26 +00:00
rev = "lzfse-${finalAttrs.version}";
hash = "sha256-pcGnes966TSdYeIwjJv4F7C++cRzuYorb7rvu4030NU=";
2016-07-08 10:04:34 +00:00
};
nativeBuildInputs = [ cmake ];
2016-07-08 10:04:34 +00:00
2024-11-14 08:45:26 +00:00
meta = {
homepage = "https://github.com/lzfse/lzfse";
2016-07-08 10:04:34 +00:00
description = "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.
'';
2024-11-14 08:45:26 +00:00
platforms = lib.platforms.unix;
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ KSJ2000 ];
2023-11-23 02:51:17 +00:00
mainProgram = "lzfse";
2016-07-08 10:04:34 +00:00
};
2024-11-14 08:45:26 +00:00
})