google-cloud-cpp: pin protobuf_29 (#398211)

Changed files
+10 -16
pkgs
by-name
go
google-cloud-cpp
+10 -16
pkgs/by-name/go/google-cloud-cpp/package.nix
···
nlohmann_json,
openssl,
pkg-config,
-
protobuf,
+
# upstream PR to update: https://github.com/googleapis/google-cloud-cpp/pull/14974
+
protobuf_29,
pkgsBuildHost,
# default list of APIs: https://github.com/googleapis/google-cloud-cpp/blob/v1.32.1/CMakeLists.txt#L173
apis ? [ "*" ],
···
})
];
-
nativeBuildInputs =
-
[
-
cmake
-
ninja
-
pkg-config
-
]
-
++ lib.optionals (!doInstallCheck) [
-
# enable these dependencies when doInstallCheck is false because we're
-
# unconditionally building tests and benchmarks
-
#
-
# when doInstallCheck is true, these deps are added to nativeInstallCheckInputs
-
gbenchmark
-
gtest
-
];
+
nativeBuildInputs = [
+
cmake
+
ninja
+
pkg-config
+
];
buildInputs = [
c-ares
···
grpc
nlohmann_json
openssl
-
protobuf
+
protobuf_29
+
gbenchmark
+
gtest
];
doInstallCheck = true;