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: Iba7fe94b2a2fa245e24d17affa5edb1531ac835bmaster
parent
a8d9741a15
commit
3da36f50a1
|
@ -6257,7 +6257,7 @@ data serialization format.")
|
||||||
(define-public go-google-golang-org-protobuf
|
(define-public go-google-golang-org-protobuf
|
||||||
(package
|
(package
|
||||||
(name "go-google-golang-org-protobuf")
|
(name "go-google-golang-org-protobuf")
|
||||||
(version "1.28.0")
|
(version "1.31.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
|
@ -6266,16 +6266,22 @@ data serialization format.")
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1nzcc4qc00afi24nb7nlnwyzvvr6b8s8qdrn1sw085nygh2y2x8r"))))
|
"1xf18kzz96hgfy1vlbnydrizzpxkqj2iamfdbj3dx5a1zz5mi8n0"))))
|
||||||
(build-system go-build-system)
|
(build-system go-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:import-path "google.golang.org/protobuf"
|
(list #:go go-1.21
|
||||||
#:tests? #f ; source-only package
|
#:import-path "google.golang.org/protobuf"
|
||||||
#:phases #~(modify-phases %standard-phases
|
#:phases
|
||||||
;; source-only package
|
#~(modify-phases %standard-phases
|
||||||
(delete 'build))))
|
;; XXX: Workaround for go-build-system's lack of Go modules
|
||||||
(propagated-inputs (list go-github-com-google-go-cmp-cmp
|
;; support.
|
||||||
go-github-com-golang-protobuf-proto))
|
(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")
|
(home-page "https://google.golang.org/protobuf")
|
||||||
(synopsis "Go library for Protocol Buffers")
|
(synopsis "Go library for Protocol Buffers")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in New Issue