diff --git a/pkgs/by-name/li/libarchive/package.nix b/pkgs/by-name/li/libarchive/package.nix index 44e6f482dbe4..eab7ca4e0d1d 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"