diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-06-26 13:51:14 +0100 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-01 08:41:01 +0100 |
commit | ca666bd9fd5b3c168736a64ccbc4abdbe5ccb456 (patch) | |
tree | f1fbce2d476a05207935ce51d4f27ad9ca854197 /gnu/packages/golang-xyz.scm | |
parent | df2a9ef584eb4c8d5069767d8b968a8c3324eb11 (diff) |
gnu: Add go-github-com-itchyny-go-flags.
* gnu/packages/golang-xyz.scm (go-github-com-itchyny-go-flags): New variable.
Change-Id: I96ead9b19b765aef8576f7530d7fb02509b387a1
Diffstat (limited to 'gnu/packages/golang-xyz.scm')
-rw-r--r-- | gnu/packages/golang-xyz.scm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index e1b2f9231d..82886f2c17 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -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") |