From c49e1d23ee3f04abb234f563a1966116ba0fb747 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 23 Dec 2023 15:29:03 +0000 Subject: [PATCH] Update dependency nlohmann_json to v3.11.3 (#219) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Milan Vukov --- repositories/foxglove_bridge.BUILD.bazel | 2 +- repositories/nlohmann_json.BUILD.bazel | 11 ----------- repositories/repositories.bzl | 6 ++---- 3 files changed, 3 insertions(+), 16 deletions(-) delete mode 100644 repositories/nlohmann_json.BUILD.bazel diff --git a/repositories/foxglove_bridge.BUILD.bazel b/repositories/foxglove_bridge.BUILD.bazel index 1ba55c48..cf20f3e2 100644 --- a/repositories/foxglove_bridge.BUILD.bazel +++ b/repositories/foxglove_bridge.BUILD.bazel @@ -25,7 +25,7 @@ cc_library( copts = ["-std=c++17"], includes = ["foxglove_bridge_base/include"], deps = [ - "@nlohmann_json", + "@nlohmann_json//:json", "@websocketpp", ], ) diff --git a/repositories/nlohmann_json.BUILD.bazel b/repositories/nlohmann_json.BUILD.bazel deleted file mode 100644 index 531cd20a..00000000 --- a/repositories/nlohmann_json.BUILD.bazel +++ /dev/null @@ -1,11 +0,0 @@ -""" Builds nlohmann_json. -""" - -load("@rules_cc//cc:defs.bzl", "cc_library") - -cc_library( - name = "nlohmann_json", - hdrs = ["nlohmann/json.hpp"], - includes = ["."], - visibility = ["//visibility:public"], -) diff --git a/repositories/repositories.bzl b/repositories/repositories.bzl index 5aaace90..2dc2f0fa 100644 --- a/repositories/repositories.bzl +++ b/repositories/repositories.bzl @@ -195,10 +195,8 @@ def ros2_repositories(): maybe( http_archive, name = "nlohmann_json", - build_file = "@com_github_mvukov_rules_ros2//repositories:nlohmann_json.BUILD.bazel", - strip_prefix = "single_include", - sha256 = "e5c7a9f49a16814be27e4ed0ee900ecd0092bfb7dbfca65b5a421b774dccaaed", - urls = ["https://github.com/nlohmann/json/releases/download/v3.11.2/include.zip"], + sha256 = "a22461d13119ac5c78f205d3df1db13403e58ce1bb1794edc9313677313f4a9d", + urls = ["https://github.com/nlohmann/json/releases/download/v3.11.3/include.zip"], ) maybe(