gnu: Add go-go-uber-org-dig.

* gnu/packages/golang-xyz.scm (go-go-uber-org-dig): New variable.

Change-Id: I127569582dbf060b2870c8ac7f977a96e5ba9596
This commit is contained in:
Sharlatan Hellseher 2024-04-12 15:00:13 +01:00
parent e86eb91206
commit 81a8d57d03
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -3210,6 +3210,33 @@ (define-public go-go-uber-org-automaxprocs
CPU quota.") CPU quota.")
(license license:expat))) (license license:expat)))
(define-public go-go-uber-org-dig
(package
(name "go-go-uber-org-dig")
(version "1.17.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/uber-go/dig")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "020dak2r0yykk6fkfwad2wbz73pjbbdkdamn0ir7xf2irxsmjakm"))))
(build-system go-build-system)
(arguments
(list
#:go go-1.20
#:import-path "go.uber.org/dig"))
(native-inputs
(list go-github-com-stretchr-testify-next))
(home-page "https://pkg.go.dev/go.uber.org/dig")
(synopsis "Reflection based dependency injection toolkit for Golang")
(description
"Package @code{dig} provides a functionality to implement resolving
object dependencies graph during the process startup.")
(license license:expat)))
(define-public go-go-uber-org-zap (define-public go-go-uber-org-zap
(package (package
(name "go-go-uber-org-zap") (name "go-go-uber-org-zap")