slimrat: remove

The package was marked as broken for 3 years, there were no
upstream updates for 8 years, and the program requires third
party services that don't provide APIs to work. I think it's
safe to say that this program is not going to work.
This commit is contained in:
Konrad Borowski 2020-04-24 17:18:07 +02:00
parent a9a38f9ad2
commit 409f57508d
2 changed files with 0 additions and 35 deletions

View File

@ -1,33 +0,0 @@
{stdenv, fetchurl, perlPackages, makeWrapper}:
stdenv.mkDerivation {
name = "slimrat-1.0";
src = fetchurl {
url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/slimrat/slimrat-1.0.tar.bz2";
sha256 = "139b71d45k4b1y47iq62a9732cnaqqbh8s4knkrgq2hx0jxpsk5a";
};
buildInputs = [ makeWrapper ] ++ (with perlPackages; [ perl WWWMechanize LWP ]);
patchPhase = ''
sed -e 's,#!.*,#!${perlPackages.perl}/bin/perl,' -i src/{slimrat,slimrat-gui}
'';
installPhase = ''
mkdir -p $out/share/slimrat $out/bin
cp -R src/* $out/share/slimrat
# slimrat-gui does not work (it needs the Gtk2 perl package)
for i in slimrat; do
makeWrapper $out/share/slimrat/$i $out/bin/$i \
--prefix PERL5LIB : $PERL5LIB
done
'';
meta = {
homepage = "https://code.google.com/archive/p/slimrat/";
description = "Linux Rapidshare downloader";
license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.unix;
broken = true; # officially abandonned upstream
};
}

View File

@ -6617,8 +6617,6 @@ in
sleepyhead = callPackage ../applications/misc/sleepyhead {};
slimrat = callPackage ../tools/networking/slimrat { };
slirp4netns = callPackage ../tools/networking/slirp4netns/default.nix { };
slsnif = callPackage ../tools/misc/slsnif { };