From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <guix-patches-bounces+larch=yhetil.org@gnu.org>
Received: from mp2 ([2001:41d0:2:4a6f::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms11 with LMTPS
	id kQbRAJQ5OGAAQgAA0tVLHw
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Thu, 25 Feb 2021 23:58:12 +0000
Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp2 with LMTPS
	id CECtN5M5OGAHCgAAB5/wlQ
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Thu, 25 Feb 2021 23:58:11 +0000
Received: from lists.gnu.org (lists.gnu.org [209.51.188.17])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by aspmx1.migadu.com (Postfix) with ESMTPS id AD59E236DE
	for <larch@yhetil.org>; Fri, 26 Feb 2021 00:58:11 +0100 (CET)
Received: from localhost ([::1]:51992 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	id 1lFQWI-0004UA-KC
	for larch@yhetil.org; Thu, 25 Feb 2021 18:58:10 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:50184)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1lFQWA-0004Tn-6A
 for guix-patches@gnu.org; Thu, 25 Feb 2021 18:58:02 -0500
Received: from debbugs.gnu.org ([209.51.188.43]:56421)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1lFQW9-0004s4-VE
 for guix-patches@gnu.org; Thu, 25 Feb 2021 18:58:01 -0500
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1lFQW9-0004bJ-Th
 for guix-patches@gnu.org; Thu, 25 Feb 2021 18:58:01 -0500
X-Loop: help-debbugs@gnu.org
Subject: [bug#46784] [PATCH 1/2] guix: Add Zero-Clause BSD License
References: <20210225234150.20653-1-alex@zrythm.org>
In-Reply-To: <20210225234150.20653-1-alex@zrythm.org>
Resent-From: Alexandros Theodotou <alex@zrythm.org>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: guix-patches@gnu.org
Resent-Date: Thu, 25 Feb 2021 23:58:01 +0000
Resent-Message-ID: <handler.46784.B46784.161429745917655@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 46784
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 46784@debbugs.gnu.org
Cc: Alexandros Theodotou <alex@zrythm.org>
Received: via spool by 46784-submit@debbugs.gnu.org id=B46784.161429745917655
 (code B ref 46784); Thu, 25 Feb 2021 23:58:01 +0000
Received: (at 46784) by debbugs.gnu.org; 25 Feb 2021 23:57:39 +0000
Received: from localhost ([127.0.0.1]:39734 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1lFQVn-0004ag-3u
 for submit@debbugs.gnu.org; Thu, 25 Feb 2021 18:57:39 -0500
Received: from mout01.posteo.de ([185.67.36.141]:54476)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <alex@zrythm.org>) id 1lFQVj-0004aR-J3
 for 46784@debbugs.gnu.org; Thu, 25 Feb 2021 18:57:38 -0500
Received: from submission (posteo.de [89.146.220.130]) 
 by mout01.posteo.de (Postfix) with ESMTPS id 1E81F160060
 for <46784@debbugs.gnu.org>; Fri, 26 Feb 2021 00:57:28 +0100 (CET)
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4DmqTh2qXGz6tmJ;
 Fri, 26 Feb 2021 00:57:28 +0100 (CET)
From: Alexandros Theodotou <alex@zrythm.org>
Date: Thu, 25 Feb 2021 23:57:15 +0000
Message-Id: <20210225235716.22162-1-alex@zrythm.org>
X-Mailer: git-send-email 2.30.1
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: guix-patches@gnu.org
List-Id: <guix-patches.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>,
 <mailto:guix-patches-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/guix-patches>
List-Post: <mailto:guix-patches@gnu.org>
List-Help: <mailto:guix-patches-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>,
 <mailto:guix-patches-request@gnu.org?subject=subscribe>
Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org
Sender: "Guix-patches" <guix-patches-bounces+larch=yhetil.org@gnu.org>
X-Migadu-Flow: FLOW_IN
X-Migadu-Spam-Score: 2.73
Authentication-Results: aspmx1.migadu.com;
	dkim=none;
	dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=zrythm.org (policy=none);
	spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org
X-Migadu-Queue-Id: AD59E236DE
X-Spam-Score: 2.73
X-Migadu-Scanner: scn0.migadu.com
X-TUID: DpUUvSya3WkU

* guix/licenses.scm (bsd-0): New variable.
---
 guix/import/utils.scm | 1 +
 guix/licenses.scm     | 7 ++++++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/guix/import/utils.scm b/guix/import/utils.scm
index 2f5ccf7cea..64d1385164 100644
--- a/guix/import/utils.scm
+++ b/guix/import/utils.scm
@@ -136,6 +136,7 @@ of the string VERSION is replaced by the symbol 'version."
     ("Apache-1.1"                  'license:asl1.1)
     ("Apache-2.0"                  'license:asl2.0)
     ("BSL-1.0"                     'license:boost1.0)
+    ("0BSD"                        'license:bsd-0)
     ("BSD-2-Clause-FreeBSD"        'license:bsd-2)
     ("BSD-3-Clause"                'license:bsd-3)
     ("BSD-4-Clause"                'license:bsd-4)
diff --git a/guix/licenses.scm b/guix/licenses.scm
index 1091eee67c..0a36067387 100644
--- a/guix/licenses.scm
+++ b/guix/licenses.scm
@@ -39,7 +39,7 @@
             apsl2
             asl1.1 asl2.0
             boost1.0
-            bsd-2 bsd-3 bsd-4
+            bsd-0 bsd-2 bsd-3 bsd-4
             non-copyleft
             cc0
             cc-by2.0 cc-by3.0 cc-by4.0
@@ -159,6 +159,11 @@
            "http://directory.fsf.org/wiki/License:Boost1.0"
            "https://www.gnu.org/licenses/license-list#boost"))
 
+(define bsd-0
+  (license "Zero-Clause BSD"
+           "https://spdx.org/licenses/0BSD.html"
+           "https://opensource.org/licenses/0BSD"))
+
 (define bsd-2
   (license "FreeBSD"
            "http://directory.fsf.org/wiki/License:FreeBSD"
-- 
2.30.1