2020-01-04 12:21:00 +03:00
|
|
|
{ lib, python3Packages }:
|
2018-02-25 19:49:36 +03:00
|
|
|
|
2020-01-04 12:21:00 +03:00
|
|
|
python3Packages.buildPythonApplication rec {
|
2021-07-09 19:56:21 +03:00
|
|
|
pname = "flexget";
|
2021-07-25 23:28:15 +03:00
|
|
|
version = "3.1.133";
|
2016-12-31 12:02:30 +03:00
|
|
|
|
2020-01-04 12:21:00 +03:00
|
|
|
src = python3Packages.fetchPypi {
|
2021-07-09 19:56:21 +03:00
|
|
|
pname = "FlexGet";
|
|
|
|
inherit version;
|
2021-07-25 23:28:15 +03:00
|
|
|
sha256 = "1mfmy2nbxx9k6hnhwxpf2062rwspigfhbvkpr161grd5amcs2cr6";
|
2016-12-31 12:02:30 +03:00
|
|
|
};
|
|
|
|
|
2017-05-01 11:06:20 +03:00
|
|
|
postPatch = ''
|
2018-02-25 19:49:36 +03:00
|
|
|
# remove dependency constraints
|
|
|
|
sed 's/==\([0-9]\.\?\)\+//' -i requirements.txt
|
2019-05-30 15:47:00 +03:00
|
|
|
|
|
|
|
# "zxcvbn-python" was renamed to "zxcvbn", and we don't have the former in
|
|
|
|
# nixpkgs. See: https://github.com/NixOS/nixpkgs/issues/62110
|
|
|
|
substituteInPlace requirements.txt --replace "zxcvbn-python" "zxcvbn"
|
2017-03-31 05:37:07 +03:00
|
|
|
'';
|
2017-05-01 11:06:20 +03:00
|
|
|
|
2018-02-25 19:49:36 +03:00
|
|
|
# ~400 failures
|
|
|
|
doCheck = false;
|
2016-12-31 12:02:30 +03:00
|
|
|
|
2020-01-04 12:21:00 +03:00
|
|
|
propagatedBuildInputs = with python3Packages; [
|
2018-12-23 18:30:57 +03:00
|
|
|
# See https://github.com/Flexget/Flexget/blob/master/requirements.in
|
2020-01-04 12:21:00 +03:00
|
|
|
APScheduler
|
|
|
|
beautifulsoup4
|
|
|
|
cherrypy
|
2020-12-10 07:20:00 +03:00
|
|
|
colorama
|
2020-01-04 12:21:00 +03:00
|
|
|
colorclass
|
|
|
|
feedparser
|
|
|
|
flask-compress
|
|
|
|
flask-cors
|
|
|
|
flask_login
|
|
|
|
flask-restful
|
2020-08-14 07:23:00 +03:00
|
|
|
flask-restx
|
2020-01-04 12:21:00 +03:00
|
|
|
flask
|
2021-05-09 07:20:00 +03:00
|
|
|
greenlet
|
2020-01-04 12:21:00 +03:00
|
|
|
guessit
|
|
|
|
html5lib
|
|
|
|
jinja2
|
|
|
|
jsonschema
|
|
|
|
loguru
|
2020-01-21 02:18:18 +03:00
|
|
|
more-itertools
|
2019-04-01 17:59:54 +03:00
|
|
|
progressbar
|
2020-01-04 12:21:00 +03:00
|
|
|
pynzb
|
|
|
|
pyparsing
|
|
|
|
PyRSS2Gen
|
2021-07-03 14:37:24 +03:00
|
|
|
python-dateutil
|
2020-01-04 12:21:00 +03:00
|
|
|
pyyaml
|
|
|
|
rebulk
|
|
|
|
requests
|
|
|
|
rpyc
|
2020-12-10 07:20:00 +03:00
|
|
|
sgmllib3k
|
2020-01-04 12:21:00 +03:00
|
|
|
sqlalchemy
|
|
|
|
terminaltables
|
|
|
|
zxcvbn
|
2021-05-02 14:39:39 +03:00
|
|
|
psutil
|
2020-03-11 18:30:32 +03:00
|
|
|
# plugins
|
2021-03-05 15:46:20 +03:00
|
|
|
transmission-rpc
|
2020-01-04 12:21:00 +03:00
|
|
|
];
|
2016-12-31 12:02:30 +03:00
|
|
|
|
2018-02-25 19:49:36 +03:00
|
|
|
meta = with lib; {
|
2021-07-09 19:56:21 +03:00
|
|
|
homepage = "https://flexget.com/";
|
2020-01-04 12:21:00 +03:00
|
|
|
description = "Multipurpose automation tool for all of your media";
|
2021-07-09 19:56:21 +03:00
|
|
|
license = licenses.mit;
|
2020-01-04 12:22:00 +03:00
|
|
|
maintainers = with maintainers; [ marsam ];
|
2016-12-31 12:02:30 +03:00
|
|
|
};
|
2017-01-04 11:34:16 +03:00
|
|
|
}
|