depot/third_party/nixpkgs/pkgs/tools/compression/lzfse/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

30 lines
988 B
Nix

{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation {
pname = "lzfse";
version = "2017-03-08";
src = fetchFromGitHub {
owner = "lzfse";
repo = "lzfse";
rev = "88e2d27";
sha256 = "1mfh6y6vpvxsdwmqmfbkqkwvxc0pz2dqqc72c6fk9sbsrxxaghd5";
};
makeFlags = [ "INSTALL_PREFIX=$(out)" ];
enableParallelBuilding = false; #bug
meta = with stdenv.lib; {
homepage = "https://github.com/lzfse/lzfse";
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.
'';
platforms = platforms.linux;
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}