Change:
name: google-cloud-cpp current version: 1.38.0 desired version: 1.42.0 maintainers: who did the last update Please tag this issue in your PR.
I don't have time to work on this at the moment.

Discussion:
] ++ lib.optionals stdenv.isDarwin [ "-DCMAKE_INSTALL_RPATH=@loader_path/../lib" # needed for tools executables ] ++ lib.optional (!stdenv.isx86_64) "-DARROW_USE_SIMD=OFF" <del> ++ lib.optional enableS3 "-DAWSSDK_CORE_HEADER_FILE=${aws-sdk-cpp}/include/aws/core/Aws.h"; </del> <ins> ++ lib.optional enableS3 "-DAWSSDK_CORE_HEADER_FILE=${aws-sdk-cpp}/include/aws/core/Aws.h" ++ lib.optionals enableGcs [ "-DCMAKE_CXX_STANDARD=17" ]; </ins> doInstallCheck = true; ARROW_TEST_DATA = lib.optionalString doInstallCheck "${arrow-testing}/data";

, staticOnly ? stdenv.hostPlatform.isStatic }: let <del> googleapisRev = "d4f3468ef85278428005ed555b3a85db91551ee6"; </del> <ins> googleapisRev = "13d5b3f3f9412f38427c8ad48068f04ad1ee9808"; </ins> googleapis = fetchFromGitHub { <ins> name = "googleapis-src"; </ins> owner = "googleapis"; repo = "googleapis"; rev = googleapisRev; <del> hash = "sha256-sIQVFQhE3Ae6ia45apzdgtwzglMM4hFZ8efNAhMO5ZY="; </del> <ins> hash = "sha256-SiU7N1EQ/7LWhUwgf4c0CBfUzNGiLe4sSbbJmJF3sao="; </ins> }; excludedTests = builtins.fromTOML (builtins.readFile ./skipped_tests.toml); in stdenv.mkDerivation rec { pname = "google-cloud-cpp"; <del> version = "1.38.0"; </del> <ins> version = "2.4.0"; </ins> src = fetchFromGitHub { owner = "googleapis"; repo = "google-cloud-cpp"; rev = "v${version}"; <del> sha256 = "sha256-kobOkohWIDTQaaihhoh/25tZUNv+CjKFwj2xQqO52bA="; </del> <ins> sha256 = "sha256-o8aURM8fvxn0FZjuqJGclq9Brss8LOFZzD0FV2j/lUc="; </ins> }; postPatch = '' substituteInPlace external/googleapis/CMakeLists.txt  <del> --replace "https://github.com/googleapis/googleapis/archive/''${GOOGLE_CLOUD_CPP_GOOGLEAPIS_COMMIT_SHA}.tar.gz" "file://${googleapis}" # https://github.com/googleapis/google-cloud-cpp/issues/8992 for file in external/googleapis/config.pc.in google/cloud/{,*/}config.pc.in; do substituteInPlace "$file"  --replace '$'{prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@  --replace '$'{prefix}/@CMAKE_INSTALL_INCLUDEDIR@ @CMAKE_INSTALL_FULL_INCLUDEDIR@  --replace '$'{prefix}/@CMAKE_INSTALL_BINDIR@ @CMAKE_INSTALL_FULL_BINDIR@ done </del> <ins> --replace "https://github.com/googleapis/googleapis/archive/''${_GOOGLE_CLOUD_CPP_GOOGLEAPIS_COMMIT_SHA}.tar.gz" "file://${googleapis}" sed -i '/https://storage.googleapis.com/cloud-cpp-community-archive/com_google_googleapis/d' external/googleapis/CMakeLists.txt </ins> ''; nativeBuildInputs = [

# this adds a good chunk of time to the build "-DBUILD_TESTING:BOOL=ON" "-DGOOGLE_CLOUD_CPP_ENABLE_EXAMPLES:BOOL=OFF" <ins> "-DCMAKE_CXX_STANDARD=17" </ins> ] ++ lib.optionals (apis != [ "*" ]) [ "-DGOOGLE_CLOUD_CPP_ENABLE=${lib.concatStringsSep ";" apis}" ];

"bigtable_read_sync_vs_async_benchmark", "bigtable_scan_throughput_benchmark", "bigtable_table_sample_rows_integration_test", <ins> "common_grpc_utils_internal_grpc_impersonate_service_account_integration_test", </ins> "iam_iam_credentials_integration_test", "iam_iam_integration_test", "logging_quickstart",

"storage_curl_request_integration_test", "storage_curl_resumable_upload_session_integration_test", "storage_curl_sign_blob_integration_test", <ins> "storage_decompressive_transcoding_integration_test", </ins> "storage_grpc_integration_test", "storage_key_file_integration_test", "storage_minimal_iam_credentials_rest_integration_test",

"storage_throughput_experiment_test", "storage_tracing_integration_test", "storage_unified_credentials_integration_test", <del> "common_grpc_utils_internal_grpc_impersonate_service_account_integration_test" </del> ] cases = [ "BackupExtraIntegrationTest.CreateBackupWithExpiredVersionTime", "BackupExtraIntegrationTest.BackupWithExpiredVersionTime", "BackupExtraIntegrationTest.BackupWithFutureVersionTime", "BackupExtraIntegrationTest.CreateBackupWithFutureVersionTime", <ins> "BlockingPublisherIntegrationTest.Basic", </ins> "DatabaseAdminClientTest.CreateWithEncryptionKey", "DatabaseAdminClientTest.CreateWithNonexistentEncryptionKey", "DatabaseAdminClientTest.DatabaseBasicCRUD",

"DatabaseAdminClientTest.VersionRetentionPeriodCreateFailure", "DatabaseAdminClientTest.VersionRetentionPeriodUpdate", "DatabaseAdminClientTest.VersionRetentionPeriodUpdateFailure", <ins> "ErrorParsingIntegrationTest.FailureContainsErrorInfo", "GrpcServiceAccountIntegrationTest.GetServiceAccount", "GrpcBucketMetadataIntegrationTest.ObjectMetadataCRUD", </ins> "InstanceAdminClientTest.InstanceConfig", "InstanceAdminClientTest.InstanceIam", "InstanceAdminClientTest.InstanceReadOperations", "LoggingIntegrationTest.ListMonitoredResourceDescriptors", "LoggingIntegrationTest.WriteLogEntries", "ObjectFileMultiThreadedTest.Download", <ins> "ObjectReadLargeIntegrationTest.LimitedMemoryGrowth", </ins> "SubscriberIntegrationTest.FireAndForget", "SubscriberIntegrationTest.PublishOrdered", "SubscriberIntegrationTest.PublishPullAck",

buildInputs = [ openssl protobuf ] ++ lib.optionals stdenv.isLinux [ libnsl ]; <del> cmakeFlags = [ "-DgRPC_ZLIB_PROVIDER=package" "-DgRPC_CARES_PROVIDER=package" "-DgRPC_RE2_PROVIDER=package" "-DgRPC_SSL_PROVIDER=package" "-DgRPC_PROTOBUF_PROVIDER=package" "-DgRPC_ABSL_PROVIDER=package" "-DBUILD_SHARED_LIBS=ON" ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ "-D_gRPC_PROTOBUF_PROTOC_EXECUTABLE=${buildPackages.protobuf}/bin/protoc" ] ++ lib.optionals ((stdenv.hostPlatform.useLLVM or false) && lib.versionOlder stdenv.cc.cc.version "11.0") [ # Needs to be compiled with -std=c++11 for clang < 11. Interestingly this is # only an issue with the useLLVM stdenv, not the darwin stdenv… # https://github.com/grpc/grpc/issues/26473#issuecomment-860885484 "-DCMAKE_CXX_STANDARD=11" ]; </del> <ins> cmakeFlags = let # Needs to be compiled with -std=c++11 for clang < 11. Interestingly this is # only an issue with the useLLVM stdenv, not the darwin stdenv… # https://github.com/grpc/grpc/issues/26473#issuecomment-860885484 useLLVMAndOldCC = (stdenv.hostPlatform.useLLVM or false) && lib.versionOlder stdenv.cc.cc.version "11.0"; cxxStandard = if useLLVMAndOldCC then "11" else "17"; in [ "-DgRPC_ZLIB_PROVIDER=package" "-DgRPC_CARES_PROVIDER=package" "-DgRPC_RE2_PROVIDER=package" "-DgRPC_SSL_PROVIDER=package" "-DgRPC_PROTOBUF_PROVIDER=package" "-DgRPC_ABSL_PROVIDER=package" "-DBUILD_SHARED_LIBS=ON" "-DCMAKE_CXX_STANDARD=${cxxStandard}" ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ "-D_gRPC_PROTOBUF_PROTOC_EXECUTABLE=${buildPackages.protobuf}/bin/protoc" ]; </ins> # CMake creates a build directory by default, this conflicts with the # basel BUILD file on case-insensitive filesystems.

google-guest-oslogin = callPackage ../tools/virtualization/google-guest-oslogin { }; <del> google-cloud-cpp = callPackage ../development/libraries/google-cloud-cpp { openssl = openssl_1_1; }; </del> <ins> google-cloud-cpp = callPackage ../development/libraries/google-cloud-cpp { }; </ins> google-java-format = callPackage ../development/tools/google-java-format { };

grilo-plugins = callPackage ../development/libraries/grilo-plugins { }; grpc = callPackage ../development/libraries/grpc { <del> # grpc builds with c++14 so abseil must also be built that way </del> <ins> # grpc builds with c++17 so abseil must also be built that way </ins> abseil-cpp = abseil-cpp_202206.override { <del> cxxStandard = "14"; </del> <ins> cxxStandard = "17"; </ins> }; };