Subject: [bug#77448] [PATCH 1/2] licenses: Add UPL 1.0.

From: Raven Hallsby <[email-masked]>
Date: Wed, 2 Apr 2025 00:25:14 -0500

From: Karl Hallsby <[email-masked]>

* guix/licenses.scm (upl1.0): New variable.
* guix/import/utils.scm (%spdx-license-identifiers): Add license upl1.0.

Change-Id: I15c864755b4a5f7afffdcabd182f957faf7bbe43
---
 guix/import/utils.scm | 1 +
 guix/licenses.scm     | 6 ++++++
 2 files changed, 7 insertions(+)

diff --git a/guix/import/utils.scm b/guix/import/utils.scm
index 38c986b4d5a..d9b9b3275d5 100644
--- a/guix/import/utils.scm
+++ b/guix/import/utils.scm
@@ -284,6 +284,7 @@ (define %spdx-license-identifiers
     ("Sleepycat"                  . license:sleepycat)
     ("TCL"                        . license:tcl/tk)
     ("Unlicense"                  . license:unlicense)
+    ("UPL-1.0"                    . license:upl1.0)
     ("Vim"                        . license:vim)
     ("W3C"                        . license:w3c)
     ("WTFPL"                      . license:wtfpl2)
diff --git a/guix/licenses.scm b/guix/licenses.scm
index 8fd4f363929..c86c333bd9c 100644
--- a/guix/licenses.scm
+++ b/guix/licenses.scm
@@ -103,6 +103,7 @@ (define-module (guix licenses)
             tcl/tk
             unicode
             unlicense
+            upl1.0
             vim
             w3c
             x11 x11-style
@@ -731,6 +732,11 @@ (define unlicense
            "https://unlicense.org/"
            "https://www.gnu.org/licenses/license-list.html#Unlicense"))
 
+(define upl1.0
+  (license "UPL-1.0"
+           "https://directory.fsf.org/wiki/License:UPL-1.0"
+           "https://www.gnu.org/licenses/license-list#UPL"))
+
 (define w3c
   (license "W3C Software Notice and License"
            "https://directory.fsf.org/wiki/License:W3C_31Dec2002"
-- 
2.49.0