ffsubsync: update ffmpeg dependency handling and adjust wrapper arguments

This commit is contained in:
Dan Xin
2025-06-23 22:08:39 +08:00
parent b52821ab35
commit 3c1b435427
+8 -1
View File
@@ -2,6 +2,7 @@
lib,
python3,
fetchFromGitHub,
ffmpeg,
}:
python3.pkgs.buildPythonApplication rec {
@@ -24,7 +25,6 @@ python3.pkgs.buildPythonApplication rec {
faust-cchardet
ffmpeg-python
numpy
pkgs.ffmpeg
pysubs2
chardet
rich
@@ -40,6 +40,13 @@ python3.pkgs.buildPythonApplication rec {
pythonImportsCheck = [ "ffsubsync" ];
makeWrapperArgs = [
"--prefix"
"PATH"
":"
"${ffmpeg}/bin"
];
meta = {
homepage = "https://github.com/smacke/ffsubsync";
description = "Automagically synchronize subtitles with video";