guix_mirror_bot pushed a commit to branch go-team
in repository guix.
commit ffe4d6dc7469d3800bc7437bf18fb26c91ab3815
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Jun 23 10:31:04 2026 +0100
gnu: go-go-etcd-io-etcd-api-v3: Update to 3.6.12.
* gnu/packages/golang-web.scm (go-go-etcd-io-etcd-api-v3): Update to 3.6.12.
[source] <snippet>: Fix import path.
[arguments] <import-path>: Use the correct import path as seen in go.mod.
---
gnu/packages/golang-web.scm | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index ffc9745579..634ec0f6a7 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -21450,17 +21450,16 @@ browsing activities based on HTTP Upgrade (HTTPT).")
(define-public go-go-etcd-io-etcd-api-v3
(package
(name "go-go-etcd-io-etcd-api-v3")
- (version "3.6.10")
+ (version "3.6.12")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/etcd-io/etcd")
- (commit (go-version->git-ref version
- #:subdir "api"))))
+ (commit (go-version->git-ref version #:subdir "api"))))
(file-name (git-file-name name version))
(sha256
- (base32 "0xyq7flcdvbmiss0snriylvabkwclhyb3977vl1xy9gxq94cwqq4"))
+ (base32 "0xg0bh3fv4av63ika8f7vgj4f929b108ia5ccyqrv00j3k4vyjm1"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
@@ -21472,14 +21471,20 @@ browsing activities based on HTTP Upgrade (HTTPT).")
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
- (delete-all-but "." "api")))))
+ (delete-all-but "." "api")
+ ;; This is a workaround to provide a correct import-path.
+ (rename-file "api" "tmp")
+ (mkdir-p "api/v3")
+ (copy-recursively "tmp" "api/v3")
+ (delete-file-recursively "tmp")))))
(build-system go-build-system)
(arguments
(list
#:skip-build? #t
- #:import-path "go.etcd.io/etcd/api"
+ #:import-path "go.etcd.io/etcd/api/v3"
#:unpack-path "go.etcd.io/etcd"))
- (native-inputs (list go-github-com-stretchr-testify))
+ (native-inputs
+ (list go-github-com-stretchr-testify))
(propagated-inputs
(list go-github-com-coreos-go-semver
go-github-com-gogo-protobuf