diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-06-23 10:55:54 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-07-23 21:15:01 +0100 |
| commit | eac81664531aac92bc8fc2cb7bec080db6f0bc22 (patch) | |
| tree | 3648d3d772332baab329171b43bce65305002a9f /gnu | |
| parent | e3632d2b8104a15686c8d2299be5e33e0f9bd4bb (diff) | |
gnu: go-go-etcd-io-etcd-client-pkg-v3: Update to 3.6.12.
* gnu/packages/golang-web.scm (go-go-etcd-io-etcd-client-pkg-v3): Update to 3.6.12.
[source] <snippet>: Fix import-path.
[arguments] <import-path>: Sync with go.mod.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/golang-web.scm | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index 9cc5bcd591b..bedeaaa3a32 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm | |||
| @@ -22028,17 +22028,16 @@ interacting with the etcd v3 API.") | |||
| 22028 | (define-public go-go-etcd-io-etcd-client-pkg-v3 | 22028 | (define-public go-go-etcd-io-etcd-client-pkg-v3 |
| 22029 | (package | 22029 | (package |
| 22030 | (name "go-go-etcd-io-etcd-client-pkg-v3") | 22030 | (name "go-go-etcd-io-etcd-client-pkg-v3") |
| 22031 | (version "3.6.10") | 22031 | (version "3.6.12") |
| 22032 | (source | 22032 | (source |
| 22033 | (origin | 22033 | (origin |
| 22034 | (method git-fetch) | 22034 | (method git-fetch) |
| 22035 | (uri (git-reference | 22035 | (uri (git-reference |
| 22036 | (url "https://github.com/etcd-io/etcd") | 22036 | (url "https://github.com/etcd-io/etcd") |
| 22037 | (commit (go-version->git-ref version | 22037 | (commit (go-version->git-ref version #:subdir "client/pkg")))) |
| 22038 | #:subdir "client/pkg")))) | ||
| 22039 | (file-name (git-file-name name version)) | 22038 | (file-name (git-file-name name version)) |
| 22040 | (sha256 | 22039 | (sha256 |
| 22041 | (base32 "0xyq7flcdvbmiss0snriylvabkwclhyb3977vl1xy9gxq94cwqq4")) | 22040 | (base32 "0xg0bh3fv4av63ika8f7vgj4f929b108ia5ccyqrv00j3k4vyjm1")) |
| 22042 | (modules '((guix build utils) | 22041 | (modules '((guix build utils) |
| 22043 | (ice-9 ftw) | 22042 | (ice-9 ftw) |
| 22044 | (srfi srfi-26))) | 22043 | (srfi srfi-26))) |
| @@ -22051,14 +22050,20 @@ interacting with the etcd v3 API.") | |||
| 22051 | (items (scandir "." pred))) | 22050 | (items (scandir "." pred))) |
| 22052 | (for-each (cut delete-file-recursively <>) items)))) | 22051 | (for-each (cut delete-file-recursively <>) items)))) |
| 22053 | (delete-all-but "." "client") | 22052 | (delete-all-but "." "client") |
| 22054 | (delete-all-but "client" "pkg"))))) | 22053 | (delete-all-but "client" "pkg") |
| 22054 | ;; This is a workaround to provide a correct import-path. | ||
| 22055 | (rename-file "client/pkg" "client/tmp") | ||
| 22056 | (mkdir-p "client/pkg/v3") | ||
| 22057 | (copy-recursively "client/tmp" "client/pkg/v3") | ||
| 22058 | (delete-file-recursively "client/tmp"))))) | ||
| 22055 | (build-system go-build-system) | 22059 | (build-system go-build-system) |
| 22056 | (arguments | 22060 | (arguments |
| 22057 | (list | 22061 | (list |
| 22058 | #:skip-build? #t | 22062 | #:skip-build? #t |
| 22059 | #:import-path "go.etcd.io/etcd/client/pkg" | 22063 | #:import-path "go.etcd.io/etcd/client/pkg/v3" |
| 22060 | #:unpack-path "go.etcd.io/etcd")) | 22064 | #:unpack-path "go.etcd.io/etcd")) |
| 22061 | (native-inputs (list go-github-com-stretchr-testify)) | 22065 | (native-inputs |
| 22066 | (list go-github-com-stretchr-testify)) | ||
| 22062 | (propagated-inputs | 22067 | (propagated-inputs |
| 22063 | (list go-github-com-coreos-go-systemd-v22 | 22068 | (list go-github-com-coreos-go-systemd-v22 |
| 22064 | go-go-uber-org-zap | 22069 | go-go-uber-org-zap |
