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:
Sharlatan Hellseher 2024-07-27 23:52:39 +01:00
parent 6593f40b77
commit 21b1f165c8
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -293,6 +293,34 @@ (define-public go-git-sr-ht-emersion-go-sqlite3-fts5
search functionality to database applications.")
(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
(package
(name "go-git-sr-ht-sircmpwn-getopt")