From 21cf4947c8a67677b6acdf65d14e9065f5c960bc Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 25 Nov 2023 00:21:42 +0100 Subject: [PATCH] python311Packages.google-cloud-storage: refactor --- .../python-modules/google-cloud-storage/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/google-cloud-storage/default.nix b/pkgs/development/python-modules/google-cloud-storage/default.nix index 79927645e222..ba7573452940 100644 --- a/pkgs/development/python-modules/google-cloud-storage/default.nix +++ b/pkgs/development/python-modules/google-cloud-storage/default.nix @@ -12,12 +12,13 @@ , pytestCheckHook , pythonOlder , requests +, setuptools }: buildPythonPackage rec { pname = "google-cloud-storage"; version = "2.13.0"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.7"; @@ -26,6 +27,10 @@ buildPythonPackage rec { hash = "sha256-9i3Ex7bNQ2DQcuPesoA1+9rUkaw9mwsYFaEtrqEPN8c="; }; + nativeBuildInputs = [ + setuptools + ]; + propagatedBuildInputs = [ google-auth google-cloud-core