mat2: fix tests with exiftool v12.47

This commit is contained in:
Anthony Roussel 2022-10-09 21:54:48 +02:00
parent fae44cebb0
commit cd178c6174
No known key found for this signature in database
GPG key ID: 9DC4987B1A55E75E

View file

@ -4,6 +4,7 @@
, unittestCheckHook
, pythonOlder
, fetchFromGitLab
, fetchpatch
, substituteAll
, bubblewrap
, exiftool
@ -53,6 +54,11 @@ buildPythonPackage rec {
src = ./fix_poppler.patch;
poppler_path = "${poppler_gi}/lib/girepository-1.0";
})
# https://0xacab.org/jvoisin/mat2/-/issues/178
(fetchpatch {
url = "https://0xacab.org/jvoisin/mat2/-/commit/618e0a8e3984fd534b95ef3dbdcb8a76502c90b5.patch";
hash = "sha256-l9UFim3hGj+d2uKITiDG1OnqGeo2McBIiRSmK0Vidg8=";
})
] ++ lib.optionals (stdenv.hostPlatform.isLinux) [
(substituteAll {
src = ./bubblewrap-path.patch;