From 3cb8fa9d833bfa4d22d64f60b090eb3522d8b09a Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 5 Oct 2023 22:00:04 +0200 Subject: [PATCH] python311Packages.av: pin to ffmpeg 5 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ``` av> src/av/container/core.c: In function ‘__pyx_pymod_exec_core’: av> src/av/container/core.c:9071:36: error: ‘AVFMT_FLAG_PRIV_OPT’ undeclared (first use in this function); did you mean ‘AVFMT_FLAG_IGNIDX’? av> 9071 | __pyx_t_3 = __Pyx_PyInt_From_int(AVFMT_FLAG_PRIV_OPT); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 160, __pyx_L1_error) av> | ^~~~~~~~~~~~~~~~~~~ av> | AVFMT_FLAG_IGNIDX av> src/av/container/core.c:9071:36: note: each undeclared identifier is reported only once for each function it appears in av> error: command '/nix/store/6dz7ahcr1ybhjwzsfdjqjfypmb7jg5qf-gcc-wrapper-12.3.0/bin/gcc' failed with exit code 1 ``` --- pkgs/development/python-modules/av/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/av/default.nix b/pkgs/development/python-modules/av/default.nix index 64f12ed24a1a..b930fd80b99d 100644 --- a/pkgs/development/python-modules/av/default.nix +++ b/pkgs/development/python-modules/av/default.nix @@ -9,7 +9,7 @@ , setuptools # runtime -, ffmpeg-headless +, ffmpeg_5-headless # tests , numpy @@ -38,7 +38,7 @@ buildPythonPackage rec { ]; buildInputs = [ - ffmpeg-headless + ffmpeg_5-headless ]; preCheck = ''