From e42705c98279f4f602face96269034164b6e77f5 Mon Sep 17 00:00:00 2001 From: iliana etaoin Date: Fri, 5 Apr 2024 20:18:41 +0000 Subject: licenses: rename `apsl{10,20}` -> `apple-psl{10,20}` Part 1 of #301908. This renames the two versions of the Apple Public Source License seen in nixpkgs; `apsl20` was often confused as being for the widely-used Apache License 2.0. --- lib/licenses.nix | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'lib/licenses.nix') diff --git a/lib/licenses.nix b/lib/licenses.nix index 358b77117a362..035907ed921ee 100644 --- a/lib/licenses.nix +++ b/lib/licenses.nix @@ -93,12 +93,12 @@ in mkLicense lset) ({ url = "https://aomedia.org/license/patent-license/"; }; - apsl10 = { + apple-psl10 = { spdxId = "APSL-1.0"; fullName = "Apple Public Source License 1.0"; }; - apsl20 = { + apple-psl20 = { spdxId = "APSL-2.0"; fullName = "Apple Public Source License 2.0"; }; @@ -1272,6 +1272,18 @@ in mkLicense lset) ({ }; } // { # TODO: remove legacy aliases + apsl10 = { + # deprecated for consistency with `apple-psl20`; use `apple-psl10` + spdxId = "APSL-1.0"; + fullName = "Apple Public Source License 1.0"; + deprecated = true; + }; + apsl20 = { + # deprecated due to confusion with Apache-2.0; use `apple-psl20` + spdxId = "APSL-2.0"; + fullName = "Apple Public Source License 2.0"; + deprecated = true; + }; gpl2 = { spdxId = "GPL-2.0"; fullName = "GNU General Public License v2.0"; -- cgit 1.4.1