python3Packages.jaraco-itertools: 6.4.1 -> 6.4.3

This commit was automatically generated using update-python-libraries.

Changed files
+17 -18
pkgs
development
python-modules
jaraco-itertools
+17 -18
pkgs/development/python-modules/jaraco-itertools/default.nix
···
{
lib,
buildPythonPackage,
-
fetchPypi,
setuptools-scm,
inflect,
more-itertools,
-
six,
-
pytest,
}:
buildPythonPackage rec {
pname = "jaraco-itertools";
-
version = "6.4.1";
-
format = "pyproject";
-
src = fetchPypi {
-
pname = "jaraco.itertools";
-
inherit version;
-
hash = "sha256-MU/OVi67RepIIqmLvXsi5f6sfVEY28Gk8ess0Ea/+kc=";
};
pythonNamespaces = [ "jaraco" ];
-
nativeBuildInputs = [ setuptools-scm ];
-
propagatedBuildInputs = [
inflect
more-itertools
-
six
];
-
nativeCheckInputs = [ pytest ];
-
# tests no longer available through pypi
-
doCheck = false;
-
checkPhase = ''
-
pytest
-
'';
pythonImportsCheck = [ "jaraco.itertools" ];
···
{
lib,
buildPythonPackage,
+
fetchFromGitHub,
setuptools-scm,
inflect,
more-itertools,
+
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "jaraco-itertools";
+
version = "6.4.3";
+
pyproject = true;
+
src = fetchFromGitHub {
+
owner = "jaraco";
+
repo = "jaraco.itertools";
+
tag = "v${version}";
+
hash = "sha256-LjWkyY9I8BBYpFm8TT3kq4vk63pNQrnZ15haJCQ5xlk=";
};
pythonNamespaces = [ "jaraco" ];
+
build-system = [ setuptools-scm ];
+
+
postPatch = ''
+
# downloads license texts at build time
+
sed -i "/coherent\.licensed/d" pyproject.toml
+
'';
+
dependencies = [
inflect
more-itertools
];
+
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "jaraco.itertools" ];