From 3cc50f48670913ca5b5502394199fe5febe18ba0 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 5 May 2026 08:59:38 -0400 Subject: [PATCH] lha: 1.14i-unstable-2024-11-27 -> 1.14i-unstable-2026-01-01 --- pkgs/by-name/lh/lha/package.nix | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/lh/lha/package.nix b/pkgs/by-name/lh/lha/package.nix index 9fea6e1beefe..072da499622d 100644 --- a/pkgs/by-name/lh/lha/package.nix +++ b/pkgs/by-name/lh/lha/package.nix @@ -3,21 +3,28 @@ lib, fetchFromGitHub, autoreconfHook, + testers, }: -stdenv.mkDerivation { +stdenv.mkDerivation (finalAttrs: { pname = "lha"; - version = "1.14i-unstable-2024-11-27"; + version = "1.14i-unstable-2026-01-01"; src = fetchFromGitHub { owner = "jca02266"; repo = "lha"; - rev = "26b71be85a762098bdeb95f4533045c7dad86f31"; - hash = "sha256-jiYTBqDXvxTdrvHYaK+1eo4xIpl+B9ZljhBBYD0BGzQ="; + rev = "86094cb56aba34de45668f39f74fcfb61e9d7fb6"; + hash = "sha256-ckzcCvt5v6rBcp9n8XXzgS2XkURbO8bsqTURGLRzpAU="; }; nativeBuildInputs = [ autoreconfHook ]; + passthru.tests.version = testers.testVersion { + package = finalAttrs.finalPackage; + command = "lha --help"; + version = "1.14i"; + }; + meta = { description = "Archiver and compressor using the LZSS and Huffman encoding compression algorithms"; homepage = "https://github.com/jca02266/lha"; @@ -33,4 +40,4 @@ stdenv.mkDerivation { license = lib.licenses.unfree; mainProgram = "lha"; }; -} +})