flexget: 2.21.25 -> 3.0.31

This commit is contained in:
Mario Rodas 2020-01-04 04:21:00 -05:00
parent 736d305d79
commit b5c8ef0e7f

View file

@ -1,34 +1,16 @@
{ lib, python3 }: { lib, python3Packages }:
# 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.
# The current state is that we have no active maintainers for this package. # The current state is that we have no active maintainers for this package.
# -- Mic92 # -- Mic92
python3Packages.buildPythonApplication rec {
let
python' = python3.override { inherit packageOverrides; };
packageOverrides = self: super: {
guessit = super.guessit.overridePythonAttrs (old: rec {
version = "3.0.3";
src = old.src.override {
inherit version;
sha256 = "1q06b3k31bfb8cxjimpf1rkcrwnc596a9cppjw15minvdangl32r";
};
});
};
in
with python'.pkgs;
buildPythonApplication rec {
pname = "FlexGet"; pname = "FlexGet";
version = "2.21.25"; version = "3.0.31";
src = fetchPypi { src = python3Packages.fetchPypi {
inherit pname version; inherit pname version;
sha256 = "0l77fgg0w5dca1bwk4fcc1yz1g7njb0x07yx4bazyg821gl15rc9"; sha256 = "b9edd905556c77b40046b5d7a27151b76a1c9a8c43a4e4153279ad42a784844e";
}; };
postPatch = '' postPatch = ''
@ -43,28 +25,41 @@ buildPythonApplication rec {
# ~400 failures # ~400 failures
doCheck = false; doCheck = false;
propagatedBuildInputs = [ propagatedBuildInputs = with python3Packages; [
# See https://github.com/Flexget/Flexget/blob/master/requirements.in # See https://github.com/Flexget/Flexget/blob/master/requirements.in
feedparser sqlalchemy pyyaml APScheduler
beautifulsoup4 html5lib beautifulsoup4
PyRSS2Gen pynzb rpyc jinja2 cherrypy
requests dateutil jsonschema colorclass
pathpy guessit rebulk APScheduler feedparser
terminaltables colorclass flask-compress
cherrypy flask flask-restful flask-cors
flask-restplus flask-compress flask_login
flask_login flask-cors flask-restful
pyparsing zxcvbn future flask-restplus
flask
guessit
html5lib
jinja2
jsonschema
loguru
progressbar progressbar
# Optional requirements pynzb
deluge-client pyparsing
# Plugins PyRSS2Gen
transmissionrpc dateutil
] ++ lib.optional (pythonOlder "3.4") pathlib; pyyaml
rebulk
requests
rpyc
sqlalchemy
terminaltables
zxcvbn
];
meta = with lib; { meta = with lib; {
homepage = https://flexget.com/; homepage = "https://flexget.com/";
description = "Multipurpose automation tool for content like torrents"; description = "Multipurpose automation tool for all of your media";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ ]; maintainers = with maintainers; [ ];
}; };