mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
Merge pull request #258465 from Benjamin-L/add-ffsubsync
ffsubsync: init at 0.4.25
This commit is contained in:
commit
c01effdeca
46
pkgs/by-name/ff/ffsubsync/package.nix
Normal file
46
pkgs/by-name/ff/ffsubsync/package.nix
Normal file
@ -0,0 +1,46 @@
|
||||
{ lib
|
||||
, python3Packages
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "ffsubsync";
|
||||
version = "0.4.25";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "smacke";
|
||||
repo = "ffsubsync";
|
||||
rev = version;
|
||||
hash = "sha256-ZdKZeKfAUe/FXLOur9Btb5RgXewmy3EHunQphqlxpIc=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
auditok
|
||||
charset-normalizer
|
||||
faust-cchardet
|
||||
ffmpeg-python
|
||||
future
|
||||
numpy
|
||||
pysubs2
|
||||
chardet
|
||||
rich
|
||||
six
|
||||
srt
|
||||
tqdm
|
||||
typing-extensions
|
||||
webrtcvad
|
||||
];
|
||||
|
||||
nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "ffsubsync" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/smacke/ffsubsync";
|
||||
description = "Automagically synchronize subtitles with video";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ Benjamin-L ];
|
||||
mainProgram = "ffsubsync";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user