get_iplayer: removed unnecessary dependencies
Removed unnecessary dependencies as described below flvstreamer: not used by get_iplayer rtmpdump: not used by get_iplayer perlPackages: HTMLParser: pulled in by LWP HTMLCookies: pulled in by LWP XMLSimple: not used by get_iplayer Also updated meta.description and meta.homepage - old site is defunct.
This commit is contained in:
parent
6433bbe35c
commit
299d1451d8
@ -7,8 +7,6 @@
|
||||
, perl
|
||||
, atomicparsley
|
||||
, ffmpeg
|
||||
, flvstreamer
|
||||
, rtmpdump
|
||||
}:
|
||||
|
||||
perlPackages.buildPerlPackage rec {
|
||||
@ -25,7 +23,7 @@ perlPackages.buildPerlPackage rec {
|
||||
nativeBuildInputs = [ makeWrapper ] ++ lib.optional stdenv.isDarwin shortenPerlShebang;
|
||||
buildInputs = [ perl ];
|
||||
propagatedBuildInputs = with perlPackages; [
|
||||
HTMLParser HTTPCookies LWP LWPProtocolHttps XMLLibXML XMLSimple Mojolicious
|
||||
LWP LWPProtocolHttps XMLLibXML Mojolicious
|
||||
];
|
||||
|
||||
preConfigure = "touch Makefile.PL";
|
||||
@ -36,7 +34,7 @@ perlPackages.buildPerlPackage rec {
|
||||
runHook preInstall
|
||||
mkdir -p $out/bin $out/share/man/man1
|
||||
cp get_iplayer $out/bin
|
||||
wrapProgram $out/bin/get_iplayer --suffix PATH : ${lib.makeBinPath [ atomicparsley ffmpeg flvstreamer rtmpdump ]} --prefix PERL5LIB : $PERL5LIB
|
||||
wrapProgram $out/bin/get_iplayer --suffix PATH : ${lib.makeBinPath [ atomicparsley ffmpeg ]} --prefix PERL5LIB : $PERL5LIB
|
||||
cp get_iplayer.1 $out/share/man/man1
|
||||
runHook postInstall
|
||||
'';
|
||||
@ -46,9 +44,9 @@ perlPackages.buildPerlPackage rec {
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Downloads TV and radio from BBC iPlayer";
|
||||
description = "Downloads TV and radio programmes from BBC iPlayer and BBC Sounds";
|
||||
license = licenses.gpl3Plus;
|
||||
homepage = "https://squarepenguin.co.uk/";
|
||||
homepage = "https://github.com/get-iplayer/get_iplayer";
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ rika jgarcia ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user