summaryrefslogtreecommitdiff
path: root/gnu/packages/golang-xyz.scm
diff options
context:
space:
mode:
authorDavid Thompson <davet@gnu.org>2025-06-02 13:59:54 +0200
committerLudovic Courtès <ludo@gnu.org>2025-06-17 15:17:18 +0200
commit4cef0cbd263edf6b91e2e84a36bf6de76d1c02dd (patch)
tree388f3320dc611f3cbc4dad10ea017cfaf64b7a75 /gnu/packages/golang-xyz.scm
parent334397e39494ca6d60ee6d37d8dd862e002f76ab (diff)
gnu: Add go-github-com-docker-cli.
* gnu/packages/golang-xyz.scm (go-github-com-docker-cli): New variable. Co-authored-by: Ludovic Courtès <ludo@gnu.org> Change-Id: I3ceeccb8314c00812befcdfe4ee09c8228e9c8df
Diffstat (limited to 'gnu/packages/golang-xyz.scm')
-rw-r--r--gnu/packages/golang-xyz.scm34
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 2e0aa42bfc..4b162a2990 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -5061,6 +5061,40 @@ GNU extensions to the POSIX recommendations for command-line options}. This
is an actively maintained fork of @url{https://github.com/ogier/pflag}.")
(license license:bsd-3)))
+(define-public go-github-com-docker-cli
+ (package
+ (name "go-github-com-docker-cli")
+ (version "25.0.7")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/docker/cli")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0gaz2pkivky94z8148aa27kdxn548j3r96xa3a9xfqpi6b1rhy27"))
+ (snippet
+ #~(begin
+ (use-modules (guix build utils))
+ (delete-file-recursively "vendor")))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/docker/cli"
+ #:embed-files #~(list ".*\\.json")
+ #:skip-build? #t
+ #:tests? #f))
+ (propagated-inputs (list go-github-com-mitchellh-mapstructure
+ go-gopkg-in-yaml-v2
+ go-github-com-google-shlex
+ go-github-com-docker-docker-credential-helpers))
+ (home-page "https://github.com/docker/cli")
+ (synopsis "Docker command-line interface")
+ (description "This repository is the home of the Docker command-line
+interface (CLI).")
+ (license license:asl2.0)))
+
(define-public go-github-com-docker-distribution
(package
(name "go-github-com-docker-distribution")