Skip to content

Commit

Permalink
python3Packages.libarchive-c: apply patch fixing a test with recent `…
Browse files Browse the repository at this point in the history
…libarchive` versions
  • Loading branch information
LeSuisse committed Oct 14, 2024
1 parent bc33d7e commit bd03593
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkgs/development/python-modules/libarchive-c/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
stdenv,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
libarchive,
glibcLocales,
mock,
Expand All @@ -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 = ''
Expand Down

0 comments on commit bd03593

Please sign in to comment.