gnu: go-github-com-francoispqt-gojay: Run tests only on x86-64.

Address the build issue on i686-linux as seen in CI
<https://ci.guix.gnu.org/build/3395366/details>.

* gnu/packages/golang-web.scm (go-github-com-francoispqt-gojay):
[arguments]: Swap to list style. <#:tests?>: Only run on x86-64.
[home-page]: Move above synopsis.
[description]: Fix indentation.

Change-Id: I93a0970933de0b32729cf9a620b10e69e8e244eb
This commit is contained in:
Sharlatan Hellseher 2024-04-14 14:43:11 +01:00
parent ec8eef5e7e
commit 6b3c90f638
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -553,6 +553,8 @@ (define-public go-github-com-felixge-httpsnoop
application's http.Handlers.")
(license license:expat)))
;; This project looks like domain or abandoned, see
;; <https://github.com/francoispqt/gojay/issues/150>.
(define-public go-github-com-francoispqt-gojay
(package
(name "go-github-com-francoispqt-gojay")
@ -568,14 +570,20 @@ (define-public go-github-com-francoispqt-gojay
(base32 "1ix95qdyajfmxhf9y52vjrih63f181pjs4v5as8905s4d5vmkd06"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/francoispqt/gojay"))
(list
;; XXX: Disable failing tests on non-x86-64 architecture, see
;; <https://github.com/francoispqt/gojay/issues/173>.
#:tests? (and (not (%current-target-system))
(target-x86-64?))
#:import-path "github.com/francoispqt/gojay"))
(native-inputs
(list go-github-com-stretchr-testify))
(synopsis "JSON encoder/decoder with powerful stream API for Golang")
(description "GoJay is a performant JSON encoder/decoder for Golang. It has
a simple API and doesn't use reflection. It relies on small interfaces to
decode/encode structures and slices.")
(home-page "https://github.com/francoispqt/gojay")
(synopsis "JSON encoder/decoder with powerful stream API for Golang")
(description
"GoJay is a performant JSON encoder/decoder for Golang. It has a simple
API and doesn't use reflection. It relies on small interfaces to
decode/encode structures and slices.")
(license license:expat)))
;; TODO: This repository has been archived by the owner on Aug 30, 2023. It is