togglesg-download: drop it as it is no longer maintained/working

master
Peter Hoeg 2021-04-30 10:26:29 +08:00
parent 2201c19776
commit 600bb9d529
3 changed files with 1 additions and 48 deletions

View File

@ -1,46 +0,0 @@
{ lib, fetchFromGitHub, pythonPackages, makeWrapper, ffmpeg_3 }:
pythonPackages.buildPythonApplication {
pname = "togglesg-download-git";
version = "2017-12-07";
src = fetchFromGitHub {
owner = "0x776b7364";
repo = "toggle.sg-download";
rev = "e64959f99ac48920249987a644eefceee923282f";
sha256 = "0j317wmyzpwfcixjkybbq2vkg52vij21bs40zg3n1bs61rgmzrn8";
};
nativeBuildInputs = [ makeWrapper ];
doCheck = false;
dontBuild = true;
dontStrip = true;
installPhase = ''
runHook preInstall
mkdir -p $out/{bin,share/doc/togglesg-download}
substitute $src/download_toggle_video2.py $out/bin/download_toggle_video2.py \
--replace "ffmpeg_download_cmd = 'ffmpeg" "ffmpeg_download_cmd = '${lib.getBin ffmpeg_3}/bin/ffmpeg"
chmod 0755 $out/bin/download_toggle_video2.py
cp LICENSE README.md $out/share/doc/togglesg-download
runHook postInstall
'';
meta = with lib; {
homepage = "https://github.com/0x776b7364/toggle.sg-download";
description = "Command-line tool to download videos from toggle.sg written in Python";
longDescription = ''
toggle.sg requires SilverLight in order to view videos. This tool will
allow you to download the video files for viewing in your media player and
on your OS of choice.
'';
license = licenses.mit;
maintainers = with maintainers; [ peterhoeg ];
platforms = platforms.all;
};
}

View File

@ -664,6 +664,7 @@ mapAliases ({
rxvt_unicode-with-plugins = rxvt-unicode; # added 2020-02-02
rxvt_unicode = rxvt-unicode-unwrapped; # added 2020-02-02
subversion19 = throw "subversion19 has been removed as it has reached its end of life"; # added 2021-03-31
togglesg-download = throw "togglesg-download was removed 2021-04-30 as it's unmaintained";
urxvt_autocomplete_all_the_things = rxvt-unicode-plugins.autocomplete-all-the-things; # added 2020-02-02
urxvt_perl = rxvt-unicode-plugins.perl; # added 2020-02-02
urxvt_perls = rxvt-unicode-plugins.perls; # added 2020-02-02

View File

@ -30931,8 +30931,6 @@ in
mpvc = callPackage ../applications/misc/mpvc { };
togglesg-download = callPackage ../tools/misc/togglesg-download { };
discord = import ../applications/networking/instant-messengers/discord {
branch = "stable";
inherit pkgs;