mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
youtube-viewer: 3.7.9 -> 3.11.2
This commit is contained in:
parent
ee96cfe1ba
commit
c7b2ea5dbe
1 changed files with 19 additions and 6 deletions
|
@ -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 a new issue