guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#32146] [PATCH] gnu: rapidjson: Remove non-free code.


From: Marius Bakke
Subject: [bug#32146] [PATCH] gnu: rapidjson: Remove non-free code.
Date: Fri, 13 Jul 2018 18:15:25 +0200

* gnu/packages/web.scm (rapidjson)[source](snippet, modules): New fields.
---
 gnu/packages/web.scm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 06d0fec0b..7e6b65d55 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -719,7 +719,14 @@ current version of any major web browser.")
              (file-name (string-append name "-" version ".tar.gz"))
              (sha256
               (base32
-               "13nrpvw8f1wx0ga7svbzld7pgrv8l172nangpipnj7jaf0lysz5z"))))
+               "13nrpvw8f1wx0ga7svbzld7pgrv8l172nangpipnj7jaf0lysz5z"))
+             (modules '((guix build utils)))
+             (snippet
+              '(begin
+                 ;; Remove code using the problematic JSON license (see
+                 ;; <https://www.gnu.org/licenses/license-list.html#JSON>).
+                 (delete-file-recursively "bin/jsonchecker")
+                 #t))))
     (build-system cmake-build-system)
     (arguments
      `(,@(if (string-prefix? "aarch64" (or (%current-target-system)
-- 
2.18.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]