Merge pull request #180873 from marsam/update-ytarchive
ytarchive: 2022-03-11 -> 2022-05-28
This commit is contained in:
commit
7db46aac2d
1 changed files with 6 additions and 6 deletions
|
@ -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 ]}
|
||||
|
|
Loading…
Reference in a new issue