Merge pull request #250458 from tjni/imageio-ffmpeg

python3.pkgs.imageio-ffmpeg: patch out pip requirement
This commit is contained in:
Theodore Ni 2023-08-22 10:52:14 -07:00 committed by GitHub
commit bb604b3a76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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