flexget: 2.17.14 -> 2.17.20 (#52681)
This commit is contained in:
parent
633bc1d09b
commit
0c75ad784c
@ -1,8 +1,4 @@
|
|||||||
{ lib, python
|
{ lib, python36 }:
|
||||||
, delugeSupport ? true, deluge ? null
|
|
||||||
}:
|
|
||||||
|
|
||||||
assert delugeSupport -> deluge != null;
|
|
||||||
|
|
||||||
# Flexget have been a trouble maker in the past,
|
# Flexget have been a trouble maker in the past,
|
||||||
# if you see flexget breaking when updating packages, don't worry.
|
# if you see flexget breaking when updating packages, don't worry.
|
||||||
@ -10,17 +6,9 @@ assert delugeSupport -> deluge != null;
|
|||||||
# -- Mic92
|
# -- Mic92
|
||||||
|
|
||||||
let
|
let
|
||||||
python' = python.override { inherit packageOverrides; };
|
python' = python36.override { inherit packageOverrides; };
|
||||||
|
|
||||||
packageOverrides = self: super: {
|
packageOverrides = self: super: {
|
||||||
sqlalchemy = super.sqlalchemy.overridePythonAttrs (old: rec {
|
|
||||||
version = "1.2.6";
|
|
||||||
src = old.src.override {
|
|
||||||
inherit version;
|
|
||||||
sha256 = "1nwylglh256mbwwnng6n6bzgxshyz18j12hw76sghbprp74hrc3w";
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
guessit = super.guessit.overridePythonAttrs (old: rec {
|
guessit = super.guessit.overridePythonAttrs (old: rec {
|
||||||
version = "3.0.3";
|
version = "3.0.3";
|
||||||
src = old.src.override {
|
src = old.src.override {
|
||||||
@ -36,14 +24,16 @@ with python'.pkgs;
|
|||||||
|
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "FlexGet";
|
pname = "FlexGet";
|
||||||
version = "2.17.14";
|
version = "2.17.20";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "1wh12nspjzsgb0a7qp67s4k8wssbhhf500s8x8mx2smb1mgy4xzz";
|
sha256 = "a09ef9482ed54f7e96eb8b4d08c59687c5c43a3341c9d2675383693e6c3681c3";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
# build for the correct python version
|
||||||
|
substituteInPlace setup.cfg --replace $'[bdist_wheel]\npython-tag = py27' ""
|
||||||
# remove dependency constraints
|
# remove dependency constraints
|
||||||
sed 's/==\([0-9]\.\?\)\+//' -i requirements.txt
|
sed 's/==\([0-9]\.\?\)\+//' -i requirements.txt
|
||||||
'';
|
'';
|
||||||
@ -52,25 +42,20 @@ buildPythonApplication rec {
|
|||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
# See https://github.com/Flexget/Flexget/blob/master/requirements.in
|
||||||
feedparser sqlalchemy pyyaml
|
feedparser sqlalchemy pyyaml
|
||||||
chardet beautifulsoup4 html5lib
|
beautifulsoup4 html5lib
|
||||||
PyRSS2Gen pynzb rpyc jinja2
|
PyRSS2Gen pynzb rpyc jinja2
|
||||||
jsonschema requests dateutil
|
requests dateutil jsonschema
|
||||||
pathpy guessit APScheduler
|
pathpy guessit APScheduler
|
||||||
terminaltables colorclass
|
terminaltables colorclass
|
||||||
cherrypy flask flask-restful
|
cherrypy flask flask-restful
|
||||||
flask-restplus flask-compress
|
flask-restplus flask-compress
|
||||||
flask_login flask-cors safe
|
flask_login flask-cors
|
||||||
pyparsing future zxcvbn-python
|
pyparsing zxcvbn-python future
|
||||||
werkzeug tempora cheroot rebulk
|
# Optional requirements
|
||||||
portend transmissionrpc aniso8601
|
deluge-client
|
||||||
babelfish certifi click futures
|
] ++ lib.optional (pythonOlder "3.4") pathlib;
|
||||||
idna itsdangerous markupsafe
|
|
||||||
plumbum pytz six tzlocal urllib3
|
|
||||||
webencodings werkzeug zxcvbn-python
|
|
||||||
backports_functools_lru_cache
|
|
||||||
] ++ lib.optional (pythonOlder "3.4") pathlib
|
|
||||||
++ lib.optional delugeSupport deluge;
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = https://flexget.com/;
|
homepage = https://flexget.com/;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user