about summary refs log tree commit diff
path: root/pkgs/development/python-modules/mat2
diff options
context:
space:
mode:
authorRobert Scott <code@humanleg.org.uk>2021-05-26 23:14:32 +0100
committerRobert Scott <code@humanleg.org.uk>2021-05-26 23:14:32 +0100
commit6d8b59ab3047997ad225efe048ae6f1f72561e13 (patch)
treedfdefaa6fc17b6eeb6555f6cfffe4ae160050eaa /pkgs/development/python-modules/mat2
parent83820adde4830e19a1c46b99e8df9dd2cfd94466 (diff)
python3Packages.mat2: fix tests against ffmpeg 4.4
seems upstream have already noticed this breakage and have fixed it
in master
Diffstat (limited to 'pkgs/development/python-modules/mat2')
-rw-r--r--pkgs/development/python-modules/mat2/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/mat2/default.nix b/pkgs/development/python-modules/mat2/default.nix
index 0b097024a55fb..6c1ba9a40c632 100644
--- a/pkgs/development/python-modules/mat2/default.nix
+++ b/pkgs/development/python-modules/mat2/default.nix
@@ -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 = ''