Unverified Commit bad45a8f authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

Merge pull request #332359 from mweinelt/miniflux-youtube-panic

miniflux: fix panic on youtube channel feed discovery
parents 40845835 cdb8f95b
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
{ lib, buildGoModule, fetchFromGitHub, installShellFiles, nixosTests }:
{ lib, buildGoModule, fetchFromGitHub, fetchpatch2, installShellFiles, nixosTests }:

buildGoModule rec {
  pname = "miniflux";
@@ -11,6 +11,15 @@ buildGoModule rec {
    hash = "sha256-1EH8KtKdAssxLk0IyhJsbrFU1obDTvmaGtFyLVlnOdQ=";
  };

  patches = [
    (fetchpatch2 {
      # Fix panic during YouTube channel feed discovery
      name = "miniflux-pr2742.patch";
      url = "https://github.com/miniflux/v2/commit/79ea9e28b5a8c09f4d1dcbf31b661fb5f8e85e6a.patch";
      hash = "sha256-BZPv83QsJ6iJs12FLALfTN//VZL/BfGkXs3Pzn9cGeU=";
    })
  ];

  vendorHash = "sha256-kr2qCKuwp6Fpr0zEjggqk4Mff3V9pxGLU71lRhdRrW8=";

  nativeBuildInputs = [ installShellFiles ];