-
Notifications
You must be signed in to change notification settings - Fork 312
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
efd505a
commit 7208ac5
Showing
10 changed files
with
3,587 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
module( | ||
name = "circl", | ||
version = "1.3.8", | ||
) | ||
|
||
bazel_dep(name = "gazelle", version = "0.36.0") | ||
bazel_dep(name = "rules_cc", version = "0.0.9") | ||
bazel_dep(name = "rules_go", version = "0.48.0") | ||
|
||
go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps") | ||
go_deps.from_file(go_mod = "//:go.mod") | ||
use_repo( | ||
go_deps, | ||
"org_golang_x_sys", | ||
"com_github_bwesterb_go_ristretto", | ||
"org_golang_x_crypto", | ||
) | ||
|
52 changes: 52 additions & 0 deletions
52
modules/circl/1.3.8/patches/0001-build-add-bzlmod-files.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: Matt Clarkson <[email protected]> | ||
Date: Thu, 9 May 2024 09:42:06 +0100 | ||
Subject: [PATCH] build: add `bzlmod` files | ||
|
||
--- | ||
BUILD.bazel | 1 + | ||
MODULE.bazel | 18 ++++++++++++++++++ | ||
WORKSPACE | 1 + | ||
3 files changed, 20 insertions(+) | ||
create mode 100644 BUILD.bazel | ||
create mode 100644 MODULE.bazel | ||
create mode 100644 WORKSPACE | ||
|
||
diff --git a/BUILD.bazel b/BUILD.bazel | ||
new file mode 100644 | ||
index 0000000..684a265 | ||
--- /dev/null | ||
+++ b/BUILD.bazel | ||
@@ -0,0 +1 @@ | ||
+# Will be generated with `gazelle` | ||
diff --git a/MODULE.bazel b/MODULE.bazel | ||
new file mode 100644 | ||
index 0000000..00b98cd | ||
--- /dev/null | ||
+++ b/MODULE.bazel | ||
@@ -0,0 +1,18 @@ | ||
+module( | ||
+ name = "circl", | ||
+ version = "1.3.8", | ||
+) | ||
+ | ||
+bazel_dep(name = "gazelle", version = "0.36.0") | ||
+bazel_dep(name = "rules_cc", version = "0.0.9") | ||
+bazel_dep(name = "rules_go", version = "0.48.0") | ||
+ | ||
+go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps") | ||
+go_deps.from_file(go_mod = "//:go.mod") | ||
+use_repo( | ||
+ go_deps, | ||
+ "org_golang_x_sys", | ||
+ "com_github_bwesterb_go_ristretto", | ||
+ "org_golang_x_crypto", | ||
+) | ||
+ | ||
diff --git a/WORKSPACE b/WORKSPACE | ||
new file mode 100644 | ||
index 0000000..b5081d4 | ||
--- /dev/null | ||
+++ b/WORKSPACE | ||
@@ -0,0 +1 @@ | ||
+# Unused. Use `bzlmod`. |
Oops, something went wrong.