Skip to content

Commit

Permalink
Add {fmt} 10.2.0 (#1245)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vertexwahn authored Jan 1, 2024
1 parent 48540bb commit e7a245a
Show file tree
Hide file tree
Showing 6 changed files with 55 additions and 1 deletion.
5 changes: 5 additions & 0 deletions modules/fmt/10.2.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module(
name = "fmt",
version = "10.2.0",
compatibility_level = 10,
)
18 changes: 18 additions & 0 deletions modules/fmt/10.2.0/patches/add_build_file.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
--- /dev/null
+++ BUILD.bazel
@@ -0,0 +1,15 @@
+package(default_visibility = ["//visibility:public"])
+
+licenses(["notice"])
+
+cc_library(
+ name = "fmt",
+ srcs = [
+ "src/format.cc",
+ "src/os.cc",
+ ],
+ hdrs = glob([
+ "include/fmt/*.h",
+ ]),
+ includes = ["include"],
+)
8 changes: 8 additions & 0 deletions modules/fmt/10.2.0/patches/module_dot_bazel.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
--- MODULE.bazel
+++ MODULE.bazel
@@ -0,0 +1,5 @@
+module(
+ name = "fmt",
+ version = "10.2.0",
+ compatibility_level = 10,
+)
12 changes: 12 additions & 0 deletions modules/fmt/10.2.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
build_targets: &build_targets
- '@fmt//:fmt'

platforms:
debian10:
build_targets: *build_targets
macos:
build_targets: *build_targets
ubuntu2004:
build_targets: *build_targets
windows:
build_targets: *build_targets
10 changes: 10 additions & 0 deletions modules/fmt/10.2.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"integrity": "sha256-ipQoYalPhGGigPgjBBzej2IKbYsOCqzJjBW7Wp3ZI5k=",
"patch_strip": 0,
"patches": {
"add_build_file.patch": "sha256-bUYJz9G64DPC99/aSnVNx3JD1nStIA4zXK89OvIDmfY=",
"module_dot_bazel.patch": "sha256-cxplHRbKmZJwT+UO/s/g6eXKjxBWgnLS3Ap9MFxuiw8="
},
"strip_prefix": "fmt-10.2.0",
"url": "https://github.com/fmtlib/fmt/releases/download/10.2.0/fmt-10.2.0.zip"
}
3 changes: 2 additions & 1 deletion modules/fmt/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"9.1.0",
"10.0.0",
"10.1.0",
"10.1.1"
"10.1.1",
"10.2.0"
],
"yanked_versions": {}
}

0 comments on commit e7a245a

Please sign in to comment.