python314Packages.tenacity: fix build

This commit is contained in:
Martin Weinelt
2025-11-25 12:39:09 -08:00
committed by Robert Schütz
parent 06ee9149aa
commit 0fcff72c06
@@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchPypi,
fetchpatch,
pytest-asyncio,
pytestCheckHook,
pythonOlder,
@@ -22,6 +23,18 @@ buildPythonPackage rec {
hash = "sha256-EWnTdsKX5944jRi0SBdg1Hiw6Zp3fK06nIblVvS2l8s=";
};
patches = [
(fetchpatch {
url = "https://github.com/jd/tenacity/commit/eed7d785e667df145c0e3eeddff59af64e4e860d.patch";
includes = [
"tenacity/__init__.py"
"tests/test_asyncio.py"
"tests/test_issue_478.py"
];
hash = "sha256-TMhBjRmG7pBP3iKq83RQzkV9yO2TEcA+3mo9cz6daxs=";
})
];
build-system = [ setuptools-scm ];
nativeCheckInputs = [