gnu: rapidjson: Remove non-free code.

* gnu/packages/web.scm (rapidjson)[source](snippet, modules): New fields.
This commit is contained in:
Marius Bakke 2018-07-13 18:14:01 +02:00
parent f8ac203928
commit 5939188e72
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 8 additions and 1 deletions

View File

@ -719,7 +719,14 @@ current version of any major web browser.")
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (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) (build-system cmake-build-system)
(arguments (arguments
`(,@(if (string-prefix? "aarch64" (or (%current-target-system) `(,@(if (string-prefix? "aarch64" (or (%current-target-system)