depot/third_party/nixpkgs/pkgs/tools/archivers/tarlz/default.nix
Default email 792b51d22f Project import generated by Copybara.
GitOrigin-RevId: d5f237872975e6fb6f76eef1368b5634ffcd266f
2022-02-20 05:27:41 +00:00

28 lines
795 B
Nix

{ lib, stdenv, fetchurl, lzip, lzlib, texinfo }:
stdenv.mkDerivation rec {
pname = "tarlz";
version = "0.22";
outputs = [ "out" "man" "info" ];
nativeBuildInputs = [ lzip texinfo ];
buildInputs = [ lzlib ];
src = fetchurl {
url = "mirror://savannah/lzip/${pname}/${pname}-${version}.tar.lz";
sha256 = "sha256-/M9yJvoktV0ybKsT926jSb7ERsWo33GkbTQwmaBQkdw=";
};
enableParallelBuilding = true;
makeFlags = [ "CXX:=$(CXX)" ];
doCheck = !stdenv.isDarwin;
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 ];
};
}