nixpkgs/pkgs/development/libraries/lzlib/default.nix

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

29 lines
805 B
Nix
Raw Normal View History

2022-01-29 18:14:06 +01:00
{ lib, stdenv, fetchurl, texinfo, lzip }:
2021-12-01 15:23:58 +01:00
stdenv.mkDerivation rec {
pname = "lzlib";
2022-01-29 18:14:06 +01:00
version = "1.13";
2021-12-01 15:23:58 +01:00
outputs = [ "out" "info" ];
2022-01-29 18:14:06 +01:00
nativeBuildInputs = [ texinfo lzip ];
2021-12-01 15:23:58 +01:00
src = fetchurl {
2022-01-29 18:14:06 +01:00
url = "mirror://savannah/lzip/${pname}/${pname}-${version}.tar.lz";
sha256 = "sha256-3ea9WzJTXxeyjJrCS2ZgfgJQUGrBQypBEso8c/XWYsM=";
2021-12-01 15:23:58 +01:00
};
2022-01-29 18:14:06 +01:00
makeFlags = [ "CC:=$(CC)" ];
2021-12-01 15:23:58 +01:00
doCheck = true;
2022-08-27 02:03:06 +02:00
configureFlags = [ "--enable-shared" ];
2021-12-01 15:23:58 +01:00
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 ];
};
}