1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-15 19:40:46 +02:00

gnu: Add go-github-com-itchyny-go-flags.

* gnu/packages/golang-xyz.scm (go-github-com-itchyny-go-flags): New variable.

Change-Id: I96ead9b19b765aef8576f7530d7fb02509b387a1
This commit is contained in:
Sharlatan Hellseher 2025-06-26 13:51:14 +01:00
parent df2a9ef584
commit ca666bd9fd
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -8804,6 +8804,39 @@ better way of handling YAML when marshaling to and from structs.")
(description "Build Go code from arbitrary value in Go.")
(license license:expat)))
(define-public go-github-com-itchyny-go-flags
(package
(name "go-github-com-itchyny-go-flags")
(version "1.5.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/itchyny/go-flags")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0qfh7gn95aldlsigk72jl87npmwvx15kb7df1100d6j0nbakd8b5"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/itchyny/go-flags"
;; Test is time dependent and not reproducible.
;; -.TH TestMan 1 "1 January 1970"
;; +.TH TestMan 1 "26 June 2025"
#:test-flags #~(list "-skip" "TestMan")))
(propagated-inputs
(list go-golang-org-x-sys))
(home-page "https://github.com/itchyny/go-flags")
(synopsis "Command line option parser for Golang")
(description
"Package flags provides an extensive command line option parser. The
flags package is similar in functionality to the go built-in flag package but
provides more options and uses reflection to provide a convenient and succinct
way of specifying command line options. It's an alternative fork of
https://github.com/jessevdk/go-flags.")
(license license:bsd-3)))
(define-public go-github-com-itchyny-timefmt-go
(package
(name "go-github-com-itchyny-timefmt-go")