Merge pull request #180873 from marsam/update-ytarchive

ytarchive: 2022-03-11 -> 2022-05-28
This commit is contained in:
Mario Rodas 2022-07-09 12:12:56 -05:00 committed by GitHub
commit 7db46aac2d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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