python3Packages.torchaudio: remove unused ffmpeg dependency

This commit is contained in:
Gaetan Lepage
2026-02-28 23:42:12 +00:00
parent e5a679a7f1
commit 242a19f42a
@@ -10,7 +10,6 @@
ninja,
# buildInputs
ffmpeg_6-full,
pybind11,
sox,
torch,
@@ -99,15 +98,6 @@ buildPythonPackage.override { inherit stdenv; } (finalAttrs: {
env = {
TORCH_CUDA_ARCH_LIST = "${lib.concatStringsSep ";" torch.cudaCapabilities}";
# https://github.com/pytorch/audio/blob/v2.1.0/docs/source/build.linux.rst#optional-build-torchaudio-with-a-custom-built-ffmpeg
FFMPEG_ROOT = symlinkJoin {
name = "ffmpeg";
paths = [
ffmpeg_6-full.bin
ffmpeg_6-full.dev
ffmpeg_6-full.lib
];
};
BUILD_SOX = 0;
BUILD_KALDI = 0;
BUILD_RNNT = 0;
@@ -130,7 +120,6 @@ buildPythonPackage.override { inherit stdenv; } (finalAttrs: {
);
buildInputs = [
ffmpeg_6-full
pybind11
sox
torch.cxxdev