Unverified Commit c2302663 authored by Luke Granger-Brown's avatar Luke Granger-Brown Committed by GitHub
Browse files

isponsorblocktv: fix (#400572)

parents 608f54a6 eea346f6
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
{
  fetchFromGitHub,
  fetchpatch,
  lib,
  python3Packages,
}:
@@ -16,6 +17,20 @@ python3Packages.buildPythonApplication rec {
    hash = "sha256-/lUs4EuifHKKyA8QiLsbqz0h6mxJpsFMjovpYE8+SxY=";
  };

  patches = [
    # Port iSponsorBlockTV to pyytlounge v3
    (fetchpatch {
      url = "https://github.com/lukegb/iSponsorBlockTV/commit/89b7b1c029cfbe3b5a481647cdd2d03dec5259ce.patch";
      hash = "sha256-ISMrNrfPTnEbb0lZbREf+kAniJopWx3FePMGFm4ycJY=";
    })

    # Update setup_wizard for Textual v3
    (fetchpatch {
      url = "https://github.com/lukegb/iSponsorBlockTV/commit/89dd1d65335689c73a78509689396888599bbe58.patch";
      hash = "sha256-hhWXcqNK3b3mXLCK7W0eXNWgP4lPSl6qgB59Fx8+yeA=";
    })
  ];

  build-system = with python3Packages; [
    hatchling
    hatch-requirements-txt