depot/third_party/nixpkgs/pkgs/development/libraries/lzlib/default.nix
Default email 3cbfd2b52c Project import generated by Copybara.
GitOrigin-RevId: 395879c28386e1abf20c7ecacd45880759548391
2021-12-18 20:06:50 -05:00

26 lines
763 B
Nix

{ lib, stdenv, fetchurl, texinfo }:
stdenv.mkDerivation rec {
pname = "lzlib";
version = "1.12";
outputs = [ "out" "info" ];
nativeBuildInputs = [ texinfo ];
src = fetchurl {
url = "mirror://savannah/lzip/${pname}/${pname}-${version}.tar.gz";
sha256 = "sha256-jl2EJC61LPHcyY5YvZuo7xrvpQFDGr3QJzoiv0zjN7E=";
};
makeFlags = [ "AR:=$(AR)" "CC:=$(CC)" ];
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 ];
};
}