python313Packages.stamina: modernize
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user