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

Message ID c5ea6669523b275bda0c4b9c3981bfefd49fcb67.1743570894.git.karl@hallsby.com
State New
Headers
Series gnu: Add Souffle. |

Commit Message

Raven Hallsby April 2, 2025, 5:25 a.m. UTC
  From: Karl Hallsby <karl@hallsby.com>

* 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(+)
  

Patch

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"