File tree Expand file tree Collapse file tree
pkgs/development/python-modules/torchcodec Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 pkg-config ,
99
1010 # buildInputs
11- ffmpeg ,
11+ # FIXME: unpin when upstream supports ffmpeg 9
12+ ffmpeg_8 ,
1213
1314 # build-system
1415 cmake ,
@@ -45,17 +46,17 @@ buildPythonPackage.override { inherit (torch) stdenv; } (finalAttrs: {
4546 test/test_encoders.py \
4647 --replace-fail \
4748 '"ffprobe"' \
48- '"${ lib . getExe' ffmpeg "ffprobe" } "'
49+ '"${ lib . getExe' ffmpeg_8 "ffprobe" } "'
4950
5051 substituteInPlace test/test_encoders.py \
5152 --replace-fail \
5253 '"ffmpeg"' \
53- '"${ lib . getExe ffmpeg } "'
54+ '"${ lib . getExe ffmpeg_8 } "'
5455
5556 substituteInPlace test/test_transform_ops.py \
5657 --replace-fail \
5758 'ffmpeg_cli = "ffmpeg"' \
58- 'ffmpeg_cli = "${ lib . getExe ffmpeg } "'
59+ 'ffmpeg_cli = "${ lib . getExe ffmpeg_8 } "'
5960 '' ;
6061
6162 nativeBuildInputs = [
@@ -69,7 +70,7 @@ buildPythonPackage.override { inherit (torch) stdenv; } (finalAttrs: {
6970 ] ;
7071
7172 buildInputs = [
72- ffmpeg
73+ ffmpeg_8
7374 ]
7475 ++ lib . optionals cudaSupport (
7576 with cudaPackages ;
You can’t perform that action at this time.
0 commit comments