~ruther/guix-local

9e3bdb02d8d2944ca6526ab5b031d6a23e77382a — Cayetano Santos 1 year, 2 months ago ae333e0
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>
2 files changed, 21 insertions(+), 0 deletions(-)

M guix/import/utils.scm
M guix/licenses.scm
M guix/import/utils.scm => guix/import/utils.scm +4 -0
@@ 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+)

M guix/licenses.scm => guix/licenses.scm +17 -0
@@ 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"