From 59ad2a08fb909dcbf1e7f4cc27ddb87f51b6daa1 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 23 Feb 2024 20:54:55 +0100 Subject: [PATCH 1/3] python311Packages.google-cloud-artifact-registry: 1.11.1 -> 1.11.2 Changelog: https://github.com/googleapis/google-cloud-python/blob/google-cloud-artifact-registry-v1.11.2/packages/google-cloud-artifact-registry/CHANGELOG.md --- .../python-modules/google-cloud-artifact-registry/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/google-cloud-artifact-registry/default.nix b/pkgs/development/python-modules/google-cloud-artifact-registry/default.nix index 71075ad7f60d..809d0801d380 100644 --- a/pkgs/development/python-modules/google-cloud-artifact-registry/default.nix +++ b/pkgs/development/python-modules/google-cloud-artifact-registry/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "google-cloud-artifact-registry"; - version = "1.11.1"; + version = "1.11.2"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-EjwBVYq7V39ab/VQEmysfiuwEbMkjCXq5o+jM31NrwI="; + hash = "sha256-5ASS7Lt6F7dWBhc82bW+0FBSDCePax2YF5hr+BAGabs="; }; propagatedBuildInputs = [ From e63cd6450a2d601d4a05db34947d00196fde497d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 23 Feb 2024 20:59:37 +0100 Subject: [PATCH 2/3] python311Packages.google-cloud-artifact-registry: refactor --- .../google-cloud-artifact-registry/default.nix | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/google-cloud-artifact-registry/default.nix b/pkgs/development/python-modules/google-cloud-artifact-registry/default.nix index 809d0801d380..01bf9da078dd 100644 --- a/pkgs/development/python-modules/google-cloud-artifact-registry/default.nix +++ b/pkgs/development/python-modules/google-cloud-artifact-registry/default.nix @@ -1,16 +1,20 @@ -{ buildPythonPackage +{ lib +, buildPythonPackage , fetchPypi , google-api-core +, google-auth , grpc-google-iam-v1 -, lib +, proto-plus +, protobuf , pytestCheckHook , pythonOlder +, setuptools }: buildPythonPackage rec { pname = "google-cloud-artifact-registry"; version = "1.11.2"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.7"; @@ -19,9 +23,16 @@ buildPythonPackage rec { hash = "sha256-5ASS7Lt6F7dWBhc82bW+0FBSDCePax2YF5hr+BAGabs="; }; + nativeBuildInputs = [ + setuptools + ]; + propagatedBuildInputs = [ google-api-core + google-auth grpc-google-iam-v1 + proto-plus + protobuf ] ++ google-api-core.optional-dependencies.grpc; nativeCheckInputs = [ From d93fb37c335ac217fc48650919fe489fb2498bd6 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 27 Feb 2024 09:15:08 +0100 Subject: [PATCH 3/3] python311Packages.google-cloud-artifact-registry: refactor --- .../python-modules/google-cloud-artifact-registry/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/google-cloud-artifact-registry/default.nix b/pkgs/development/python-modules/google-cloud-artifact-registry/default.nix index 01bf9da078dd..7bf3e64e7b14 100644 --- a/pkgs/development/python-modules/google-cloud-artifact-registry/default.nix +++ b/pkgs/development/python-modules/google-cloud-artifact-registry/default.nix @@ -1,9 +1,9 @@ -{ lib -, buildPythonPackage +{ buildPythonPackage , fetchPypi , google-api-core , google-auth , grpc-google-iam-v1 +, lib , proto-plus , protobuf , pytestCheckHook