ytarchive: 2022-03-11 -> 2022-05-28

This commit is contained in:
Mario Rodas 2022-07-09 04:20:00 +00:00
parent 4117d2e1f8
commit 627a544d87

View file

@ -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 ]}