python3Packages.mat2: fix tests against ffmpeg 4.4

seems upstream have already noticed this breakage and have fixed it
in master

(cherry picked from commit 6d8b59ab3047997ad225efe048ae6f1f72561e13)
This commit is contained in:
Robert Scott 2021-05-26 23:14:32 +01:00 committed by Dmitry Kalinkin
parent 84a08eb98d
commit deb0a4259f
No known key found for this signature in database
GPG Key ID: 5157B3EC8B2CA333
1 changed files with 7 additions and 0 deletions

View File

@ -3,6 +3,7 @@
, python
, pythonOlder
, fetchFromGitLab
, fetchpatch
, substituteAll
, bubblewrap
, exiftool
@ -49,6 +50,12 @@ buildPythonPackage rec {
./executable-name.patch
# hardcode path to mat2 executable
./tests.patch
# remove for next release
(fetchpatch {
name = "fix-tests-ffmpeg-4.4.patch";
url = "https://0xacab.org/jvoisin/mat2/-/commit/c9be50f968212b01f8d8ad85e59e19c3e67d8578.patch";
sha256 = "0895dkv6575ps3drdfnli15cggx27n9irjx0axigrm4ql4ma0648";
})
];
postPatch = ''