@@ -137,39 +137,11 @@ def googlebenchmark_repositories(bind = True):
137
137
)
138
138
139
139
def nlohmannjson_repositories (bind = True ):
140
- BUILD = """
141
- # Copyright 2016 Google Inc. All Rights Reserved.
142
- #
143
- # Licensed under the Apache License, Version 2.0 (the "License");
144
- # you may not use this file except in compliance with the License.
145
- # You may obtain a copy of the License at
146
- #
147
- # http://www.apache.org/licenses/LICENSE-2.0
148
- #
149
- # Unless required by applicable law or agreed to in writing, software
150
- # distributed under the License is distributed on an "AS IS" BASIS,
151
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
152
- # See the License for the specific language governing permissions and
153
- # limitations under the License.
154
- #
155
- ################################################################################
156
- #
157
- licenses(["notice"])
158
- package(default_visibility = ["//visibility:public"])
159
- cc_library(
160
- name = "json",
161
- hdrs = [
162
- "single_include/nlohmann/json.hpp",
163
- ],
164
- strip_include_prefix = "single_include/",
165
- )
166
- """
167
140
http_archive (
168
141
name = "com_github_nlohmann_json" ,
169
- strip_prefix = "json-3.11.2" ,
170
- urls = ["https://github.com/nlohmann/json/archive/v3.11.2.tar.gz" ],
171
- sha256 = "d69f9deb6a75e2580465c6c4c5111b89c4dc2fa94e3a85fcd2ffcd9a143d9273" ,
172
- build_file_content = BUILD ,
142
+ strip_prefix = "json-3.11.3" ,
143
+ urls = ["https://github.com/nlohmann/json/archive/v3.11.3.tar.gz" ],
144
+ sha256 = "0d8ef5af7f9794e3263480193c491549b2ba6cc74bb018906202ada498a79406" ,
173
145
)
174
146
175
147
RULES_DOCKER_COMMIT = "0.25.0" # Jun 22, 2022
0 commit comments