From 57d4fda94a6bf6ed756d02b1faad9901b3525acd Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Sun, 20 Aug 2023 19:19:26 -0700 Subject: [PATCH] python3.pkgs.imageio-ffmpeg: patch out pip requirement --- .../python-modules/imageio-ffmpeg/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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