summaryrefslogtreecommitdiff
path: root/gnu/packages/golang-web.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-03-19 12:57:52 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-03-29 15:23:58 +0100
commit504c8a3592a86bf3d8fc6bc21095ce108ddf8da5 (patch)
tree5e608568d1bc7ee0795af8ce13a1b9ae6e7ebd02 /gnu/packages/golang-web.scm
parent5d42aec7348f347d428e57d2d07c74d0ee788077 (diff)
gnu: go-google-golang-org-api: Update to 0.272.0.
* gnu/packages/golang-web.scm (go-google-golang-org-api): Update to 0.272.0. [arguments] <test-flags>: Skip less. <test-subdirs>: Drop all. <phases>: Add 'remove-integration-tests phase. [propagated-inputs]: Add go-google-golang-org-genproto-googleapis-bytestream. Change-Id: Id346bd7ff890fe83d5a6985b113d1bd8115ce38d
Diffstat (limited to 'gnu/packages/golang-web.scm')
-rw-r--r--gnu/packages/golang-web.scm33
1 files changed, 12 insertions, 21 deletions
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index d76d52c1078..9172444d0c5 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -18549,7 +18549,7 @@ an alternative fork of @url{https://github.com/mattbaird/jsonpatch}.")
(define-public go-google-golang-org-api
(package
(name "go-google-golang-org-api")
- (version "0.247.0")
+ (version "0.272.0")
(source
(origin
(method git-fetch)
@@ -18558,7 +18558,7 @@ an alternative fork of @url{https://github.com/mattbaird/jsonpatch}.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "19rj4m4qfc6lfik6p562a2nyf9mhmz0nfargpnvkcvdzi0rh350x"))
+ (base32 "1agvmw1sj2xy2p0ig2xdivn8i5pjnw93d2kq4hix7s5ysiswnpw4"))
(modules '((guix build utils)))
(snippet
#~(begin
@@ -18576,25 +18576,16 @@ an alternative fork of @url{https://github.com/mattbaird/jsonpatch}.")
(list "TestLogDirectPathMisconfigAttrempDirectPathNotSet"
"TestLogDirectPathMisconfigNotOnGCE"
"TestNewClient"
- "TestNewTokenSource"
- "TestNewTokenSource_WithCredentialJSON")
+ "TestNewTokenSource")
"|"))
- #:test-subdirs
- ;; XXX: Remove when all dependencies are packaged.
- #~(list "."
- "google-api-go-generator/..."
- "googleapi/..."
- "impersonate/..."
- "internal/..."
- "iterator/..."
- "option/..."
- "support/bundler/..."
- "transport"
- "transport/grpc"
- "transport/http"
- "idtoken/..."
- "transport/grpc/..."
- "transport/http/...")))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'remove-integration-tests
+ (lambda* (#:key import-path #:allow-other-keys)
+ ;; Tests require network access and credential to reach external
+ ;; API.
+ (with-directory-excursion (string-append "src/" import-path)
+ (delete-file-recursively "integration-tests")))))))
(propagated-inputs
(list go-cloud-google-com-go-auth
go-cloud-google-com-go-auth-oauth2adapt
@@ -18610,7 +18601,7 @@ an alternative fork of @url{https://github.com/mattbaird/jsonpatch}.")
go-golang-org-x-oauth2
go-golang-org-x-sync
go-golang-org-x-time
- ;; go-google-golang-org-genproto-googleapis-bytestream
+ go-google-golang-org-genproto-googleapis-bytestream
go-google-golang-org-genproto-googleapis-rpc
go-google-golang-org-grpc
go-google-golang-org-protobuf))