[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/18: gnu: go-google-golang-org-protobuf: Update to 1.31.0.
From: |
guix-commits |
Subject: |
01/18: gnu: go-google-golang-org-protobuf: Update to 1.31.0. |
Date: |
Thu, 20 Jun 2024 07:55:57 -0400 (EDT) |
sharlatan pushed a commit to branch wip-go-team
in repository guix.
commit a5165940c69bdeac5a00f086dba32947524200a2
Author: Hilton Chain <hako@ultrarare.space>
AuthorDate: Fri Jan 26 01:13:17 2024 +0800
gnu: go-google-golang-org-protobuf: Update to 1.31.0.
* gnu/packages/golang.scm (go-google-golang-org-protobuf): Update to 1.31.0.
[arguments]: <#:phases>: Remove 'build phase. Add custom 'check phase.
[propagated-inputs]: Remove go-github-com-golang-protobuf-proto.
Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: Iba7fe94b2a2fa245e24d17affa5edb1531ac835b
---
gnu/packages/golang.scm | 24 +++++++++++++++---------
1 file changed, 15 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 3a1233d79f..12ade5e80b 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -6282,7 +6282,7 @@ data serialization format.")
(define-public go-google-golang-org-protobuf
(package
(name "go-google-golang-org-protobuf")
- (version "1.28.0")
+ (version "1.31.0")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -6291,16 +6291,22 @@ data serialization format.")
(file-name (git-file-name name version))
(sha256
(base32
- "1nzcc4qc00afi24nb7nlnwyzvvr6b8s8qdrn1sw085nygh2y2x8r"))))
+ "1xf18kzz96hgfy1vlbnydrizzpxkqj2iamfdbj3dx5a1zz5mi8n0"))))
(build-system go-build-system)
(arguments
- (list #:import-path "google.golang.org/protobuf"
- #:tests? #f ; source-only package
- #:phases #~(modify-phases %standard-phases
- ;; source-only package
- (delete 'build))))
- (propagated-inputs (list go-github-com-google-go-cmp-cmp
- go-github-com-golang-protobuf-proto))
+ (list #:go go-1.21
+ #:import-path "google.golang.org/protobuf"
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; XXX: Workaround for go-build-system's lack of Go modules
+ ;; support.
+ (delete 'build)
+ (replace 'check
+ (lambda* (#:key tests? import-path #:allow-other-keys)
+ (when tests?
+ (with-directory-excursion (string-append "src/"
import-path)
+ (invoke "go" "test" "-v" "./..."))))))))
+ (propagated-inputs (list go-github-com-google-go-cmp-cmp))
(home-page "https://google.golang.org/protobuf")
(synopsis "Go library for Protocol Buffers")
(description
- 06/18: gnu: nncp: Apply "-trimpath" flag., (continued)
- 06/18: gnu: nncp: Apply "-trimpath" flag., guix-commits, 2024/06/20
- 07/18: gnu: dstask: Apply "-trimpath" flag., guix-commits, 2024/06/20
- 08/18: gnu: Remove go-golang.org-x-sync-errgroup., guix-commits, 2024/06/20
- 09/18: gnu: Remove go-golang.org-x-sync-semaphore., guix-commits, 2024/06/20
- 10/18: gnu: go-golang-org-x-sync: Enable tests., guix-commits, 2024/06/20
- 14/18: gnu: go-golang-org-x-sys: Enable tests., guix-commits, 2024/06/20
- 16/18: gnu: go-golang-org-x-sys: Fix indentation., guix-commits, 2024/06/20
- 17/18: gnu: go-golang-org-x-crypto: Update to 0.14.0., guix-commits, 2024/06/20
- 02/18: gnu: go-github-com-golang-protobuf-proto: Update to 1.5.3., guix-commits, 2024/06/20
- 05/18: gnu: docker: Apply "-trimpath" flag., guix-commits, 2024/06/20
- 01/18: gnu: go-google-golang-org-protobuf: Update to 1.31.0.,
guix-commits <=
- 04/18: gnu: skopeo: Apply "-trimpath" flag., guix-commits, 2024/06/20
- 12/18: gnu: go-golang-org-x-sync: Fix indentation., guix-commits, 2024/06/20
- 13/18: gnu: go-golang-org-x-sync: Improve description., guix-commits, 2024/06/20
- 11/18: gnu: go-golang-org-x-sync: Update to 0.7.0., guix-commits, 2024/06/20
- 15/18: gnu: go-golang-org-x-sys: Update to 0.21.0., guix-commits, 2024/06/20
- 18/18: gnu: matterbridge: Swap to go-build-system., guix-commits, 2024/06/20