ffsubsync: update ffmpeg dependency handling and adjust wrapper arguments
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user