chore: import upstream snapshot with attribution
cffconvert / validate (push) Has been skipped
License Check / license-check (push) Failing after 2s

This commit is contained in:
wehub-resource-sync
2026-07-13 12:14:16 +08:00
commit 8a852e4b4e
36502 changed files with 9277225 additions and 0 deletions
View File
+12
View File
@@ -0,0 +1,12 @@
"""xxd is a tool that converts a binary file into a C/C++ header file containing an array of bytes."""
load("//third_party:repo.bzl", "tf_http_archive", "tf_mirror_urls")
def repo():
tf_http_archive(
name = "xxd",
sha256 = "a5cdcfcfeb13dc4deddcba461d40234dbf47e61941cb7170c9ebe147357bb62d",
strip_prefix = "vim-9.1.0917/src/xxd",
urls = tf_mirror_urls("https://github.com/vim/vim/archive/refs/tags/v9.1.0917.tar.gz"),
build_file = "//third_party/xxd:xxd.BUILD",
)
+30
View File
@@ -0,0 +1,30 @@
load("@rules_cc//cc:cc_binary.bzl", "cc_binary")
load("@rules_license//rules:license.bzl", "license")
package(
default_applicable_licenses = [":license"],
default_visibility = ["//visibility:public"],
)
exports_files(["LICENSE"])
license(
name = "license",
package_name = "vim",
license_kinds = [
"@rules_license//licenses/spdx:Vim",
],
license_text = "LICENSE",
package_url = "https://github.com/vim/vim",
)
cc_binary(
name = "xxd",
srcs = [
"xxd.c",
],
local_defines = select({
"@platforms//os:windows": ["WIN32=1"],
"//conditions:default": [],
}),
)