From 54dbe2a7d46babb71218d78589f896edd2815999 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 16 Jan 2026 08:19:43 +0100 Subject: [PATCH] python313Packages.google-cloud-network-connectivity: migrate to finalAttrs --- .../google-cloud-network-connectivity/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/google-cloud-network-connectivity/default.nix b/pkgs/development/python-modules/google-cloud-network-connectivity/default.nix index e260edd4f0a3..a00381b785ad 100644 --- a/pkgs/development/python-modules/google-cloud-network-connectivity/default.nix +++ b/pkgs/development/python-modules/google-cloud-network-connectivity/default.nix @@ -12,13 +12,13 @@ setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "google-cloud-network-connectivity"; version = "2.12.0"; pyproject = true; src = fetchPypi { - inherit version; + inherit (finalAttrs) version; pname = "google_cloud_network_connectivity"; hash = "sha256-4CF79YGR8Ean5PoGLjhWAME+0VYSS3YOPVp9uGeUjaY="; }; @@ -47,8 +47,8 @@ buildPythonPackage rec { meta = { description = "API Client library for Google Cloud Network Connectivity Center"; homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-network-connectivity"; - changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-network-connectivity-v${version}/packages/google-cloud-network-connectivity/CHANGELOG.md"; + changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-network-connectivity-v${finalAttrs.version}/packages/google-cloud-network-connectivity/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ aksiksi ]; }; -} +})