python313Packages.stamina: modernize

This commit is contained in:
Fabian Affolter
2025-09-03 13:44:11 +02:00
parent f770ec9927
commit 3fa223ce45
@@ -1,18 +1,15 @@
{
lib,
anyio,
buildPythonPackage,
dirty-equals,
fetchFromGitHub,
hatch-fancy-pypi-readme,
hatch-vcs,
hatchling,
dirty-equals,
pytestCheckHook,
tenacity,
typing-extensions,
anyio,
pytestCheckHook,
}:
buildPythonPackage rec {
@@ -27,25 +24,25 @@ buildPythonPackage rec {
hash = "sha256-TehGqR3vbjLNByHZE2+Ytq52dpEpiL6+7TRUKwXcC1M=";
};
nativeBuildInputs = [
build-system = [
hatch-fancy-pypi-readme
hatch-vcs
hatchling
];
propagatedBuildInputs = [
dependencies = [
tenacity
typing-extensions
];
pythonImportsCheck = [ "stamina" ];
nativeCheckInputs = [
anyio
dirty-equals
pytestCheckHook
anyio
];
pythonImportsCheck = [ "stamina" ];
meta = with lib; {
description = "Production-grade retries for Python";
homepage = "https://github.com/hynek/stamina";