Merge pull request #58690 from dotlambda/flexget-2.20.17
flexget: 2.17.20 -> 2.20.17
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user