From 3f6f76ca522cc3b0a4b2baa8425b2254a0920dcc Mon Sep 17 00:00:00 2001 From: Harinn Date: Fri, 10 Jul 2026 14:48:34 +0700 Subject: [PATCH] python3Packages.types-retry: modernize --- pkgs/development/python-modules/types-retry/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/types-retry/default.nix b/pkgs/development/python-modules/types-retry/default.nix index 3fcff608c193..fb60b27d3efc 100644 --- a/pkgs/development/python-modules/types-retry/default.nix +++ b/pkgs/development/python-modules/types-retry/default.nix @@ -5,14 +5,16 @@ setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "types-retry"; version = "0.9.9.20250322"; pyproject = true; + __structuredAttrs = true; + src = fetchPypi { pname = "types_retry"; - inherit version; + inherit (finalAttrs) version; hash = "sha256-LqpvS4MsGHEhBWmIu+bS0Lb06wNjH9yXUuKsKAL3tyY="; }; @@ -29,4 +31,4 @@ buildPythonPackage rec { license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; }; -} +})