blob: 09a976bf667f3e1c9b59d59b6e4130d575aaf259 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
{
lib,
anyio,
buildPythonPackage,
dirty-equals,
fetchFromGitHub,
hatch-fancy-pypi-readme,
hatch-vcs,
hatchling,
pytestCheckHook,
tenacity,
typing-extensions,
}:
buildPythonPackage rec {
pname = "stamina";
version = "25.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "hynek";
repo = "stamina";
tag = version;
hash = "sha256-TehGqR3vbjLNByHZE2+Ytq52dpEpiL6+7TRUKwXcC1M=";
};
build-system = [
hatch-fancy-pypi-readme
hatch-vcs
hatchling
];
dependencies = [
tenacity
typing-extensions
];
nativeCheckInputs = [
anyio
dirty-equals
pytestCheckHook
];
pythonImportsCheck = [ "stamina" ];
meta = {
description = "Production-grade retries for Python";
homepage = "https://github.com/hynek/stamina";
changelog = "https://github.com/hynek/stamina/blob/${src.tag}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = [ ];
};
}
|