diff --git a/pkgs/development/python-modules/imageio-ffmpeg/default.nix b/pkgs/development/python-modules/imageio-ffmpeg/default.nix index 141654fd9595..cdffa669edcf 100644 --- a/pkgs/development/python-modules/imageio-ffmpeg/default.nix +++ b/pkgs/development/python-modules/imageio-ffmpeg/default.nix @@ -1,6 +1,5 @@ { lib , buildPythonPackage -, isPy3k , fetchPypi , substituteAll , ffmpeg_4 @@ -10,8 +9,7 @@ buildPythonPackage rec { pname = "imageio-ffmpeg"; version = "0.4.8"; - - disabled = !isPy3k; + format = "setuptools"; src = fetchPypi { inherit pname version; @@ -25,6 +23,11 @@ buildPythonPackage rec { }) ]; + # https://github.com/imageio/imageio-ffmpeg/issues/59 + postPatch = '' + sed -i '/setup_requires=\["pip>19"\]/d' setup.py + ''; + checkPhase = '' runHook preCheck