···1+{ lib, fetchPypi, python3 }:
2+3+python3.pkgs.buildPythonApplication rec {
4+ version = "0.5.0b3.dev72";
5+ pname = "pyload-ng";
6+ format = "pyproject";
7+8+ src = fetchPypi {
9+ inherit pname version;
10+ hash = "sha256-pcbJc23Fylh/JoWRmbZmC8xUzUqh2ej6gT+B2w8DHFQ=";
11+ };
12+13+ postPatch = ''
14+ # relax version bounds
15+ sed -i 's/\([A-z0-9]*\)~=.*$/\1/' setup.cfg
16+ # not sure what Flask-Session2 is but flask-session works just fine
17+ sed -i '/Flask-Session2/d' setup.cfg
18+ '';
19+20+ propagatedBuildInputs = with python3.pkgs; [
21+ bitmath
22+ certifi
23+ cheroot
24+ cryptography
25+ filetype
26+ flask
27+ flask-babel
28+ flask-caching
29+ flask-compress
30+ flask-session
31+ flask-themes2
32+ js2py
33+ pycurl
34+ semver
35+ setuptools
36+ ];
37+38+ passthru.optional-dependencies = {
39+ plugins = with python3.pkgs; [
40+ beautifulsoup4 # for some plugins
41+ colorlog # colorful console logging
42+ pillow # for some CAPTCHA plugin
43+ send2trash # send some files to trash instead of deleting them
44+ slixmpp # XMPP plugin
45+ ];
46+ };
47+48+ meta = with lib; {
49+ description = "Free and open-source download manager with support for 1-click-hosting sites";
50+ homepage = "https://github.com/pyload/pyload";
51+ license = licenses.agpl3Plus;
52+ maintainers = with maintainers; [ ruby0b ];
53+ };
54+}
+1-1
pkgs/top-level/aliases.nix
···1426 pybitmessage = throw "pybitmessage was removed from nixpkgs as it is stuck on python2"; # Added 2022-01-01
1427 pyext = throw "pyext was removed because it does not support python 3.11, is upstream unmaintained and was unused"; # Added 2022-11-21
1428 pygmentex = texlive.bin.pygmentex; # Added 2019-12-15
1429- pyload = throw "pyload has been removed from nixpkgs, as it was unmaintained"; # Added 2021-03-21
1430 pynagsystemd = throw "pynagsystemd was removed as it was unmaintained and incompatible with recent systemd versions. Instead use its fork check_systemd"; # Added 2020-10-24
1431 pyo3-pack = maturin;
1432 pypi2nix = throw "pypi2nix has been removed due to being unmaintained";
···1426 pybitmessage = throw "pybitmessage was removed from nixpkgs as it is stuck on python2"; # Added 2022-01-01
1427 pyext = throw "pyext was removed because it does not support python 3.11, is upstream unmaintained and was unused"; # Added 2022-11-21
1428 pygmentex = texlive.bin.pygmentex; # Added 2019-12-15
1429+ pyload = throw "pyload has been removed from nixpkgs. Use pyload-ng instead."; # Added 2021-03-21; Edited 2023-07-09
1430 pynagsystemd = throw "pynagsystemd was removed as it was unmaintained and incompatible with recent systemd versions. Instead use its fork check_systemd"; # Added 2020-10-24
1431 pyo3-pack = maturin;
1432 pypi2nix = throw "pypi2nix has been removed due to being unmaintained";