sharlatan pushed a commit to branch go-team
in repository guix.
commit f45610931e25db9b84784b8947e0529e4338f134
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Dec 15 20:55:51 2024 +0000
gnu: go-github-com-mailru-easyjson: Update to 0.9.0.
* gnu/packages/golang-web.scm (go-github-com-mailru-easyjson): Update to
0.9.0.
[arguments]<phases>: Add 'remove-benchmarks.
Change-Id: I5c0c450b32cae793a89c69e787de0dcb1b812c1a
---
gnu/packages/golang-web.scm | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index be086eae10..8ddfb7bc9e 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -3653,7 +3653,7 @@ intends to be compatible with Avahi.")
(define-public go-github-com-mailru-easyjson
(package
(name "go-github-com-mailru-easyjson")
- (version "0.7.7")
+ (version "0.9.0")
(source
(origin
(method git-fetch)
@@ -3662,11 +3662,19 @@ intends to be compatible with Avahi.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0clifkvvy8f45rv3cdyv58dglzagyvfcqb63wl6rij30c5j2pzc1"))))
+ (base32 "00if9lpfy7bz853snqp7zgg76pn4mgpkk42h0riahcwk5v19jrcv"))))
(build-system go-build-system)
(arguments
(list
- #:import-path "github.com/mailru/easyjson"))
+ #:import-path "github.com/mailru/easyjson"
+ ;; XXX: All tests in "tests" directory fail, figure out why.
+ #:test-subdirs #~(list ".")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'remove-benchmarks
+ (lambda* (#:key import-path #:allow-other-keys)
+ (with-directory-excursion (string-append "src/" import-path)
+ (delete-file-recursively "benchmark")))))))
(propagated-inputs
(list go-github-com-josharian-intern))
(home-page "https://github.com/mailru/easyjson")