guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 062e0f13bf2ca53e88bff386e27952a34e42a46c
Author: quanrong <[email protected]>
AuthorDate: Tue Sep 2 17:37:37 2025 +0200
gnu: Add go-github-com-urfave-cli-altsrc-v3.
* gnu/packages/golang-xyz.scm (go-github-com-urfave-cli-altsrc-v3): New
variable.
Change-Id: I8f84face3baf4f2c598571d2c4c5991e0f4ba826
Co-authored-by: Sharlatan Hellseher <[email protected]>
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/golang-xyz.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 8e379ba3f8..564900535c 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -67,6 +67,7 @@
;;; Copyright © 2025 Ludovic Courtès <[email protected]>
;;; Copyright © 2025 Tomas Volf <[email protected]>
;;; Copyright © 2025 Arthur Rodrigues <[email protected]>
+;;; Copyright © 2025 Tomás Ortín Fernández <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -19873,6 +19874,43 @@ distributable command line applications in an
expressive way.")
#~(list "-vet=off")))
(propagated-inputs '())))
+(define-public go-github-com-urfave-cli-altsrc-v3
+ (package
+ (name "go-github-com-urfave-cli-altsrc-v3")
+ (version "3.0.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/urfave/cli-altsrc")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0nk1c31li7yijfa2p9s2723p5727ad3fl80dj6a5cwjg1qkbsl12"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:tests? #f ;tests need git in PATH
+ #:import-path "github.com/urfave/cli-altsrc/v3"
+ ;; Pattern autocomplete: cannot embed directory autocomplete: contains
+ ;; no embeddable files.
+ #:embed-files
+ #~(list "bash_autocomplete"
+ "powershell_autocomplete.ps1"
+ "zsh_autocomplete")))
+ (native-inputs
+ (list go-github-com-stretchr-testify
+ go-github-com-urfave-cli-v3))
+ (propagated-inputs
+ (list go-github-com-burntsushi-toml
+ go-gopkg-in-yaml-v3))
+ (home-page "https://github.com/urfave/cli-altsrc")
+ (synopsis "Read values for urfave/cli/v3 flags from config files")
+ (description
+ "This package provides an extension for https://github.com/urfave/cli, to
+read flag values from JSON, YAML, and TOML.")
+ (license license:expat)))
+
(define-public go-github-com-valyala-bytebufferpool
(package
(name "go-github-com-valyala-bytebufferpool")