sharlatan pushed a commit to branch go-team
in repository guix.
commit aa052d9eafc1525bc2ed6ba67a5e9b651b857aa3
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Jan 2 20:38:20 2025 +0000
gnu: doctl: Update to 1.120.0.
* gnu/packages/admin.scm (doctl): Update to 1.120.0.
[source] <snippet>: Delete some bundled packages.
[native-inputs]: Add go-golang-org-x-crypto, go-golang-org-x-mod,
go-golang-org-x-net, go-golang-org-x-oauth2, go-golang-org-x-sync,
go-golang-org-x-sys, go-golang-org-x-term, go-golang-org-x-text,
go-golang-org-x-time, and go-golang-org-x-tools.
Change-Id: I7b64ebb7023f8e0fbf445a085de42aa94934e96a
---
gnu/packages/admin.scm | 20 ++++++++++++++++++--
1 file changed, 18 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index e63b43dccb..7e1c0edd5c 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -6291,7 +6291,7 @@ file or files to several hosts.")
(define-public doctl
(package
(name "doctl")
- (version "1.94.0")
+ (version "1.120.0")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -6300,7 +6300,12 @@ file or files to several hosts.")
(file-name (git-file-name name version))
(sha256
(base32
- "0a221n0x7qrq0dbhhf1saya2g7jyy1798k3rhy9nzyvqzc4vnd0x"))))
+ "12fgymgiv6894ghar7ljg69hb7mi18pa2a74sp7fyymqvyhiv6z9"))
+ (snippet
+ ;; TODO: Unbundle more.
+ #~(begin (use-modules (guix build utils))
+ (for-each delete-file-recursively
+ (list "vendor/golang.org"))))))
(build-system go-build-system)
(arguments
(list #:import-path "github.com/digitalocean/doctl/cmd/doctl"
@@ -6330,6 +6335,17 @@ file or files to several hosts.")
"/etc/fish/completions/doctl.fish")
(install-completion "zsh"
"/etc/zsh/site-functions/_doctl"))))))
+ (native-inputs
+ (list go-golang-org-x-crypto
+ go-golang-org-x-mod
+ go-golang-org-x-net
+ go-golang-org-x-oauth2
+ go-golang-org-x-sync
+ go-golang-org-x-sys
+ go-golang-org-x-term
+ go-golang-org-x-text
+ go-golang-org-x-time
+ go-golang-org-x-tools))
(home-page "https://github.com/digitalocean/doctl")
(synopsis "Command line client for DigitalOcean")
(description