From fa165c6452c3675b7374e4fba965eb8e6b7a1f65 Mon Sep 17 00:00:00 2001 From: Hugo Herter Date: Thu, 27 Mar 2025 09:15:37 +0100 Subject: [PATCH] lib/licenses: add aml Add the "Appple MIT License", also known as "Apple-Sample-Code-License". Quoting the Fedora wiki: > This is Apple's variant of MIT. They've added wording around patents, > which is why it gets it own shortname. Apple did not give this license > a name, so we've named it "Apple MIT License". > It is free and GPL compatible. References: - https://developer.apple.com/support/downloads/terms/apple-sample-code/Apple-Sample-Code-License.pdf - https://spdx.org/licenses/AML.html - https://fedoraproject.org/wiki/Licensing/Apple_MIT_License --- lib/licenses.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/licenses.nix b/lib/licenses.nix index 97ed489bd1ab..5cbe345a87d2 100644 --- a/lib/licenses.nix +++ b/lib/licenses.nix @@ -95,6 +95,11 @@ lib.mapAttrs mkLicense ({ free = false; }; + aml = { + spdxId = "AML"; + fullName = "Apple MIT License"; + }; + ampas = { spdxId = "AMPAS"; fullName = "Academy of Motion Picture Arts and Sciences BSD";