youtube-viewer: 3.7.9 -> 3.11.2

This commit is contained in:
Frank Doepper 2024-07-15 23:49:57 +02:00
parent ee96cfe1ba
commit c7b2ea5dbe

View File

@ -1,14 +1,25 @@
{ stdenv, lib, fetchFromGitHub, buildPerlPackage, shortenPerlShebang, LWP, LWPProtocolHttps, DataDump, JSON }:
{
stdenv,
lib,
fetchFromGitHub,
buildPerlPackage,
shortenPerlShebang,
LWP,
LWPProtocolHttps,
DataDump,
JSON,
gitUpdater,
}:
buildPerlPackage rec {
pname = "WWW-YoutubeViewer";
version = "3.7.9";
version = "3.11.2";
src = fetchFromGitHub {
owner = "trizen";
repo = "youtube-viewer";
rev = version;
sha256 = "16p0sa91h0zpqdpqmy348g6b9qj5f6qrbzrljn157vk00cg6mx18";
owner = "trizen";
repo = "youtube-viewer";
rev = version;
sha256 = "9Z4fv2B0AnwtYsp7h9phnRMmHtBOMObIJvK8DmKQRxs=";
};
nativeBuildInputs = lib.optional stdenv.isDarwin shortenPerlShebang;
@ -22,6 +33,8 @@ buildPerlPackage rec {
shortenPerlShebang $out/bin/youtube-viewer
'';
passthru.updateScript = gitUpdater { };
meta = with lib; {
description = "Lightweight application for searching and streaming videos from YouTube";
homepage = "https://github.com/trizen/youtube-viewer";