lol
1{ lib, stdenv, fetchFromGitHub, cmake }:
2
3stdenv.mkDerivation rec {
4 pname = "lzfse";
5 version = "1.0";
6
7 src = fetchFromGitHub {
8 owner = "lzfse";
9 repo = "lzfse";
10 rev = "lzfse-${version}";
11 sha256 = "1mfh6y6vpvxsdwmqmfbkqkwvxc0pz2dqqc72c6fk9sbsrxxaghd5";
12 };
13
14 nativeBuildInputs = [ cmake ];
15
16 meta = with lib; {
17 homepage = "https://github.com/lzfse/lzfse";
18 description = "a reference C implementation of the LZFSE compressor";
19 longDescription = ''
20 This is a reference C implementation of the LZFSE compressor introduced in the Compression library with OS X 10.11 and iOS 9.
21 LZFSE is a Lempel-Ziv style data compression algorithm using Finite State Entropy coding.
22 It targets similar compression rates at higher compression and decompression speed compared to deflate using zlib.
23 '';
24 platforms = platforms.unix;
25 license = licenses.bsd3;
26 maintainers = with maintainers; [ ];
27 };
28}