python39Packages.imageio-ffmpeg: fix for python3.9

This commit is contained in:
Robert T. McGibbon 2020-12-29 15:47:53 -05:00
parent d9dd5d7310
commit 76a7064097

View file

@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchpatch
, isPy3k
}:
@ -9,9 +10,15 @@ buildPythonPackage rec {
version = "0.4.2";
src = fetchPypi {
sha256 = "13b05b17a941a9f4a90b16910b1ffac159448cff051a153da8ba4b4343ffa195";
inherit pname version;
sha256 = "13b05b17a941a9f4a90b16910b1ffac159448cff051a153da8ba4b4343ffa195";
};
patches = [ (fetchpatch {
# Fixes compatibility with python3.9
# Should be included in the next release after 0.4.2
url = "https://github.com/imageio/imageio-ffmpeg/pull/43/commits/b90c39fe3d29418d67d953588ed9fdf4d848f811.patch";
sha256 = "0d9kf4w6ldwag3s2dr9zjin6wrj66fnl4fn8379ci4q4qfsqgx3f";
})];
disabled = !isPy3k;