summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2018-07-13 18:14:01 +0200
committerMarius Bakke <mbakke@fastmail.com>2018-07-18 00:36:06 +0200
commit5939188e7257e522f7eb1e7eef78399a25afd599 (patch)
tree2a0fed5a5fa755c978d1413624e2bb9421bb1614 /gnu
parentf8ac2039288539988bbdefb768a8a069fd4d4d84 (diff)
downloadguix-5939188e7257e522f7eb1e7eef78399a25afd599.tar.gz
gnu: rapidjson: Remove non-free code.
* gnu/packages/web.scm (rapidjson)[source](snippet, modules): New fields.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/web.scm9
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 06d0fec0b0..7e6b65d550 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)