2022-02-10 20:34:41 +00:00
|
|
|
{ lib, stdenv, fetchurl, texinfo, lzip }:
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "lzlib";
|
2022-02-10 20:34:41 +00:00
|
|
|
version = "1.13";
|
2021-12-06 16:07:01 +00:00
|
|
|
outputs = [ "out" "info" ];
|
|
|
|
|
2022-02-10 20:34:41 +00:00
|
|
|
nativeBuildInputs = [ texinfo lzip ];
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2022-02-10 20:34:41 +00:00
|
|
|
url = "mirror://savannah/lzip/${pname}/${pname}-${version}.tar.lz";
|
|
|
|
sha256 = "sha256-3ea9WzJTXxeyjJrCS2ZgfgJQUGrBQypBEso8c/XWYsM=";
|
2021-12-06 16:07:01 +00:00
|
|
|
};
|
|
|
|
|
2022-02-10 20:34:41 +00:00
|
|
|
makeFlags = [ "CC:=$(CC)" ];
|
2021-12-06 16:07:01 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://www.nongnu.org/lzip/${pname}.html";
|
|
|
|
description =
|
|
|
|
"Data compression library providing in-memory LZMA compression and decompression functions, including integrity checking of the decompressed data";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ ehmry ];
|
|
|
|
};
|
|
|
|
}
|