Subject: [bug#75066] [PATCH] licenses: add ohl2 (CERN Open Hardware Licence)

From: Cayetano Santos <[email-masked]>
Date: Tue, 24 Dec 2024 18:45:13 +0100

---

These are free licenses oriented to hardware. They are necessary to distribute gateware code in the form of HDL modules, among others.

More about the rationale here:

    https://ohwr.org/project/cernohl/-/wikis/Documents/CERN-OHL-version-2

 guix/licenses.scm | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/guix/licenses.scm b/guix/licenses.scm
index 8fd4f36392..fad6a8868a 100644
--- a/guix/licenses.scm
+++ b/guix/licenses.scm
@@ -90,6 +90,7 @@ (define-module (guix licenses)
             ncsa
             nmap
             ogl-psi1.0
+	    ohl2-s ohl2-w ohl2-p
             openldap2.8 openssl
             perl-license
             psfl public-domain
@@ -648,6 +649,21 @@ (define ogl-psi1.0
            "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"

base-commit: 9629b6821118b1896434b32f73521a7f2b686b04
--
2.47.1