mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add go-git-sr-ht-rjarry-go-opt.
* gnu/packages/golang-xyz.scm (go-git-sr-ht-rjarry-go-opt): New variable. Change-Id: I2dfafc9144a95dcbd6b10439888f2426be8e7915
This commit is contained in:
parent
6593f40b77
commit
21b1f165c8
1 changed files with 28 additions and 0 deletions
|
@ -293,6 +293,34 @@ a human-readable byte format.")
|
||||||
search functionality to database applications.")
|
search functionality to database applications.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public go-git-sr-ht-rjarry-go-opt
|
||||||
|
(package
|
||||||
|
(name "go-git-sr-ht-rjarry-go-opt")
|
||||||
|
(version "1.4.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://git.sr.ht/~rjarry/go-opt")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "0jcs3bn43g3wv4d5w59zazy139qfkn0903lnvndfn06s81gzqpch"))))
|
||||||
|
(build-system go-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:import-path "git.sr.ht/~rjarry/go-opt"))
|
||||||
|
(native-inputs
|
||||||
|
(list go-github-com-stretchr-testify))
|
||||||
|
(home-page "https://git.sr.ht/~rjarry/go-opt")
|
||||||
|
(synopsis "Argument parsing and completion based on struct tags")
|
||||||
|
(description
|
||||||
|
"@code{go-opt} is a library to parse command line arguments based on tag
|
||||||
|
annotations on struct fields. It came as a spin-off from
|
||||||
|
@url{https://git.sr.ht/~rjarry/aerc,aerc} to deal with its internal
|
||||||
|
commands.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public go-git-sr-ht-sircmpwn-getopt
|
(define-public go-git-sr-ht-sircmpwn-getopt
|
||||||
(package
|
(package
|
||||||
(name "go-git-sr-ht-sircmpwn-getopt")
|
(name "go-git-sr-ht-sircmpwn-getopt")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue