Skip to content

Commit

Permalink
Add fmt 10.1.1 (#935)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vertexwahn committed Sep 18, 2023
1 parent c415999 commit 253fae7
Show file tree
Hide file tree
Showing 6 changed files with 62 additions and 2 deletions.
5 changes: 5 additions & 0 deletions modules/fmt/10.1.1/MODULE.bazel
@@ -0,0 +1,5 @@
module(
name = "fmt",
version = "10.1.1",
compatibility_level = 10,
)
18 changes: 18 additions & 0 deletions modules/fmt/10.1.1/patches/add_build_file.patch
@@ -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.1.1/patches/module_dot_bazel.patch
@@ -0,0 +1,8 @@
--- MODULE.bazel
+++ MODULE.bazel
@@ -0,0 +1,5 @@
+module(
+ name = "fmt",
+ version = "10.1.1",
+ compatibility_level = 10,
+)
12 changes: 12 additions & 0 deletions modules/fmt/10.1.1/presubmit.yml
@@ -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.1.1/source.json
@@ -0,0 +1,10 @@
{
"integrity": "sha256-uE5YoxDJtQGWzaSNVnjV+ghJvKGeX9umtoTw7pPtnRs=",
"patch_strip": 0,
"patches": {
"add_build_file.patch": "sha256-bUYJz9G64DPC99/aSnVNx3JD1nStIA4zXK89OvIDmfY=",
"module_dot_bazel.patch": "sha256-Dv4jUXJIkD+gS44D8XNcRLpa91C07usbCuJ/oN6KCQo="
},
"strip_prefix": "fmt-10.1.1",
"url": "https://github.com/fmtlib/fmt/releases/download/10.1.1/fmt-10.1.1.zip"
}
11 changes: 9 additions & 2 deletions modules/fmt/metadata.json
@@ -1,14 +1,21 @@
{
"homepage": "https://github.com/fmtlib/fmt",
"maintainers": [],
"maintainers": [
{
"email": "julian.amann@tum.de",
"github": "Vertexwahn",
"name": "Julian Amann"
}
],
"repository": [
"github:fmtlib/fmt"
],
"versions": [
"8.1.1",
"9.1.0",
"10.0.0",
"10.1.0"
"10.1.0",
"10.1.1"
],
"yanked_versions": {}
}

0 comments on commit 253fae7

Please sign in to comment.