8 python3.pkgs.buildPythonApplication rec {
13 src = fetchFromGitHub {
16 rev = "refs/tags/${version}";
17 hash = "sha256-ZdKZeKfAUe/FXLOur9Btb5RgXewmy3EHunQphqlxpIc=";
21 # updates for python 3.12 (not currently included in a release)
23 url = "https://github.com/smacke/ffsubsync/commit/de75bdbfe846b3376f8c0bcfe2e5e5db82d7ff20.patch";
24 hash = "sha256-JN7F9H9G8HK2aLOlm/Ec+GsWnU+65f1P658nq8FbAjo=";
28 nativeBuildInputs = with python3.pkgs; [ setuptools ];
30 propagatedBuildInputs = with python3.pkgs; [
49 nativeCheckInputs = with python3.pkgs; [ pytestCheckHook ];
51 pythonImportsCheck = [ "ffsubsync" ];
54 homepage = "https://github.com/smacke/ffsubsync";
55 description = "Automagically synchronize subtitles with video";
56 license = licenses.mit;
58 mainProgram = "ffsubsync";