diff --git a/pkgs/development/python-modules/db-dtypes/default.nix b/pkgs/development/python-modules/db-dtypes/default.nix index 58617f0f9a66..ef3848830186 100644 --- a/pkgs/development/python-modules/db-dtypes/default.nix +++ b/pkgs/development/python-modules/db-dtypes/default.nix @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, + fetchpatch, numpy, packaging, pandas, @@ -24,6 +25,15 @@ buildPythonPackage rec { sourceRoot = "${src.name}/packages/db-dtypes"; + patches = [ + (fetchpatch { + name = "support-pandas-3.0.patch"; + url = "https://github.com/googleapis/google-cloud-python/commit/2086b34d8b3418462c9bc89b96eac779a25a3afd.patch"; + relative = "packages/db-dtypes"; + hash = "sha256-0NvbTCnr95IW7rkQVu3iUDsNXU/LzXhJwwSDdliFZ+Y="; + }) + ]; + build-system = [ setuptools ]; dependencies = [