From 9ad76bd0ed824069d143e955e15cf73eaf749455 Mon Sep 17 00:00:00 2001 From: Nils Wireklint Date: Fri, 19 Apr 2024 15:31:25 +0200 Subject: [PATCH] Add a dep to rules_proto --- MODULE.bazel | 1 + MODULE.bazel.lock | 85 ++++++++++++++++++++++++----------------------- 2 files changed, 44 insertions(+), 42 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index 4361ed0..02e34e1 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -8,6 +8,7 @@ bazel_dep(name = "gazelle", version = "0.35.0") bazel_dep(name = "protobuf", version = "23.1") bazel_dep(name = "rules_go", version = "0.46.0") bazel_dep(name = "rules_jsonnet", version = "0.5.0") +bazel_dep(name = "rules_proto", version = "6.0.0-rc2") bazel_dep(name = "toolchains_llvm", version = "1.0.0") git_override( diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index 9f4aa32..b6bf3cd 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -1,6 +1,6 @@ { "lockFileVersion": 6, - "moduleFileHash": "739a91c34209a5cd337b6e437d7bd0def6506c906e83fa674e532e353784ef68", + "moduleFileHash": "db8e1173e2f4d00198da782cdd37d64adb5edfd29651e68fc4a4877f4eb54767", "flags": { "cmdRegistries": [ "https://bcr.bazel.build/" @@ -30,7 +30,7 @@ "usingModule": "", "location": { "file": "@@//:MODULE.bazel", - "line": 48, + "line": 49, "column": 24 }, "imports": { @@ -57,7 +57,7 @@ "devDependency": false, "location": { "file": "@@//:MODULE.bazel", - "line": 49, + "line": 50, "column": 18 } }, @@ -80,7 +80,7 @@ "devDependency": true, "location": { "file": "@@//:MODULE.bazel", - "line": 67, + "line": 68, "column": 29 } }, @@ -95,7 +95,7 @@ "devDependency": true, "location": { "file": "@@//:MODULE.bazel", - "line": 81, + "line": 82, "column": 28 } }, @@ -110,7 +110,7 @@ "devDependency": true, "location": { "file": "@@//:MODULE.bazel", - "line": 85, + "line": 86, "column": 28 } } @@ -146,7 +146,7 @@ "devDependency": false, "location": { "file": "@@//:MODULE.bazel", - "line": 92, + "line": 93, "column": 13 } } @@ -160,7 +160,7 @@ "usingModule": "", "location": { "file": "@@//:MODULE.bazel", - "line": 100, + "line": 101, "column": 21 }, "imports": { @@ -178,7 +178,7 @@ "devDependency": true, "location": { "file": "@@//:MODULE.bazel", - "line": 101, + "line": 102, "column": 15 } } @@ -192,7 +192,7 @@ "usingModule": "", "location": { "file": "@@//:MODULE.bazel", - "line": 106, + "line": 107, "column": 20 }, "imports": { @@ -210,7 +210,7 @@ "devDependency": false, "location": { "file": "@@//:MODULE.bazel", - "line": 107, + "line": 108, "column": 23 } } @@ -229,6 +229,7 @@ "rules_go": "rules_go@0.46.0", "rules_jsonnet": "rules_jsonnet@0.5.0", "toolchains_llvm": "toolchains_llvm@1.0.0", + "rules_proto": "rules_proto@6.0.0-rc2", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" } @@ -1287,6 +1288,37 @@ } } }, + "rules_proto@6.0.0-rc2": { + "name": "rules_proto", + "version": "6.0.0-rc2", + "key": "rules_proto@6.0.0-rc2", + "repoName": "rules_proto", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [], + "deps": { + "rules_license": "rules_license@0.0.7", + "bazel_skylib": "bazel_skylib@1.5.0", + "bazel_features": "bazel_features@1.2.0", + "bazel_tools": "bazel_tools@_", + "local_config_platform": "local_config_platform@_" + }, + "repoSpec": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/bazelbuild/rules_proto/releases/download/6.0.0-rc2/rules_proto-6.0.0-rc2.tar.gz" + ], + "integrity": "sha256-cf2+0AoHCVIa0hIFjGDROZe5IqXQHb/Zl/DVfWiee2c=", + "strip_prefix": "rules_proto-6.0.0-rc2", + "remote_patches": { + "https://bcr.bazel.build/modules/rules_proto/6.0.0-rc2/patches/module_dot_bazel_version.patch": "sha256-xDTHv7Npgr0lIdxwTXXD5rcQ31DX09176+T4wn0hF4I=" + }, + "remote_patch_strip": 1 + } + } + }, "bazel_tools@_": { "name": "bazel_tools", "version": "", @@ -1969,37 +2001,6 @@ } } }, - "rules_proto@6.0.0-rc2": { - "name": "rules_proto", - "version": "6.0.0-rc2", - "key": "rules_proto@6.0.0-rc2", - "repoName": "rules_proto", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "rules_license": "rules_license@0.0.7", - "bazel_skylib": "bazel_skylib@1.5.0", - "bazel_features": "bazel_features@1.2.0", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "urls": [ - "https://github.com/bazelbuild/rules_proto/releases/download/6.0.0-rc2/rules_proto-6.0.0-rc2.tar.gz" - ], - "integrity": "sha256-cf2+0AoHCVIa0hIFjGDROZe5IqXQHb/Zl/DVfWiee2c=", - "strip_prefix": "rules_proto-6.0.0-rc2", - "remote_patches": { - "https://bcr.bazel.build/modules/rules_proto/6.0.0-rc2/patches/module_dot_bazel_version.patch": "sha256-xDTHv7Npgr0lIdxwTXXD5rcQ31DX09176+T4wn0hF4I=" - }, - "remote_patch_strip": 1 - } - } - }, "jsonnet_go@0.20.0": { "name": "jsonnet_go", "version": "0.20.0",