From 7b48233784dcc86fd4cc855102bc40a36b518305 Mon Sep 17 00:00:00 2001 From: Harinn Date: Fri, 10 Jul 2026 14:48:22 +0700 Subject: [PATCH] python3Packages.types-protobuf: modernize --- .../development/python-modules/types-protobuf/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/types-protobuf/default.nix b/pkgs/development/python-modules/types-protobuf/default.nix index 35b7123f0f7b..68004378f0b8 100644 --- a/pkgs/development/python-modules/types-protobuf/default.nix +++ b/pkgs/development/python-modules/types-protobuf/default.nix @@ -6,14 +6,16 @@ types-futures, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "types-protobuf"; version = "6.32.1.20260221"; pyproject = true; + __structuredAttrs = true; + src = fetchPypi { pname = "types_protobuf"; - inherit version; + inherit (finalAttrs) version; hash = "sha256-bV+wYKYWv7B2y7YbSzw5afX8i+xYEPmi9+ZI7ly8v24="; }; @@ -32,4 +34,4 @@ buildPythonPackage rec { license = lib.licenses.asl20; maintainers = with lib.maintainers; [ andersk ]; }; -} +})