Subject: [bug#28701] [PATCH] licenses: Add CC-BY-ND licenses.

From: Roel Janssen <[email-masked]>
Date: Wed, 04 Oct 2017 15:20:19 +0200

Dear Guix,

I'd like to add the CC-BY-ND licenses, but I am not sure whether these
are free.  So, what do you think?

Thanks for your time!

Kind regards,
Roel Janssen

>From fd064dcaeba932afb0aaa8c5cbe0f39d427adc4e Mon Sep 17 00:00:00 2001
From: Roel Janssen <[email-masked]>
Date: Wed, 4 Oct 2017 10:11:29 +0200
Subject: [PATCH] licenses: Add CC-BY-ND licenses.

* guix/licenses.scm (cc-by-nd2.0, cc-by-nd3.0, cc-by-nd4.0): New variable.
---
 guix/licenses.scm | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/guix/licenses.scm b/guix/licenses.scm
index 6de611d..e781c95 100644
--- a/guix/licenses.scm
+++ b/guix/licenses.scm
@@ -13,6 +13,7 @@
 ;;; Copyright © 2017 Petter <[email-masked]>
 ;;; Copyright © 2017 Marius Bakke <[email-masked]>
 ;;; Copyright © 2017 Arun Isaac <[email-masked]>
+;;; Copyright © 2017 Roel Janssen <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -41,6 +42,7 @@
             cc0
             cc-by2.0 cc-by3.0 cc-by4.0
             cc-by-sa2.0 cc-by-sa3.0 cc-by-sa4.0
+            cc-by-nd2.0 cc-by-nd3.0 cc-by-nd4.0
             cc-sampling-plus-1.0
             cddl1.0
             cecill cecill-b cecill-c
@@ -192,6 +194,21 @@ at URI, which may be a file:// URI pointing the package's tree."
            "http://creativecommons.org/licenses/by-sa/2.0/"
            "Creative Commons Attribution-ShareAlike 2.0 Generic"))
 
+(define cc-by-nd4.0
+  (license "CC-BY-SA 4.0"
+           "http://creativecommons.org/licenses/by-nd/4.0/"
+           "Creative Commons Attribution-NoDerivatives 4.0 International"))
+
+(define cc-by-nd3.0
+  (license "CC-BY-SA 3.0"
+           "http://creativecommons.org/licenses/by-sa/3.0/"
+           "Creative Commons Attribution-NoDerivatives 3.0 Unported"))
+
+(define cc-by-nd2.0
+  (license "CC-BY-SA 2.0"
+           "http://creativecommons.org/licenses/by-sa/2.0/"
+           "Creative Commons Attribution-NoDerivatives 2.0 Generic"))
+
 (define cc-by4.0
   (license "CC-BY 4.0"
            "http://creativecommons.org/licenses/by/4.0/"
-- 
2.7.4