python3Packages.libarchive-c: patch test with recent libarchive (#348582)

This commit is contained in:
Vladimír Čunát
2024-10-23 16:14:42 +02:00
@@ -3,6 +3,7 @@
stdenv,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
libarchive,
glibcLocales,
mock,
@@ -21,6 +22,14 @@ buildPythonPackage rec {
sha256 = "sha256-CO9llPIbVTuE74AeohrMAu5ICkuT/MorRlYEEFne6Uk=";
};
patches = [
(fetchpatch {
name = "fix-tests-with-recent-libarchive.patch";
url = "https://github.com/Changaco/python-libarchive-c/commit/a56e9402c76c2fb9631651de7bae07b5fbb0b624.patch";
hash = "sha256-OLwJQurEFAmwZJbQfhkibrR7Rcnc9vpWwBuhKxgmT7g=";
})
];
LC_ALL = "en_US.UTF-8";
postPatch = ''