Unverified Commit 2d69681f authored by lassulus's avatar lassulus Committed by GitHub
Browse files

invidious-router: 1.1 -> 1.2 and add an update script (#345852)

parents 617e3088 94c6a192
Loading
Loading
Loading
Loading
+25 −21
Original line number Diff line number Diff line
@@ -2,8 +2,10 @@
  lib,
  buildGoModule,
  fetchFromGitLab,
}: let
  version = "1.1";
  nix-update-script,
}:
let
  version = "1.2";
in
buildGoModule {
  pname = "invidious-router";
@@ -12,12 +14,14 @@ in
  src = fetchFromGitLab {
    owner = "gaincoder";
    repo = "invidious-router";
      rev = version;
      hash = "sha256-t8KQqMPkBbVis1odDcSu+H0uvyvoFqCmtWoHqVRxmfc=";
    rev = "refs/tags/${version}";
    hash = "sha256-YcMtZq4VMHr6XqHcsAAEmMF6jF1j1wb7Lq4EK42QAEo=";
  };

  vendorHash = "sha256-c03vYidm8SkoesRVQZdg/bCp9LIpdTmpXdfwInlHBKk=";

  passthru.updateScript = nix-update-script { };

  doCheck = true;

  meta = {