2020-04-24 23:36:52 +00:00
|
|
|
{ lib, python3Packages }:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
2021-07-14 22:03:04 +00:00
|
|
|
pname = "flexget";
|
2021-08-05 21:33:18 +00:00
|
|
|
version = "3.1.133";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = python3Packages.fetchPypi {
|
2021-07-14 22:03:04 +00:00
|
|
|
pname = "FlexGet";
|
|
|
|
inherit version;
|
2021-08-05 21:33:18 +00:00
|
|
|
sha256 = "1mfmy2nbxx9k6hnhwxpf2062rwspigfhbvkpr161grd5amcs2cr6";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
# remove dependency constraints
|
|
|
|
sed 's/==\([0-9]\.\?\)\+//' -i requirements.txt
|
|
|
|
|
|
|
|
# "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"
|
|
|
|
'';
|
|
|
|
|
|
|
|
# ~400 failures
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
|
|
# See https://github.com/Flexget/Flexget/blob/master/requirements.in
|
|
|
|
APScheduler
|
|
|
|
beautifulsoup4
|
|
|
|
cherrypy
|
2020-12-25 13:55:36 +00:00
|
|
|
colorama
|
2020-04-24 23:36:52 +00:00
|
|
|
colorclass
|
|
|
|
feedparser
|
|
|
|
flask-compress
|
|
|
|
flask-cors
|
|
|
|
flask_login
|
|
|
|
flask-restful
|
2020-08-20 17:08:02 +00:00
|
|
|
flask-restx
|
2020-04-24 23:36:52 +00:00
|
|
|
flask
|
2021-05-20 23:08:51 +00:00
|
|
|
greenlet
|
2020-04-24 23:36:52 +00:00
|
|
|
guessit
|
|
|
|
html5lib
|
|
|
|
jinja2
|
|
|
|
jsonschema
|
|
|
|
loguru
|
|
|
|
more-itertools
|
|
|
|
progressbar
|
|
|
|
pynzb
|
|
|
|
pyparsing
|
|
|
|
PyRSS2Gen
|
2021-07-04 02:40:35 +00:00
|
|
|
python-dateutil
|
2020-04-24 23:36:52 +00:00
|
|
|
pyyaml
|
|
|
|
rebulk
|
|
|
|
requests
|
|
|
|
rpyc
|
2020-12-25 13:55:36 +00:00
|
|
|
sgmllib3k
|
2020-04-24 23:36:52 +00:00
|
|
|
sqlalchemy
|
|
|
|
terminaltables
|
|
|
|
zxcvbn
|
2021-05-03 20:48:10 +00:00
|
|
|
psutil
|
2020-04-24 23:36:52 +00:00
|
|
|
# plugins
|
2021-03-09 03:18:52 +00:00
|
|
|
transmission-rpc
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2021-07-14 22:03:04 +00:00
|
|
|
homepage = "https://flexget.com/";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Multipurpose automation tool for all of your media";
|
2021-07-14 22:03:04 +00:00
|
|
|
license = licenses.mit;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ marsam ];
|
|
|
|
};
|
|
|
|
}
|