lol

python3Packages.db-dtypes: unbreak

fixes https://hydra.nixos.org/build/239679666

This fix pulls in fixes from upstream.
Resulted from changes further upstream.

+16
+16
pkgs/development/python-modules/db-dtypes/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 + , fetchpatch 4 5 , numpy 5 6 , packaging 6 7 , pandas ··· 22 23 rev = "refs/tags/v${version}"; 23 24 hash = "sha256-OAVHx/a4uupVGXSWN2/3uem9/4i+TUkzTX4kp0uLY44="; 24 25 }; 26 + 27 + patches = [ 28 + # on master branch, to be released as 1.1.2 29 + (fetchpatch { 30 + name = "xfail-tests-that-are-known-to-fail.patch"; 31 + url = "https://github.com/googleapis/python-db-dtypes-pandas/commit/4a56b766b0ccba900a555167863f1081a76c4c0d.patch"; 32 + hash = "sha256-ra1d8Vewvwhkr7PBHc3KM6IUCWsHxE+B7UP2duTgjew="; 33 + }) 34 + # on master branch, to be released as 1.1.2 35 + (fetchpatch { 36 + name = "add-import-and-object-reference-due-to-upstream-changes.patch"; 37 + url = "https://github.com/googleapis/python-db-dtypes-pandas/commit/8a7b25f3e708df5cd32afcb702fe16130846b165.patch"; 38 + hash = "sha256-JVbhiOIr5gKMSQpIQ+DgIRqq8V5x5ClQhkQzAmIYqEU="; 39 + }) 40 + ]; 25 41 26 42 propagatedBuildInputs = [ 27 43 numpy