nixpkgs-suyu/pkgs/tools/archivers/tarlz/default.nix

29 lines
783 B
Nix
Raw Normal View History

2021-12-01 15:24:35 +01:00
{ lib, stdenv, fetchurl, lzip, lzlib, texinfo }:
stdenv.mkDerivation rec {
pname = "tarlz";
2021-12-12 16:08:12 +01:00
version = "0.21";
2021-12-01 15:24:35 +01:00
outputs = [ "out" "man" "info" ];
nativeBuildInputs = [ lzip texinfo ];
buildInputs = [ lzlib ];
src = fetchurl {
url = "mirror://savannah/lzip/${pname}/${pname}-${version}.tar.lz";
2021-12-12 16:08:12 +01:00
sha256 = "sha256-D5chEt0/Emo5TVoEEHaVzLu55gPnsZM2e9FxRgfgrfQ=";
2021-12-01 15:24:35 +01:00
};
enableParallelBuilding = true;
makeFlags = [ "CXX:=$(CXX)" ];
doCheck = true;
meta = with lib; {
homepage = "https://www.nongnu.org/lzip/${pname}.html";
description =
"Massively parallel combined implementation of the tar archiver and the lzip compressor";
license = licenses.gpl2Plus;
platforms = platforms.all;
maintainers = with maintainers; [ ehmry ];
};
}