Merge pull request #250458 from tjni/imageio-ffmpeg
python3.pkgs.imageio-ffmpeg: patch out pip requirement
This commit is contained in:
commit
bb604b3a76
1 changed files with 6 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue