gnu: rapidjson: Adjust indentation.

* gnu/packages/web.scm (rapidjson): Reindent.  Remove unnecessary splicing in
arguments while at it.
This commit is contained in:
Marius Bakke 2019-03-15 12:38:43 +01:00
parent ca497b4311
commit df9f515ebc
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 25 additions and 25 deletions

View File

@ -749,33 +749,33 @@ current version of any major web browser.")
(name "rapidjson") (name "rapidjson")
(version "1.1.0") (version "1.1.0")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/Tencent/rapidjson.git") (url "https://github.com/Tencent/rapidjson.git")
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"1jixgb8w97l9gdh3inihz7avz7i770gy2j2irvvlyrq3wi41f5ab")) "1jixgb8w97l9gdh3inihz7avz7i770gy2j2irvvlyrq3wi41f5ab"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
'(begin '(begin
;; Remove code using the problematic JSON license (see ;; Remove code using the problematic JSON license (see
;; <https://www.gnu.org/licenses/license-list.html#JSON>). ;; <https://www.gnu.org/licenses/license-list.html#JSON>).
(delete-file-recursively "bin/jsonchecker") (delete-file-recursively "bin/jsonchecker")
#t)))) #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)
(%current-system))) (%current-system)))
'(#:phases '(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'patch-aarch-march-detection (add-after 'unpack 'patch-aarch-march-detection
(lambda _ (lambda _
(substitute* (find-files "." "^CMakeLists\\.txt$") (substitute* (find-files "." "^CMakeLists\\.txt$")
(("native") "armv8-a")) (("native") "armv8-a"))
#t)))) #t))))
'()))) '()))
(home-page "https://github.com/Tencent/rapidjson") (home-page "https://github.com/Tencent/rapidjson")
(synopsis "JSON parser/generator for C++ with both SAX/DOM style API") (synopsis "JSON parser/generator for C++ with both SAX/DOM style API")
(description (description