From 6b3c90f638292f9604a221ac6dbf22234f6e4c4b Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 14 Apr 2024 14:43:11 +0100 Subject: gnu: go-github-com-francoispqt-gojay: Run tests only on x86-64. Address the build issue on i686-linux as seen in CI . * 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 --- gnu/packages/golang-web.scm | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index e1b366a118..91f075ca2e 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -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 +;; . (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 + ;; . + #:tests? (and (not (%current-target-system)) + (target-x86-64?)) + #:import-path "github.com/francoispqt/gojay")) (native-inputs (list go-github-com-stretchr-testify)) + (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 + (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") (license license:expat))) ;; TODO: This repository has been archived by the owner on Aug 30, 2023. It is -- cgit v1.2.3