pyload: drop

This commit is contained in:
ajs124 2021-03-21 03:18:15 +01:00 committed by Alexander Foremny
parent e13c5e711a
commit c0914a76c4
4 changed files with 1 additions and 82 deletions

View File

@ -1,20 +0,0 @@
{ pythonPackages, isPy3k, pkgs }:
pythonPackages.buildPythonPackage {
name = "beautifulsoup-3.2.1";
disabled = isPy3k;
src = pkgs.fetchurl {
url = "http://www.crummy.com/software/BeautifulSoup/download/3.x/BeautifulSoup-3.2.1.tar.gz";
sha256 = "1nshbcpdn0jpcj51x0spzjp519pkmqz0n0748j7dgpz70zlqbfpm";
};
# error: invalid command 'test'
doCheck = false;
meta = {
homepage = "http://www.crummy.com/software/BeautifulSoup/";
license = "bsd";
description = "Undemanding HTML/XML parser";
};
}

View File

@ -1,60 +0,0 @@
{ lib, fetchFromGitHub, fetchpatch, pythonPackages, gocr, unrar, rhino, spidermonkey_38 }:
let
beautifulsoup = pythonPackages.callPackage ./beautifulsoup.nix {
inherit pythonPackages;
};
in pythonPackages.buildPythonApplication rec {
version = "0.4.9-next";
name = "pyLoad-" + version;
src = fetchFromGitHub {
owner = "pyload";
repo = "pyload";
rev = "721ea9f089217b9cb0f2799c051116421faac081";
sha256 = "1ad4r9slx1wgvd2fs4plfbpzi4i2l2bk0lybzsb2ncgh59m87h54";
};
patches =
let
# gets merged in next release version of pyload
configParserPatch = fetchpatch {
url = "https://patch-diff.githubusercontent.com/raw/pyload/pyload/pull/2625.diff";
sha256 = "1bisgx78kcr5c0x0i3h0ch5mykns5wx5wx7gvjj0pc71lfzlxzb9";
};
setupPyPatch = fetchpatch {
url = "https://patch-diff.githubusercontent.com/raw/pyload/pyload/pull/2638.diff";
sha256 = "006g4qbl582262ariflbyfrszcx8ck2ac1cpry1f82f76p4cgf6z";
};
in [ configParserPatch setupPyPatch ];
buildInputs = [
unrar rhino spidermonkey_38 gocr pythonPackages.paver
];
propagatedBuildInputs = with pythonPackages; [
pycurl jinja2 beaker thrift simplejson pycrypto feedparser tkinter
beautifulsoup send2trash
];
#remove this once the PR patches above are merged. Needed because githubs diff endpoint
#does not support diff -N
prePatch = ''
touch module/config/__init__.py
'';
preBuild = ''
${pythonPackages.paver}/bin/paver generate_setup
'';
doCheck = false;
meta = with lib; {
description = "Free and open source downloader for 1-click-hosting sites";
homepage = "https://github.com/pyload/pyload";
license = licenses.gpl3;
maintainers = [ maintainers.mahe ];
platforms = platforms.all;
};
}

View File

@ -564,6 +564,7 @@ mapAliases ({
procps-ng = procps; # added 2018-06-08
prometheus-cups-exporter = throw "outdated and broken by design; removed by developer."; # added 2021-03-16
pygmentex = texlive.bin.pygmentex; # added 2019-12-15
pyload = throw "pyload has been removed from nixpkgs, as it was unmaintained."; # added 2021-03-21
pyo3-pack = maturin;
pmenu = throw "pmenu has been removed from nixpkgs, as its maintainer is no longer interested in the package."; # added 2019-12-10
pulseaudioLight = pulseaudio; # added 2018-04-25

View File

@ -29653,8 +29653,6 @@ in
pykms = callPackage ../tools/networking/pykms { };
pyload = callPackage ../applications/networking/pyload {};
pyupgrade = with python3Packages; toPythonApplication pyupgrade;
pwntools = with python3Packages; toPythonApplication pwntools;