mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
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,
|
||||
# if you see flexget breaking when updating packages, don't worry.
|
||||
@ -6,7 +6,7 @@
|
||||
# -- Mic92
|
||||
|
||||
let
|
||||
python' = python36.override { inherit packageOverrides; };
|
||||
python' = python3.override { inherit packageOverrides; };
|
||||
|
||||
packageOverrides = self: super: {
|
||||
guessit = super.guessit.overridePythonAttrs (old: rec {
|
||||
@ -24,16 +24,14 @@ with python'.pkgs;
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "FlexGet";
|
||||
version = "2.17.20";
|
||||
version = "2.20.17";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "a09ef9482ed54f7e96eb8b4d08c59687c5c43a3341c9d2675383693e6c3681c3";
|
||||
sha256 = "ed021d8d5c10555dad8dc1cb93c012e17b541fc25fc122b7ca76bb7e53fe82b3";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# build for the correct python version
|
||||
substituteInPlace setup.cfg --replace $'[bdist_wheel]\npython-tag = py27' ""
|
||||
# remove dependency constraints
|
||||
sed 's/==\([0-9]\.\?\)\+//' -i requirements.txt
|
||||
'';
|
||||
@ -47,12 +45,13 @@ buildPythonApplication rec {
|
||||
beautifulsoup4 html5lib
|
||||
PyRSS2Gen pynzb rpyc jinja2
|
||||
requests dateutil jsonschema
|
||||
pathpy guessit APScheduler
|
||||
pathpy guessit rebulk APScheduler
|
||||
terminaltables colorclass
|
||||
cherrypy flask flask-restful
|
||||
flask-restplus flask-compress
|
||||
flask_login flask-cors
|
||||
pyparsing zxcvbn-python future
|
||||
progressbar
|
||||
# Optional requirements
|
||||
deluge-client
|
||||
# Plugins
|
||||
|
@ -1,29 +1,36 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, setuptools_scm
|
||||
, zipp
|
||||
, pathlib2
|
||||
, contextlib2
|
||||
, configparser
|
||||
, isPy3k
|
||||
, importlib-resources
|
||||
, packaging
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "importlib-metadata";
|
||||
version = "0.6";
|
||||
version = "0.8";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "importlib_metadata";
|
||||
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; {
|
||||
description = "Read metadata from Python packages";
|
||||
homepage = https://importlib-metadata.readthedocs.io/;
|
||||
license = licenses.asl20;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@ -4,9 +4,6 @@ buildPythonPackage rec {
|
||||
pname = "progressbar";
|
||||
version = "2.5";
|
||||
|
||||
# https://github.com/niltonvolpato/python-progressbar/issues/54
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
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 { };
|
||||
|
||||
zipp = callPackage ../development/python-modules/zipp { };
|
||||
|
||||
zope_broken = callPackage ../development/python-modules/zope_broken { };
|
||||
|
||||
zope_component = callPackage ../development/python-modules/zope_component { };
|
||||
|
Loading…
Reference in New Issue
Block a user