guix_mirror_bot pushed a commit to branch master
in repository guix.
commit e7e6f86b06888fe51b5d201901f5fa74f5788dde
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Aug 24 21:33:30 2025 +0100
gnu: Add go-github-com-akamensky-argparse.
* gnu/packages/golang-xyz.scm (go-github-com-akamensky-argparse): New
variable.
Change-Id: I851f1a98a2ef417b0e57f4c9fc0b584aff4d901c
Signed-off-by: Artyom V. Poptsov <[email protected]>
---
gnu/packages/golang-xyz.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 8f5201824d..56e56240ec 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -1013,6 +1013,32 @@ Distance}.")
http://tartarus.org/~martin/PorterStemmer/index.html.")
(license license:expat)))
+(define-public go-github-com-akamensky-argparse
+ (package
+ (name "go-github-com-akamensky-argparse")
+ (version "1.4.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/akamensky/argparse")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1m7rzrfwyrwxbbry5ppds2b3c5gdslpakvjhsh6i8mhdfhywd8wc"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ ;; Panic: unexpected call to os.Exit(0) during test.
+ #:test-flags #~(list "-skip" "TestUsageString")
+ #:import-path "github.com/akamensky/argparse"))
+ (home-page "https://github.com/akamensky/argparse")
+ (synopsis "Argparse for golang")
+ (description
+ "This package implements a flexible and configurable option for command
+line arguments parsing.")
+ (license license:expat)))
+
(define-public go-github-com-alecaivazis-survey-v2
(package
(name "go-github-com-alecaivazis-survey-v2")