Merge pull request #58690 from dotlambda/flexget-2.20.17
flexget: 2.17.20 -> 2.20.17
This commit is contained in:
commit
9fa17c5957
@ -1,4 +1,4 @@
|
|||||||
{ lib, python36 }:
|
{ lib, python3 }:
|
||||||
|
|
||||||
# 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.
|
||||||
@ -6,7 +6,7 @@
|
|||||||
# -- Mic92
|
# -- Mic92
|
||||||
|
|
||||||
let
|
let
|
||||||
python' = python36.override { inherit packageOverrides; };
|
python' = python3.override { inherit packageOverrides; };
|
||||||
|
|
||||||
packageOverrides = self: super: {
|
packageOverrides = self: super: {
|
||||||
guessit = super.guessit.overridePythonAttrs (old: rec {
|
guessit = super.guessit.overridePythonAttrs (old: rec {
|
||||||
@ -24,16 +24,14 @@ with python'.pkgs;
|
|||||||
|
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "FlexGet";
|
pname = "FlexGet";
|
||||||
version = "2.17.20";
|
version = "2.20.17";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "a09ef9482ed54f7e96eb8b4d08c59687c5c43a3341c9d2675383693e6c3681c3";
|
sha256 = "ed021d8d5c10555dad8dc1cb93c012e17b541fc25fc122b7ca76bb7e53fe82b3";
|
||||||
};
|
};
|
||||||
|
|
||||||
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
|
||||||
'';
|
'';
|
||||||
@ -47,12 +45,13 @@ buildPythonApplication rec {
|
|||||||
beautifulsoup4 html5lib
|
beautifulsoup4 html5lib
|
||||||
PyRSS2Gen pynzb rpyc jinja2
|
PyRSS2Gen pynzb rpyc jinja2
|
||||||
requests dateutil jsonschema
|
requests dateutil jsonschema
|
||||||
pathpy guessit APScheduler
|
pathpy guessit rebulk 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
|
flask_login flask-cors
|
||||||
pyparsing zxcvbn-python future
|
pyparsing zxcvbn-python future
|
||||||
|
progressbar
|
||||||
# Optional requirements
|
# Optional requirements
|
||||||
deluge-client
|
deluge-client
|
||||||
# Plugins
|
# Plugins
|
||||||
|
@ -1,29 +1,36 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
|
, setuptools_scm
|
||||||
|
, zipp
|
||||||
, pathlib2
|
, pathlib2
|
||||||
, contextlib2
|
, contextlib2
|
||||||
|
, configparser
|
||||||
, isPy3k
|
, isPy3k
|
||||||
, importlib-resources
|
, importlib-resources
|
||||||
|
, packaging
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "importlib-metadata";
|
pname = "importlib-metadata";
|
||||||
version = "0.6";
|
version = "0.8";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
pname = "importlib_metadata";
|
pname = "importlib_metadata";
|
||||||
inherit version;
|
inherit version;
|
||||||
sha256 = "36b02c84f9001adf65209fefdf951be8e9014a95eab9938c0779ad5670359b1c";
|
sha256 = "b50191ead8c70adfa12495fba19ce6d75f2e0275c14c5a7beb653d6799b512bd";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [] ++ lib.optionals (!isPy3k) [ pathlib2 contextlib2 ];
|
nativeBuildInputs = [ setuptools_scm ];
|
||||||
|
|
||||||
checkInputs = [ importlib-resources ];
|
propagatedBuildInputs = [ zipp ]
|
||||||
|
++ lib.optionals (!isPy3k) [ pathlib2 contextlib2 configparser ];
|
||||||
|
|
||||||
|
checkInputs = [ importlib-resources packaging ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Read metadata from Python packages";
|
description = "Read metadata from Python packages";
|
||||||
homepage = https://importlib-metadata.readthedocs.io/;
|
homepage = https://importlib-metadata.readthedocs.io/;
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -4,9 +4,6 @@ buildPythonPackage rec {
|
|||||||
pname = "progressbar";
|
pname = "progressbar";
|
||||||
version = "2.5";
|
version = "2.5";
|
||||||
|
|
||||||
# https://github.com/niltonvolpato/python-progressbar/issues/54
|
|
||||||
disabled = isPy3k;
|
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "5d81cb529da2e223b53962afd6c8ca0f05c6670e40309a7219eacc36af9b6c63";
|
sha256 = "5d81cb529da2e223b53962afd6c8ca0f05c6670e40309a7219eacc36af9b6c63";
|
||||||
|
31
pkgs/development/python-modules/zipp/default.nix
Normal file
31
pkgs/development/python-modules/zipp/default.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, setuptools_scm
|
||||||
|
, pytest
|
||||||
|
, pytest-flake8
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "zipp";
|
||||||
|
version = "0.3.3";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "55ca87266c38af6658b84db8cfb7343cdb0bf275f93c7afaea0d8e7a209c7478";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ setuptools_scm ];
|
||||||
|
|
||||||
|
checkInputs = [ pytest pytest-flake8 ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
pytest
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Pathlib-compatible object wrapper for zip files";
|
||||||
|
homepage = https://github.com/jaraco/zipp;
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
@ -4738,6 +4738,8 @@ in {
|
|||||||
|
|
||||||
zfec = callPackage ../development/python-modules/zfec { };
|
zfec = callPackage ../development/python-modules/zfec { };
|
||||||
|
|
||||||
|
zipp = callPackage ../development/python-modules/zipp { };
|
||||||
|
|
||||||
zope_broken = callPackage ../development/python-modules/zope_broken { };
|
zope_broken = callPackage ../development/python-modules/zope_broken { };
|
||||||
|
|
||||||
zope_component = callPackage ../development/python-modules/zope_component { };
|
zope_component = callPackage ../development/python-modules/zope_component { };
|
||||||
|
Loading…
Reference in New Issue
Block a user