2020-01-04 09:21:00 +00:00
|
|
|
{ lib, python3Packages }:
|
2018-02-25 16:49:36 +00:00
|
|
|
|
2020-01-04 09:21:00 +00:00
|
|
|
python3Packages.buildPythonApplication rec {
|
2018-02-25 16:49:36 +00:00
|
|
|
pname = "FlexGet";
|
2020-01-04 09:21:00 +00:00
|
|
|
version = "3.0.31";
|
2016-12-31 09:02:30 +00:00
|
|
|
|
2020-01-04 09:21:00 +00:00
|
|
|
src = python3Packages.fetchPypi {
|
2018-02-25 16:49:36 +00:00
|
|
|
inherit pname version;
|
2020-01-04 09:21:00 +00:00
|
|
|
sha256 = "b9edd905556c77b40046b5d7a27151b76a1c9a8c43a4e4153279ad42a784844e";
|
2016-12-31 09:02:30 +00:00
|
|
|
};
|
|
|
|
|
2017-05-01 09:06:20 +01:00
|
|
|
postPatch = ''
|
2018-02-25 16:49:36 +00:00
|
|
|
# remove dependency constraints
|
|
|
|
sed 's/==\([0-9]\.\?\)\+//' -i requirements.txt
|
2019-05-30 13:47:00 +01: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 03:37:07 +01:00
|
|
|
'';
|
2017-05-01 09:06:20 +01:00
|
|
|
|
2018-02-25 16:49:36 +00:00
|
|
|
# ~400 failures
|
|
|
|
doCheck = false;
|
2016-12-31 09:02:30 +00:00
|
|
|
|
2020-01-04 09:21:00 +00:00
|
|
|
propagatedBuildInputs = with python3Packages; [
|
2018-12-23 15:30:57 +00:00
|
|
|
# See https://github.com/Flexget/Flexget/blob/master/requirements.in
|
2020-01-04 09:21:00 +00:00
|
|
|
APScheduler
|
|
|
|
beautifulsoup4
|
|
|
|
cherrypy
|
|
|
|
colorclass
|
|
|
|
feedparser
|
|
|
|
flask-compress
|
|
|
|
flask-cors
|
|
|
|
flask_login
|
|
|
|
flask-restful
|
|
|
|
flask-restplus
|
|
|
|
flask
|
|
|
|
guessit
|
|
|
|
html5lib
|
|
|
|
jinja2
|
|
|
|
jsonschema
|
|
|
|
loguru
|
2019-04-01 15:59:54 +01:00
|
|
|
progressbar
|
2020-01-04 09:21:00 +00:00
|
|
|
pynzb
|
|
|
|
pyparsing
|
|
|
|
PyRSS2Gen
|
|
|
|
dateutil
|
|
|
|
pyyaml
|
|
|
|
rebulk
|
|
|
|
requests
|
|
|
|
rpyc
|
|
|
|
sqlalchemy
|
|
|
|
terminaltables
|
|
|
|
zxcvbn
|
|
|
|
];
|
2016-12-31 09:02:30 +00:00
|
|
|
|
2018-02-25 16:49:36 +00:00
|
|
|
meta = with lib; {
|
2020-01-04 09:21:00 +00:00
|
|
|
homepage = "https://flexget.com/";
|
|
|
|
description = "Multipurpose automation tool for all of your media";
|
2018-02-25 16:49:36 +00:00
|
|
|
license = licenses.mit;
|
2020-01-04 09:22:00 +00:00
|
|
|
maintainers = with maintainers; [ marsam ];
|
2016-12-31 09:02:30 +00:00
|
|
|
};
|
2017-01-04 08:34:16 +00:00
|
|
|
}
|