sharlatan pushed a commit to branch go-team
in repository guix.
commit 7fe99a5fafcab6161bcc497dfd6c8e5c97b39271
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Wed Aug 14 23:51:42 2024 +0100
gnu: go-github-com-stretchr-objx: Update to 0.5.2.
* gnu/packages/golang.scm (go-github-com-stretchr-objx): Update to 0.5.2.
[source]: Remove snippet as "vendor" directory is not provided.
[inputs]: Remove go-github-com-stretchr-testify-bootstrap.
[propagated-inputs]: Remove go-github-com-davecgh-go-spew and
go-github-com-pmezard-go-difflib.
[native-inputs]: Add go-github-com-davecgh-go-spew,
go-github-com-pmezard-go-difflib,
and go-github-com-stretchr-testify-bootstrap.
Change-Id: I058fa393952dc73d73ac7ab48af4d29665828495
---
gnu/packages/golang.scm | 17 +++++++----------
1 file changed, 7 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 77d9a4f065..739376302d 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3196,7 +3196,7 @@ editor.")
(define-public go-github-com-stretchr-objx
(package
(name "go-github-com-stretchr-objx")
- (version "0.4.0")
+ (version "0.5.2")
(source
(origin
(method git-fetch)
@@ -3206,11 +3206,7 @@ editor.")
(file-name (git-file-name name version))
(sha256
(base32
- "0dygds32qxx6x1x2mmn7msyjr15qi5r70pyzv8dz8cprxq32nzc1"))
- (modules '((guix build utils)))
- (snippet
- '(begin
- (delete-file-recursively "vendor")))))
+ "1jcxpfgfpk82lryjkhbd5dy7xzx08d7b9dvbx4bpkmjvn6p339jl"))))
(build-system go-build-system)
(arguments
(list
@@ -3223,11 +3219,12 @@ editor.")
;; The tests fail when run with gccgo.
(false-if-exception (search-input-file inputs "/bin/gccgo"))
(apply (assoc-ref %standard-phases 'check) args)))))))
- (propagated-inputs
+ (native-inputs
+ ;; go-spew and go-difflib are to cover testify-bootstrap and not required
+ ;; for odjx itself.
(list go-github-com-davecgh-go-spew
- go-github-com-pmezard-go-difflib))
- (inputs
- (list go-github-com-stretchr-testify-bootstrap))
+ go-github-com-pmezard-go-difflib
+ go-github-com-stretchr-testify-bootstrap))
(home-page "https://github.com/stretchr/objx")
(synopsis "Go package for dealing with maps, slices, JSON and other data")
(description "This package provides a Go library for dealing with maps,