From 076b927a9235002925c7f4a6f32d9d1a76aad2a2 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Sat, 17 Jan 2026 22:08:50 -0800 Subject: [PATCH 1/2] python3Packages.google-api-python-client: 2.185.0 -> 2.188.0 --- .../python-modules/google-api-python-client/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/google-api-python-client/default.nix b/pkgs/development/python-modules/google-api-python-client/default.nix index 54360a12fd12..49dd7ecafe50 100644 --- a/pkgs/development/python-modules/google-api-python-client/default.nix +++ b/pkgs/development/python-modules/google-api-python-client/default.nix @@ -12,14 +12,18 @@ buildPythonPackage rec { pname = "google-api-python-client"; - version = "2.185.0"; + version = "2.188.0"; pyproject = true; src = fetchFromGitHub { owner = "googleapis"; repo = "google-api-python-client"; tag = "v${version}"; - hash = "sha256-uItN7P6tZTxEHfma+S0p4grRRnAaIhuTezvJzWjvkfE="; + hash = "sha256-uNvsWCfoT+wp6UnbDP5QS7Os2FnEsTzusdGZ9lD/LwY="; + # Remove mixed-case files that cause hash differences between platforms + postFetch = '' + rm -rf $out/docs/ + ''; }; build-system = [ setuptools ]; From 901a024f4edf0e3e24cbd546817f6d8ad4d16285 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Sun, 18 Jan 2026 10:52:18 -0800 Subject: [PATCH 2/2] python3Packages.google-api-python-client: migrate to finalAttrs: --- .../python-modules/google-api-python-client/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/google-api-python-client/default.nix b/pkgs/development/python-modules/google-api-python-client/default.nix index 49dd7ecafe50..12a8d7a6b27e 100644 --- a/pkgs/development/python-modules/google-api-python-client/default.nix +++ b/pkgs/development/python-modules/google-api-python-client/default.nix @@ -10,7 +10,7 @@ setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "google-api-python-client"; version = "2.188.0"; pyproject = true; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "googleapis"; repo = "google-api-python-client"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-uNvsWCfoT+wp6UnbDP5QS7Os2FnEsTzusdGZ9lD/LwY="; # Remove mixed-case files that cause hash differences between platforms postFetch = '' @@ -47,8 +47,8 @@ buildPythonPackage rec { any new features. ''; homepage = "https://github.com/google/google-api-python-client"; - changelog = "https://github.com/googleapis/google-api-python-client/releases/tag/${src.tag}"; + changelog = "https://github.com/googleapis/google-api-python-client/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = [ lib.maintainers.sarahec ]; }; -} +})