Merge pull request #270410 from rettetdemdativ/invidtui
invidtui: init at 0.3.6
This commit is contained in:
commit
804d88649a
2 changed files with 38 additions and 0 deletions
|
@ -15265,6 +15265,12 @@
|
||||||
githubId = 3302;
|
githubId = 3302;
|
||||||
name = "Renzo Carbonara";
|
name = "Renzo Carbonara";
|
||||||
};
|
};
|
||||||
|
rettetdemdativ = {
|
||||||
|
email = "michael@koeppl.dev";
|
||||||
|
github = "rettetdemdativ";
|
||||||
|
githubId = 5265630;
|
||||||
|
name = "Michael Köppl";
|
||||||
|
};
|
||||||
revol-xut = {
|
revol-xut = {
|
||||||
email = "revol-xut@protonmail.com";
|
email = "revol-xut@protonmail.com";
|
||||||
name = "Tassilo Tanneberger";
|
name = "Tassilo Tanneberger";
|
||||||
|
|
32
pkgs/by-name/in/invidtui/package.nix
Normal file
32
pkgs/by-name/in/invidtui/package.nix
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
{ lib, buildGoModule, fetchFromGitHub, yt-dlp, ffmpeg, mpv }:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "invidtui";
|
||||||
|
version = "0.3.6";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "darkhz";
|
||||||
|
repo = "invidtui";
|
||||||
|
rev = "refs/tags/v${version}";
|
||||||
|
hash = "sha256-zUr0zrIJPpqhHvL7PFFN7cgcgBXV+WHO/eRes7+HzxM=";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorHash = "sha256-cKvY3/3N3SESBVol7Af3M3mJaPwxLzd/rKN8P+qh7sY=";
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace cmd/flags.go \
|
||||||
|
--replace "\"ffmpeg\"" "\"${lib.getBin ffmpeg}/bin/ffmpeg\"" \
|
||||||
|
--replace "\"mpv\"" "\"${lib.getBin mpv}/bin/mpv\"" \
|
||||||
|
--replace "\"yt-dlp\"" "\"${lib.getBin yt-dlp}/bin/yt-dlp\""
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://darkhz.github.io/invidtui/";
|
||||||
|
description = "An invidious TUI client";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ rettetdemdativ ];
|
||||||
|
mainProgram = "invidtui";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue