From 2a8cb51bfc0107cfccf414e51d5caef53afff1af Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Thu, 19 Dec 2024 19:06:34 +0000 Subject: gnu: go-google-golang-org-protobuf: Update to 1.36.0. * gnu/packages/golang-build.scm (go-google-golang-org-protobuf): Update to 1.36.0. Simplify package. [arguments] : Use custom 'check. Change-Id: Ia93c832e64886371f422e06e6b705c5ec3c7e05f --- gnu/packages/golang-build.scm | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'gnu/packages/golang-build.scm') diff --git a/gnu/packages/golang-build.scm b/gnu/packages/golang-build.scm index bc02164cb3..a353f5d375 100644 --- a/gnu/packages/golang-build.scm +++ b/gnu/packages/golang-build.scm @@ -1124,7 +1124,7 @@ (define-public go-golang-org-x-xerrors (define-public go-google-golang-org-protobuf (package (name "go-google-golang-org-protobuf") - (version "1.34.2") + (version "1.36.0") (source (origin (method git-fetch) @@ -1133,21 +1133,14 @@ (define-public go-google-golang-org-protobuf (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0l18301prwy38wam9zsbhgwddwjaflvnvamghg0h1d1p201gxbp3")))) + (base32 "1a6l9zcm1za7w9f9n86wjszn9fm53cfacl0liyk3wpsqx4h4x6dl")))) (build-system go-build-system) (arguments (list #: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" "./...")))))))) + (delete 'build)))) ; no go files in project's root (propagated-inputs (list go-github-com-google-go-cmp)) (home-page "https://google.golang.org/protobuf") (synopsis "Go library for Protocol Buffers") -- cgit v1.2.3