mbakke pushed a commit to branch master
in repository guix.
commit 5939188e7257e522f7eb1e7eef78399a25afd599
Author: Marius Bakke <[email protected]>
Date: Fri Jul 13 18:14:01 2018 +0200
gnu: rapidjson: Remove non-free code.
* 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 06d0fec..7e6b65d 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)