Skip to content

Commit

Permalink
feat: add [email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
mattyclarkson committed Jun 12, 2024
1 parent efd505a commit 7208ac5
Show file tree
Hide file tree
Showing 10 changed files with 3,587 additions and 1 deletion.
18 changes: 18 additions & 0 deletions modules/circl/1.3.8/MODULE.bazel
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 modules/circl/1.3.8/patches/0001-build-add-bzlmod-files.patch
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`.
Loading

0 comments on commit 7208ac5

Please sign in to comment.