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

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

29 lines
795 B
Nix
Raw Normal View History

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