mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
youtube-viewer: 3.7.9 -> 3.11.2
This commit is contained in:
parent
ee96cfe1ba
commit
c7b2ea5dbe
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user