From af26350cddd8509fc7d41aebabe44ccfc088a865 Mon Sep 17 00:00:00 2001 From: Harinn Date: Fri, 10 Jul 2026 14:47:42 +0700 Subject: [PATCH] python3Packages.types-freezegun: modernize --- .../python-modules/types-freezegun/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/types-freezegun/default.nix b/pkgs/development/python-modules/types-freezegun/default.nix index 7b1ded5a48c8..4179bb10949b 100644 --- a/pkgs/development/python-modules/types-freezegun/default.nix +++ b/pkgs/development/python-modules/types-freezegun/default.nix @@ -5,13 +5,16 @@ setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "types-freezegun"; version = "1.1.10"; pyproject = true; + __structuredAttrs = true; + src = fetchPypi { - inherit pname version; + pname = "types-freezegun"; + inherit (finalAttrs) version; hash = "sha256-yzotLu6VDqy6rAZzq1BJmCM2XOuMZVursVRKQURkCew="; }; @@ -28,4 +31,4 @@ buildPythonPackage rec { license = lib.licenses.asl20; maintainers = with lib.maintainers; [ jpetrucciani ]; }; -} +})