From 8604c98df53486208cdc15424aae9d9b2fef2d8e Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Sun, 2 Mar 2025 01:25:07 +0100 Subject: Apply licenses with rules_license --- vendor/dragonbox/BUILD.bazel | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'vendor/dragonbox/BUILD.bazel') 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", + ], ) -- cgit