mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
gnu: go-github-com-stretchr-testify: Update to 1.10.0.
Fix build on non x86_64 architectures by disabling tests. * gnu/packages/golang-check.scm: Add "guix utils" module. (go-github-com-stretchr-testify): Update to 1.10.0. [arguments] <tests?>: Limit them to x86_64 architecture. Change-Id: Ib157a3824df37e3bc9293ef9278a86573ababef1
This commit is contained in:
parent
3de4b0a590
commit
646a7920d3
1 changed files with 11 additions and 6 deletions
|
@ -46,6 +46,7 @@ (define-module (gnu packages golang-check)
|
|||
#:use-module (guix build-system go)
|
||||
#:use-module (guix gexp)
|
||||
#:use-module (guix git-download)
|
||||
#:use-module (guix utils)
|
||||
#:use-module (gnu packages)
|
||||
#:use-module (gnu packages golang)
|
||||
#:use-module (gnu packages golang-build)
|
||||
|
@ -1285,7 +1286,7 @@ (define-public go-github-com-sasha-s-go-deadlock
|
|||
(define-public go-github-com-stretchr-testify
|
||||
(package
|
||||
(name "go-github-com-stretchr-testify")
|
||||
(version "1.9.0")
|
||||
(version "1.10.0")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
|
@ -1294,11 +1295,14 @@ (define-public go-github-com-stretchr-testify
|
|||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"12cnhk96h8b3ddlb7jfvwwavzc0j1c2iva92pszl9rv6r571ckzg"))))
|
||||
(base32 "0g1bdpqih38a7dl1malahz5x4ag01adk61gx47jg2534cqzvid05"))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
'(#:import-path "github.com/stretchr/testify"))
|
||||
(list
|
||||
;; XXX: Tests are shaky on non x86_64 architectures, check if some may
|
||||
;; be enabled.
|
||||
#:tests? (target-x86-64?)
|
||||
#:import-path "github.com/stretchr/testify"))
|
||||
(propagated-inputs
|
||||
(list go-github-com-davecgh-go-spew
|
||||
go-github-com-pmezard-go-difflib
|
||||
|
@ -1306,8 +1310,9 @@ (define-public go-github-com-stretchr-testify
|
|||
go-gopkg-in-yaml-v3))
|
||||
(home-page "https://github.com/stretchr/testify")
|
||||
(synopsis "Go helper library for tests and invariant checking")
|
||||
(description "This package provide many tools for testifying that your
|
||||
code will behave as you intend.
|
||||
(description
|
||||
"This package provide many tools for testifying that your code will
|
||||
behave as you intend.
|
||||
|
||||
Features include:
|
||||
@itemize
|
||||
|
|
Loading…
Reference in a new issue