guix_mirror_bot pushed a commit to branch go-team
in repository guix.
commit dfd21fb92ca57b84b5969cea5dc72d6e2784cc7e
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Jun 23 10:12:14 2026 +0100
gnu: Add go-github-com-docker-cli-docs-tool.
* gnu/packages/golang-xyz.scm (go-github-com-docker-cli-docs-tool): New
variable.
---
gnu/packages/golang-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 120a17c8ae..fc35b1abef 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -9482,6 +9482,43 @@ is an actively maintained fork of
@url{https://github.com/ogier/pflag}.")
interface (CLI).")
(license license:asl2.0)))
+(define-public go-github-com-docker-cli-docs-tool
+ (package
+ (name "go-github-com-docker-cli-docs-tool")
+ (version "0.11.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/docker/cli-docs-tool")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1w60hyxc8rgb2rhwcax3fivg917fzb9p2j62cz8qsbwgw282qv1w"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/docker/cli-docs-tool"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'remove-examples
+ (lambda* (#:key import-path #:allow-other-keys)
+ (delete-file-recursively
+ (string-append "src/" import-path "/example")))))))
+ (native-inputs
+ (list go-github-com-spf13-cobra
+ go-github-com-spf13-pflag
+ go-github-com-stretchr-testify))
+ (propagated-inputs
+ (list go-go-yaml-in-yaml-v3))
+ (home-page "https://github.com/docker/cli-docs-tool")
+ (synopsis "Utilities to generate documentation for the Docker CLI")
+ (description
+ "This package provides tools for generating Docker @acronym{Command Line
+Interface, CLI} documentation publishing on
+@url{https://docs.docker.com/reference/}.")
+ (license license:asl2.0)))
+
(define-public go-github-com-docker-distribution
(package
(name "go-github-com-docker-distribution")