Avail human readable license name into LicenseInfo provider
diff --git a/rules/gather_licenses_info.bzl b/rules/gather_licenses_info.bzl
index 9dd1cbc..808167a 100644
--- a/rules/gather_licenses_info.bzl
+++ b/rules/gather_licenses_info.bzl
@@ -195,6 +195,7 @@
{{
"target": "{kind_path}",
"name": "{kind_name}",
+ "long_name": "{kind_long_name}",
"conditions": {kind_conditions}
}}"""
@@ -214,6 +215,7 @@
for kind in sorted(license.license_kinds, key = lambda x: x.name):
kinds.append(kind_template.format(
kind_name = kind.name,
+ kind_long_name = kind.long_name if kind.long_name else "",
kind_path = kind.label,
kind_conditions = kind.conditions,
))