From a9ed7156a06a7a95a11d93be93bd8ec9dd4808b9 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Tue, 3 Jun 2025 06:46:38 +0100 Subject: [PATCH] libarchive: 3.8.0 -> 3.8.1 Changes: https://github.com/libarchive/libarchive/releases/tag/v3.8.1 --- pkgs/by-name/li/libarchive/package.nix | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/pkgs/by-name/li/libarchive/package.nix b/pkgs/by-name/li/libarchive/package.nix index 526979f9cedb..d5ba4d7e4890 100644 --- a/pkgs/by-name/li/libarchive/package.nix +++ b/pkgs/by-name/li/libarchive/package.nix @@ -2,7 +2,6 @@ lib, stdenv, fetchFromGitHub, - fetchpatch, acl, attr, autoreconfHook, @@ -33,30 +32,15 @@ assert xarSupport -> libxml2 != null; stdenv.mkDerivation (finalAttrs: { pname = "libarchive"; - version = "3.8.0"; + version = "3.8.1"; src = fetchFromGitHub { owner = "libarchive"; repo = "libarchive"; rev = "v${finalAttrs.version}"; - hash = "sha256-nL2p2h+U25fhQQjbj16yhxhU8xEEuhNynIx7SNzl6Mo="; + hash = "sha256-KN5SvQ+/g/OOa+hntMX3D8p5IEWO0smke5WK+DwrOH0="; }; - patches = [ - # Remove in next release - # - # Fixes macOS metadata file handling when reading certain tarballs - # (e.g, bsdtar-produced tar containing a file with xattrs whose name is exactly 99 bytes long) - # - # - # This also fixes test_copy in the test suite. - (fetchpatch { - name = "reset-header-state-after-mac-metadata.patch"; - url = "https://github.com/libarchive/libarchive/commit/5bb36db5e19aecabccec8f351ec22f8c3a8695f0.patch"; - hash = "sha256-eNGSunYZ5b0TrkBUtOO7MYGXc+SEn1Sxm8MYyI+4JsQ="; - }) - ]; - outputs = [ "out" "lib"