mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: Add go-go-uber-org-multierr.
* gnu/packages/golang.scm (go-go-uber-org-multierr): New variable.
This commit is contained in:
parent
32c979675e
commit
08c3614125
1 changed files with 26 additions and 0 deletions
|
@ -6890,3 +6890,29 @@ (define-public go-go-uber-org-atomic
|
|||
"This package provides simple wrappers for primitive types to enforce
|
||||
atomic access.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public go-go-uber-org-multierr
|
||||
(package
|
||||
(name "go-go-uber-org-multierr")
|
||||
(version "1.6.0")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/uber-go/multierr")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "162941s8f6a9x2w04qm4qa3zz0zylwag9149hywrj9ibp2nzcsqz"))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
'(#:import-path "go.uber.org/multierr"))
|
||||
(native-inputs
|
||||
`(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
|
||||
(propagated-inputs
|
||||
`(("go-go-uber-org-atomic" ,go-go-uber-org-atomic)))
|
||||
(home-page "https://go.uber.org/multierr")
|
||||
(synopsis "Error combination fo Go")
|
||||
(description
|
||||
"@code{multierr} allows combining one or more Go errors together.")
|
||||
(license license:expat)))
|
||||
|
|
Loading…
Reference in a new issue