mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-30 17:49:58 +03:00
ytarchive: 2022-02-16 -> 2022-03-11
This commit is contained in:
parent
761c21a16a
commit
a609bf9e86
@ -1,20 +1,26 @@
|
|||||||
{ lib, buildGoModule, fetchFromGitHub }:
|
{ lib, buildGoModule, fetchFromGitHub, makeWrapper, ffmpeg }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "ytarchive";
|
pname = "ytarchive";
|
||||||
version = "unstable-2022-02-16";
|
version = "unstable-2022-03-11";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Kethsar";
|
owner = "Kethsar";
|
||||||
repo = "ytarchive";
|
repo = "ytarchive";
|
||||||
rev = "66a1ca003de7302c99bda943500257d5fd374199";
|
rev = "34825e8777637ca114a0ab394a4b4fead6ad7c88";
|
||||||
sha256 = "sha256-6eLNyInqXB+LWbZ18DvXbTdpRpiCDMGwJaiyQfZZ4xM=";
|
sha256 = "sha256-/x6YcF2EyjOFnIHlsh+ZESF+7AYO3QRNaqbJgycQai4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-r9fDFSCDItQ7YSj9aTY1LXRrFE9T3XD0X36ywCfu0R8=";
|
vendorSha256 = "sha256-r9fDFSCDItQ7YSj9aTY1LXRrFE9T3XD0X36ywCfu0R8=";
|
||||||
|
|
||||||
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
ldflags = [ "-s" "-w" ];
|
ldflags = [ "-s" "-w" ];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
wrapProgram $out/bin/ytarchive --prefix PATH : ${lib.makeBinPath [ ffmpeg ]}
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/Kethsar/ytarchive";
|
homepage = "https://github.com/Kethsar/ytarchive";
|
||||||
description = "Garbage Youtube livestream downloader";
|
description = "Garbage Youtube livestream downloader";
|
||||||
|
Loading…
Reference in New Issue
Block a user