licenses: Add Expat No Attribution license.

* guix/licenses.scm (expat-0): New variable.
* guix/import/utils.scm (spdx-string->license): Add MIT-0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Kyle Meyer 2022-05-22 18:28:04 -04:00 committed by Ludovic Courtès
parent 4ab5c8348d
commit 71de612e10
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
2 changed files with 11 additions and 1 deletions

@ -11,6 +11,7 @@
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz>
;;; Copyright © 2022 Alice Brenon <alice.brenon@ens-lyon.fr>
;;; Copyright © 2022 Kyle Meyer <kyle@kyleam.com>
;;;
;;; This file is part of GNU Guix.
;;;
@ -176,6 +177,7 @@ of the string VERSION is replaced by the symbol 'version."
("EPL-2.0" 'license:epl2.0)
("EUPL-1.2" 'license:eupl1.2)
("MIT" 'license:expat)
("MIT-0" 'license:expat-0)
("FTL" 'license:freetype)
("FreeBSD-DOC" 'license:freebsd-doc)
("Freetype" 'license:freetype)

@ -19,6 +19,7 @@
;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz>
;;; Copyright © 2021 Noisytoot <noisytoot@disroot.org>
;;; Copyright © 2021 Kyle Meyer <kyle@kyleam.com>
;;;
;;; This file is part of GNU Guix.
;;;
@ -57,7 +58,7 @@
epl1.0
epl2.0
eupl1.2
expat
expat expat-0
freetype
freebsd-doc
giftware
@ -315,6 +316,13 @@ at URI, which may be a file:// URI pointing the package's tree."
"http://directory.fsf.org/wiki/License:Expat"
"https://www.gnu.org/licenses/license-list.html#Expat"))
(define expat-0
(license "Expat No Attribution"
;; Note: There is a later formulation of the same license at
;; <https://github.com/aws/mit-0>.
"https://romanrm.net/mit-zero"
"Expat license with the attribution paragraph removed."))
(define freetype
(license "Freetype"
"http://directory.fsf.org/wiki/License:Freetype"