Loading pkgs/development/python-modules/stamina/default.nix 0 → 100644 +53 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , hatch-fancy-pypi-readme , hatch-vcs , hatchling , tenacity , typing-extensions , anyio , pytestCheckHook }: buildPythonPackage rec { pname = "stamina"; version = "24.2.0"; pyproject = true; src = fetchFromGitHub { owner = "hynek"; repo = "stamina"; rev = version; hash = "sha256-gn8kbLLj+wMPtIwnsOdKDEhBsLApkl3K6mf/bQT3qT8="; }; nativeBuildInputs = [ hatch-fancy-pypi-readme hatch-vcs hatchling ]; propagatedBuildInputs = [ tenacity typing-extensions ]; pythonImportsCheck = [ "stamina" ]; nativeCheckInputs = [ pytestCheckHook anyio ]; meta = with lib; { description = "Production-grade retries for Python"; homepage = "https://github.com/hynek/stamina"; changelog = "https://github.com/hynek/stamina/blob/${src.rev}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ mbalatsko ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -14779,6 +14779,8 @@ self: super: with self; { stack-data = callPackage ../development/python-modules/stack-data { }; stamina = callPackage ../development/python-modules/stamina { }; stanio = callPackage ../development/python-modules/stanio { }; stanza = callPackage ../development/python-modules/stanza { }; Loading
pkgs/development/python-modules/stamina/default.nix 0 → 100644 +53 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , hatch-fancy-pypi-readme , hatch-vcs , hatchling , tenacity , typing-extensions , anyio , pytestCheckHook }: buildPythonPackage rec { pname = "stamina"; version = "24.2.0"; pyproject = true; src = fetchFromGitHub { owner = "hynek"; repo = "stamina"; rev = version; hash = "sha256-gn8kbLLj+wMPtIwnsOdKDEhBsLApkl3K6mf/bQT3qT8="; }; nativeBuildInputs = [ hatch-fancy-pypi-readme hatch-vcs hatchling ]; propagatedBuildInputs = [ tenacity typing-extensions ]; pythonImportsCheck = [ "stamina" ]; nativeCheckInputs = [ pytestCheckHook anyio ]; meta = with lib; { description = "Production-grade retries for Python"; homepage = "https://github.com/hynek/stamina"; changelog = "https://github.com/hynek/stamina/blob/${src.rev}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ mbalatsko ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -14779,6 +14779,8 @@ self: super: with self; { stack-data = callPackage ../development/python-modules/stack-data { }; stamina = callPackage ../development/python-modules/stamina { }; stanio = callPackage ../development/python-modules/stanio { }; stanza = callPackage ../development/python-modules/stanza { };