Commit 700b1e63 authored by André Breda's avatar André Breda Committed by Doron Behar
Browse files

ffsubsync: fix build by adding a Python 3.12 patch

parent 1ca92c56
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
{
  lib,
  fetchFromGitHub,
  fetchpatch,
  python3,
}:

@@ -16,6 +17,14 @@ python3.pkgs.buildPythonApplication rec {
    hash = "sha256-ZdKZeKfAUe/FXLOur9Btb5RgXewmy3EHunQphqlxpIc=";
  };

  patches = [
    # updates for python 3.12 (not currently included in a release)
    (fetchpatch {
      url = "https://github.com/smacke/ffsubsync/commit/de75bdbfe846b3376f8c0bcfe2e5e5db82d7ff20.patch";
      hash = "sha256-JN7F9H9G8HK2aLOlm/Ec+GsWnU+65f1P658nq8FbAjo=";
    })
  ];

  nativeBuildInputs = with python3.pkgs; [ setuptools ];

  propagatedBuildInputs = with python3.pkgs; [