From 59974ca0a93c29f546bbf5a7ba2a8f27f0871109 Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Wed, 5 Mar 2025 13:11:56 +0300 Subject: [PATCH] tarlz: 0.26 -> 0.27.1 --- pkgs/by-name/ta/tarlz/package.nix | 36 ++++++++++++++++++++++--------- 1 file changed, 26 insertions(+), 10 deletions(-) diff --git a/pkgs/by-name/ta/tarlz/package.nix b/pkgs/by-name/ta/tarlz/package.nix index c5ead9ce765a..b6c1be7bafd4 100644 --- a/pkgs/by-name/ta/tarlz/package.nix +++ b/pkgs/by-name/ta/tarlz/package.nix @@ -1,30 +1,46 @@ -{ lib, stdenv, fetchurl, lzip, lzlib, texinfo }: +{ + lib, + stdenv, + fetchurl, + lzip, + lzlib, + texinfo, + versionCheckHook, +}: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "tarlz"; - version = "0.26"; - outputs = [ "out" "man" "info" ]; + version = "0.27.1"; + outputs = [ + "out" + "man" + "info" + ]; - nativeBuildInputs = [ lzip texinfo ]; + nativeBuildInputs = [ + lzip + texinfo + versionCheckHook + ]; buildInputs = [ lzlib ]; src = fetchurl { - url = "mirror://savannah/lzip/tarlz/tarlz-${version}.tar.lz"; - hash = "sha256-U/4FXvcDSFcJddIgzq1WNvkXXwwHu+yORQuv8YuZmOQ="; + url = "mirror://savannah/lzip/tarlz/tarlz-${finalAttrs.version}.tar.lz"; + sha256 = "7091968e8f9b5333730e7a558ebf5aa9089d9f0528e6aea994c6f24a9d46a03f"; }; enableParallelBuilding = true; makeFlags = [ "CXX:=$(CXX)" ]; doCheck = false; # system clock issues + doInstallCheck = true; meta = with lib; { homepage = "https://www.nongnu.org/lzip/tarlz.html"; - description = - "Massively parallel combined implementation of the tar archiver and the lzip compressor"; + description = "Massively parallel combined implementation of the tar archiver and the lzip compressor"; license = licenses.gpl2Plus; platforms = platforms.all; maintainers = with maintainers; [ ehmry ]; mainProgram = "tarlz"; }; -} +})