From 1b581bc82f239294020ee7d6dbb8d9686fe2fd08 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 23 Feb 2024 12:02:16 +0100 Subject: [PATCH 1/2] python311Packages.google-cloud-texttospeech: 2.16.1 -> 2.16.2 Changelog: https://github.com/googleapis/google-cloud-python/blob/google-cloud-texttospeech-v2.16.2/packages/google-cloud-texttospeech/CHANGELOG.md --- .../python-modules/google-cloud-texttospeech/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/google-cloud-texttospeech/default.nix b/pkgs/development/python-modules/google-cloud-texttospeech/default.nix index f65f1de88806..d265df1263ba 100644 --- a/pkgs/development/python-modules/google-cloud-texttospeech/default.nix +++ b/pkgs/development/python-modules/google-cloud-texttospeech/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "google-cloud-texttospeech"; - version = "2.16.1"; + version = "2.16.2"; format = "setuptools"; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - hash = "sha256-8Mgf83pd3FFokpnb1g8DDthVBBY+hvBMmjdf2fpQswQ="; + hash = "sha256-6qyAnZp9B8XJ61hhORZULLL6UsFPnzHaf/SYn3F/jgw="; }; propagatedBuildInputs = [ From 45a18a395cffac55c5e593552b26a10be2e3f5b8 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 23 Feb 2024 12:04:04 +0100 Subject: [PATCH 2/2] python311Packages.google-cloud-texttospeech: refactor --- .../python-modules/google-cloud-texttospeech/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/google-cloud-texttospeech/default.nix b/pkgs/development/python-modules/google-cloud-texttospeech/default.nix index d265df1263ba..58b16639fcab 100644 --- a/pkgs/development/python-modules/google-cloud-texttospeech/default.nix +++ b/pkgs/development/python-modules/google-cloud-texttospeech/default.nix @@ -8,12 +8,13 @@ , pytest-asyncio , pytestCheckHook , pythonOlder +, setuptools }: buildPythonPackage rec { pname = "google-cloud-texttospeech"; version = "2.16.2"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.8"; @@ -22,6 +23,10 @@ buildPythonPackage rec { hash = "sha256-6qyAnZp9B8XJ61hhORZULLL6UsFPnzHaf/SYn3F/jgw="; }; + nativeBuildInputs = [ + setuptools + ]; + propagatedBuildInputs = [ google-api-core proto-plus