Merge pull request #116494 from marsam/update-flexget

This commit is contained in:
Sandro 2021-03-16 12:37:42 +01:00 committed by GitHub
commit bded56b981
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 4 deletions

View File

@ -2,11 +2,11 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "FlexGet"; pname = "FlexGet";
version = "3.1.103"; version = "3.1.106";
src = python3Packages.fetchPypi { src = python3Packages.fetchPypi {
inherit pname version; inherit pname version;
sha256 = "da635a01ae7d15ba31b41081ab3e0214b8c5ab5e4662c381246495d7d1eba9be"; sha256 = "f0ff300a1762d701b77eb16142dcc13d9d099bbed695f1e950392c1d1bb988eb";
}; };
postPatch = '' postPatch = ''

View File

@ -1,8 +1,11 @@
{ lib { lib
, stdenv
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, setuptools-scm , setuptools-scm
, pytestCheckHook , pytestCheckHook
, pytest-asyncio
, pytest-tornado
, pytestcov , pytestcov
, sqlalchemy , sqlalchemy
, tornado , tornado
@ -33,15 +36,16 @@ buildPythonPackage rec {
]; ];
checkInputs = [ checkInputs = [
pytest-asyncio
pytest-tornado
pytestCheckHook pytestCheckHook
pytestcov pytestcov
sqlalchemy sqlalchemy
tornado tornado
twisted twisted
mock mock
trollius
gevent gevent
]; ] ++ lib.optionals (!isPy3k) [ trollius ];
propagatedBuildInputs = [ propagatedBuildInputs = [
six six
@ -51,6 +55,11 @@ buildPythonPackage rec {
setuptools setuptools
] ++ lib.optional (!isPy3k) futures; ] ++ lib.optional (!isPy3k) futures;
disabledTests = lib.optionals stdenv.isDarwin [
"test_submit_job"
"test_max_instances"
];
pythonImportsCheck = [ "apscheduler" ]; pythonImportsCheck = [ "apscheduler" ];
meta = with lib; { meta = with lib; {