From 627a544d8723f86c94795cb5a0f461acfb7157c1 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 9 Jul 2022 04:20:00 +0000 Subject: [PATCH] ytarchive: 2022-03-11 -> 2022-05-28 --- pkgs/tools/misc/ytarchive/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/tools/misc/ytarchive/default.nix b/pkgs/tools/misc/ytarchive/default.nix index ecf1fe9ff694..65b801c76186 100644 --- a/pkgs/tools/misc/ytarchive/default.nix +++ b/pkgs/tools/misc/ytarchive/default.nix @@ -1,21 +1,21 @@ -{ lib, buildGoModule, fetchFromGitHub, makeWrapper, ffmpeg }: +{ lib, buildGoModule, fetchFromGitHub, makeBinaryWrapper, ffmpeg }: buildGoModule rec { pname = "ytarchive"; - version = "unstable-2022-03-11"; + version = "unstable-2022-05-28"; src = fetchFromGitHub { owner = "Kethsar"; repo = "ytarchive"; - rev = "34825e8777637ca114a0ab394a4b4fead6ad7c88"; - sha256 = "sha256-/x6YcF2EyjOFnIHlsh+ZESF+7AYO3QRNaqbJgycQai4="; + rev = "8d48052f432ec6f78c6aed326e8a1db31ee8e706"; + sha256 = "sha256-IsG0YPVBzsbHLNs1m/AruDmm0n7vwN9Fj1KMOoQJQ+c="; }; vendorSha256 = "sha256-r9fDFSCDItQ7YSj9aTY1LXRrFE9T3XD0X36ywCfu0R8="; - nativeBuildInputs = [ makeWrapper ]; + nativeBuildInputs = [ makeBinaryWrapper ]; - ldflags = [ "-s" "-w" ]; + ldflags = [ "-s" "-w" "-X main.Commit=-${src.rev}" ]; postInstall = '' wrapProgram $out/bin/ytarchive --prefix PATH : ${lib.makeBinPath [ ffmpeg ]}