all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alexandros Theodotou <alex@zrythm.org>
To: 46784@debbugs.gnu.org
Cc: Alexandros Theodotou <alex@zrythm.org>
Subject: [bug#46784] [PATCH 1/2] guix: Add Zero-Clause BSD License.
Date: Thu, 25 Feb 2021 23:41:49 +0000	[thread overview]
Message-ID: <20210225234150.20653-1-alex@zrythm.org> (raw)

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

diff --git a/guix/import/utils.scm b/guix/import/utils.scm
index 2f5ccf7cea..09be1bf3dc 100644
--- a/guix/import/utils.scm
+++ b/guix/import/utils.scm
@@ -131,6 +131,7 @@ of the string VERSION is replaced by the symbol 'version."
   ;; Please update guix/licenses.scm when modifying
   ;; this list to avoid mismatches.
   (match str
+    ("0BSD"                        'license:0bsd)
     ("AGPL-1.0"                    'license:agpl1)
     ("AGPL-3.0"                    'license:agpl3)
     ("Apache-1.1"                  'license:asl1.1)
diff --git a/guix/licenses.scm b/guix/licenses.scm
index 1091eee67c..34a94093df 100644
--- a/guix/licenses.scm
+++ b/guix/licenses.scm
@@ -35,6 +35,7 @@
 (define-module (guix licenses)
   #:use-module (srfi srfi-9)
   #:export (license? license-name license-uri license-comment
+            0bsd
             agpl1 agpl3 agpl3+
             apsl2
             asl1.1 asl2.0
@@ -124,6 +125,11 @@
 ;;;
 ;;; Code:
 
+(define 0bsd
+  (license "Zero-Clause BSD"
+           "https://spdx.org/licenses/0BSD.html"
+           "https://opensource.org/licenses/0BSD"))
+
 (define agpl1
   (license "AGPL 1"
            "https://gnu.org/licenses/agpl.html"
-- 
2.30.1





             reply	other threads:[~2021-02-25 23:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-25 23:41 Alexandros Theodotou [this message]
2021-02-25 23:41 ` [bug#46785] [PATCH 2/2] gnu: Add mamba Alexandros Theodotou
2021-02-25 23:59   ` [bug#46785] [PATCH] " Alexandros Theodotou
2021-03-06 10:41     ` bug#46785: [PATCH 2/2] " Ludovic Courtès
2021-02-25 23:57 ` [bug#46784] [PATCH 1/2] guix: Add Zero-Clause BSD License Alexandros Theodotou
2021-02-26 10:07 ` Léo Le Bouter via Guix-patches via
2021-02-27 11:58   ` Nicolas Goaziou
2021-02-27 17:05     ` Tobias Geerinckx-Rice via Guix-patches via
2021-03-06 10:40       ` bug#46784: " Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210225234150.20653-1-alex@zrythm.org \
    --to=alex@zrythm.org \
    --cc=46784@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.