···11+{ lib, fetchPypi, python3 }:
22+33+python3.pkgs.buildPythonApplication rec {
44+ version = "0.5.0b3.dev72";
55+ pname = "pyload-ng";
66+ format = "pyproject";
77+88+ src = fetchPypi {
99+ inherit pname version;
1010+ hash = "sha256-pcbJc23Fylh/JoWRmbZmC8xUzUqh2ej6gT+B2w8DHFQ=";
1111+ };
1212+1313+ postPatch = ''
1414+ # relax version bounds
1515+ sed -i 's/\([A-z0-9]*\)~=.*$/\1/' setup.cfg
1616+ # not sure what Flask-Session2 is but flask-session works just fine
1717+ sed -i '/Flask-Session2/d' setup.cfg
1818+ '';
1919+2020+ propagatedBuildInputs = with python3.pkgs; [
2121+ bitmath
2222+ certifi
2323+ cheroot
2424+ cryptography
2525+ filetype
2626+ flask
2727+ flask-babel
2828+ flask-caching
2929+ flask-compress
3030+ flask-session
3131+ flask-themes2
3232+ js2py
3333+ pycurl
3434+ semver
3535+ setuptools
3636+ ];
3737+3838+ passthru.optional-dependencies = {
3939+ plugins = with python3.pkgs; [
4040+ beautifulsoup4 # for some plugins
4141+ colorlog # colorful console logging
4242+ pillow # for some CAPTCHA plugin
4343+ send2trash # send some files to trash instead of deleting them
4444+ slixmpp # XMPP plugin
4545+ ];
4646+ };
4747+4848+ meta = with lib; {
4949+ description = "Free and open-source download manager with support for 1-click-hosting sites";
5050+ homepage = "https://github.com/pyload/pyload";
5151+ license = licenses.agpl3Plus;
5252+ maintainers = with maintainers; [ ruby0b ];
5353+ };
5454+}
+1-1
pkgs/top-level/aliases.nix
···14261426 pybitmessage = throw "pybitmessage was removed from nixpkgs as it is stuck on python2"; # Added 2022-01-01
14271427 pyext = throw "pyext was removed because it does not support python 3.11, is upstream unmaintained and was unused"; # Added 2022-11-21
14281428 pygmentex = texlive.bin.pygmentex; # Added 2019-12-15
14291429- pyload = throw "pyload has been removed from nixpkgs, as it was unmaintained"; # Added 2021-03-21
14291429+ pyload = throw "pyload has been removed from nixpkgs. Use pyload-ng instead."; # Added 2021-03-21; Edited 2023-07-09
14301430 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
14311431 pyo3-pack = maturin;
14321432 pypi2nix = throw "pypi2nix has been removed due to being unmaintained";