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

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

Change-Id: Ib8410424acc31caf486f2d6cd14e736a110efa0f
This commit is contained in:
Sharlatan Hellseher 2024-04-12 16:08:18 +01:00
parent 2d10f8eb0b
commit 49d917e675
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -3263,6 +3263,39 @@ (define-public go-go-uber-org-dig
object dependencies graph during the process startup.")
(license license:expat)))
(define-public go-go-uber-org-fx
(package
(name "go-go-uber-org-fx")
(version "1.21.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://pkg.go.dev/go.uber.org/fx")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "16pbqmkij02zw6xa4660k905y0r0rc50vyqhg41i2411r68jrdnn"))))
(build-system go-build-system)
(arguments
(list
#:go go-1.20
#:import-path "go.uber.org/fx"))
(native-inputs
(list go-github-com-stretchr-testify-next))
(propagated-inputs
(list go-go-uber-org-dig
go-go-uber-org-goleak
go-go-uber-org-multierr
go-go-uber-org-zap
go-golang-org-x-sys))
(home-page "https://go.uber.org/fx")
(synopsis "Dependency injection based application framework for Golang")
(description
"Package @code{fx} is a framework that makes it easy to build
applications out of reusable, composable modules.")
(license license:expat)))
(define-public go-go-uber-org-multierr
(package
(name "go-go-uber-org-multierr")