python3Packages.libarchive-c: 5.1 -> 5.3

This commit was automatically generated using update-python-libraries.

Changed files
+3 -12
pkgs
development
python-modules
libarchive-c
+3 -12
pkgs/development/python-modules/libarchive-c/default.nix
···
stdenv,
buildPythonPackage,
fetchFromGitHub,
-
fetchpatch,
libarchive,
glibcLocales,
mock,
···
buildPythonPackage rec {
pname = "libarchive-c";
-
version = "5.1";
+
version = "5.3";
format = "setuptools";
src = fetchFromGitHub {
owner = "Changaco";
repo = "python-${pname}";
tag = version;
-
sha256 = "sha256-CO9llPIbVTuE74AeohrMAu5ICkuT/MorRlYEEFne6Uk=";
+
sha256 = "sha256-JqXTV1aD3k88OlW+8rT3xsDuW34+1xErG7hkupvL7Uo=";
};
-
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 = ''
-
substituteInPlace libarchive/ffi.py --replace \
+
substituteInPlace libarchive/ffi.py --replace-fail \
"find_library('archive')" "'${libarchive.lib}/lib/libarchive${stdenv.hostPlatform.extensions.sharedLibrary}'"
'';