Merge pull request #261349 from marsam/update-ytarchive
ytarchive: unstable-2023-02-21 -> 0.4.0
This commit is contained in:
commit
26a0a1b6ea
1 changed files with 5 additions and 5 deletions
|
@ -1,14 +1,14 @@
|
||||||
{ lib, buildGoModule, fetchFromGitHub, makeBinaryWrapper, ffmpeg }:
|
{ lib, buildGoModule, fetchFromGitHub, makeBinaryWrapper, ffmpeg-headless }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "ytarchive";
|
pname = "ytarchive";
|
||||||
version = "unstable-2023-02-21";
|
version = "0.4.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Kethsar";
|
owner = "Kethsar";
|
||||||
repo = "ytarchive";
|
repo = "ytarchive";
|
||||||
rev = "90aaf17b5e86eec52a95752e3c2dba4f54ee1068";
|
rev = "v${version}";
|
||||||
hash = "sha256-JRjQRbMqtd04/aO6NkInoDqfOrHnDrXj4C4/URiU6yo=";
|
hash = "sha256-mQgpwuTIEHeDv/PzBHpK1sraxFj8Ef3y8vN5bLw5E94=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-sjwQ/zEYJRkeWUDB7TzV8z+kET8lVRnQkXYbZbcUeHY=";
|
vendorHash = "sha256-sjwQ/zEYJRkeWUDB7TzV8z+kET8lVRnQkXYbZbcUeHY=";
|
||||||
|
@ -18,7 +18,7 @@ buildGoModule rec {
|
||||||
ldflags = [ "-s" "-w" "-X main.Commit=-${src.rev}" ];
|
ldflags = [ "-s" "-w" "-X main.Commit=-${src.rev}" ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram $out/bin/ytarchive --prefix PATH : ${lib.makeBinPath [ ffmpeg ]}
|
wrapProgram $out/bin/ytarchive --prefix PATH : ${lib.makeBinPath [ ffmpeg-headless ]}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue