google-cloud-cpp: pin protobuf_29

See upstream PR
https://github.com/googleapis/google-cloud-cpp/pull/14974
This commit is contained in:
FliegendeWurst
2025-04-12 23:06:59 +02:00
parent 371a9fa6eb
commit ace364b96d
+10 -16
View File
@@ -14,7 +14,8 @@
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 ? [ "*" ],
@@ -48,20 +49,11 @@ stdenv.mkDerivation rec {
})
];
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
@@ -70,7 +62,9 @@ stdenv.mkDerivation rec {
grpc
nlohmann_json
openssl
protobuf
protobuf_29
gbenchmark
gtest
];
doInstallCheck = true;