summaryrefslogtreecommitdiff
path: root/vendor
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2025-03-02 01:25:07 +0100
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2025-03-02 01:39:34 +0100
commit8604c98df53486208cdc15424aae9d9b2fef2d8e (patch)
treed7a8564846316028294a906d654db38b5313413d /vendor
parent62cc4b468b4e8653d8ef523fc4081572c6c1c7d8 (diff)
Apply licenses with rules_license
Diffstat (limited to 'vendor')
-rw-r--r--vendor/cityhash/BUILD.bazel15
-rw-r--r--vendor/dragonbox/BUILD.bazel15
2 files changed, 30 insertions, 0 deletions
diff --git a/vendor/cityhash/BUILD.bazel b/vendor/cityhash/BUILD.bazel
new file mode 100644
index 0000000..5e5349d
--- /dev/null
+++ b/vendor/cityhash/BUILD.bazel
@@ -0,0 +1,15 @@
+# Copyright 2025 Steven Le Rouzic
+#
+# SPDX-License-Identifier: BSD-3-Clause
+
+load("@rules_license//rules:license.bzl", "license")
+
+license(
+ name = "license",
+ license_kinds = [
+ "@rules_license//licenses/spdx:MIT",
+ ],
+ license_text = "LICENSE.txt",
+ package_name = "CityHash",
+ package_url = "https://github.com/google/cityhash",
+)
diff --git a/vendor/dragonbox/BUILD.bazel b/vendor/dragonbox/BUILD.bazel
index b3092a7..5028819 100644
--- a/vendor/dragonbox/BUILD.bazel
+++ b/vendor/dragonbox/BUILD.bazel
@@ -2,9 +2,24 @@
#
# SPDX-License-Identifier: BSD-3-Clause
+load("@rules_license//rules:license.bzl", "license")
+
+license(
+ name = "license",
+ license_kinds = [
+ "@rules_license//licenses/spdx:Apache-2.0",
+ ],
+ license_text = "LICENSE.txt",
+ package_name = "Dragonbox",
+ package_url = "https://github.com/jk-jeon/dragonbox",
+)
+
cc_library(
name = "dragonbox",
hdrs = ["dragonbox.h"],
includes = ["."],
visibility = ["//:__subpackages__"],
+ applicable_licenses = [
+ ":license",
+ ],
)