licenses: Add CERN Open Hardware Licence.

* guix/licenses.scm (ohl2-s): New variable.
(ohl2-p): New variable.
(ohl2-w): New variable.
* guix/import/utils.scm (%spdx-license-identifiers): Add references to them.

Change-Id: I212332041b6438af0ea7b869e38665147f6ce798
Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
This commit is contained in:
Cayetano Santos 2025-08-01 22:44:32 +02:00 committed by Danny Milosavljevic
parent ae333e0755
commit 9e3bdb02d8
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5
2 changed files with 21 additions and 0 deletions

View file

@ -13,6 +13,7 @@
;;; Copyright © 2022 Alice Brenon <alice.brenon@ens-lyon.fr>
;;; Copyright © 2022 Kyle Meyer <kyle@kyleam.com>
;;; Copyright © 2022 Philip McGrath <philip@philipmcgrath.com>
;;; Copyright © 2025 Cayetano Santos <csantosb@inventati.org>
;;;
;;; This file is part of GNU Guix.
;;;
@ -271,6 +272,9 @@ thrown."
("MS-PL" . license:ms-pl)
("NCSA" . license:ncsa)
("OGL-UK-1.0" . license:ogl-psi1.0)
("CERN-OHL-S-2.0" . license:ohl2-s)
("CERN-OHL-P-2.0" . license:ohl2-p)
("CERN-OHL-W-2.0" . license:ohl2-w)
("OpenSSL" . license:openssl)
("OLDAP-2.8" . license:openldap2.8)
("OPL-1.0" . license:opl1.0+)

View file

@ -20,6 +20,7 @@
;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz>
;;; Copyright © 2021 Noisytoot <noisytoot@disroot.org>
;;; Copyright © 2021 Kyle Meyer <kyle@kyleam.com>
;;; Copyright © 2025 Cayetano Santos <csantosb@inventati.org>
;;;
;;; This file is part of GNU Guix.
;;;
@ -90,6 +91,7 @@
ncsa
nmap
ogl-psi1.0
ohl2-s ohl2-w ohl2-p
openldap2.8 openssl
perl-license
psfl public-domain
@ -648,6 +650,21 @@ at URI, which may be a file:// URI pointing the package's tree."
"https://www.nationalarchives.gov.uk/doc/open-government-licence/version/1/"
#f))
(define ohl2-s
(license "Cern OHL version 2 - Strongly reciprocal variant"
"https://ohwr.org/cern_ohl_s_v2.txt"
"https://cern-ohl.web.cern.ch/home"))
(define ohl2-w
(license "Cern OHL version 2 - Weakly reciprocal variant"
"https://ohwr.org/cern_ohl_w_v2.txt"
"https://cern-ohl.web.cern.ch/home"))
(define ohl2-p
(license "Cern OHL version 2 - Permissive variant"
"https://ohwr.org/cern_ohl_p_v2.txt"
"https://cern-ohl.web.cern.ch/home"))
(define openssl
(license "OpenSSL"
"http://directory.fsf.org/wiki/License:OpenSSL"