python312Packages.fnllm: 0.0.11 -> 0.0.12 (#364582)
[NixPkgs.git] / pkgs / development / python-modules / retry-decorator / default.nix
blob7d63966c08a05c87c19639bdcf892b206cde990d
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6   pythonOlder,
7 }:
9 buildPythonPackage rec {
10   pname = "retry-decorator";
11   version = "1.1.1";
12   format = "setuptools";
14   disabled = pythonOlder "3.7";
16   src = fetchFromGitHub {
17     owner = "pnpnpn";
18     repo = pname;
19     rev = "refs/tags/v${version}";
20     hash = "sha256-0dZq4YbPcH4ItyMnpF7B20YYLtzwniJClBK9gRndU1M=";
21   };
23   nativeCheckInputs = [ pytestCheckHook ];
25   pythonImportsCheck = [ "retry_decorator" ];
27   meta = with lib; {
28     description = "Decorator for retrying when exceptions occur";
29     homepage = "https://github.com/pnpnpn/retry-decorator";
30     changelog = "https://github.com/pnpnpn/retry-decorator/releases/tag/v${version}";
31     license = with licenses; [ asl20 ];
32   };