mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-08 20:31:01 +01:00
gnu: Add go-github-com-alecthomas-kong.
* gnu/packages/golang-xyz.scm (go-github-com-alecthomas-kong): New variable. Change-Id: I92218bd2cf6c186e63812dd83655686bb7a7f97a
This commit is contained in:
parent
404d3c7776
commit
c7cf66fb40
1 changed files with 31 additions and 0 deletions
|
@ -587,6 +587,37 @@ be stripped.")
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list go-github-com-stretchr-testify))))
|
(list go-github-com-stretchr-testify))))
|
||||||
|
|
||||||
|
(define-public go-github-com-alecthomas-kong
|
||||||
|
(package
|
||||||
|
(name "go-github-com-alecthomas-kong")
|
||||||
|
(version "0.9.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/alecthomas/kong")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "0a9arf30h84ll8k612jh50c3vjmvdfj6i7dbvfnw3dalm6dn2aan"))))
|
||||||
|
(build-system go-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
;; One test failed when set to go-1.18 o lower, see
|
||||||
|
;; <https://github.com/alecthomas/kong/issues/437>
|
||||||
|
#:go go-1.19
|
||||||
|
#:import-path "github.com/alecthomas/kong"))
|
||||||
|
(native-inputs
|
||||||
|
(list go-github-com-alecthomas-assert-v2))
|
||||||
|
(propagated-inputs
|
||||||
|
(list go-github-com-alecthomas-repr))
|
||||||
|
(home-page "https://github.com/alecthomas/kong")
|
||||||
|
(synopsis "Command-line parser for Golang")
|
||||||
|
(description
|
||||||
|
"Package kong aims to support arbitrarily complex command-line structures
|
||||||
|
with as little developer effort as possible.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public go-github-com-alecthomas-participle-v2
|
(define-public go-github-com-alecthomas-participle-v2
|
||||||
(package
|
(package
|
||||||
(name "go-github-com-alecthomas-participle-v2")
|
(name "go-github-com-alecthomas-participle-v2")
|
||||||
|
|
Loading…
Add table
Reference in a new issue