guix_mirror_bot pushed a commit to branch master
in repository guix.
commit b88d83ee5396bcf0505fcff14e6232c2bb2ca167
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Sep 11 15:08:15 2025 +0100
gnu: go-fxlint: Move to golang-apps.
* gnu/packages/golang-xyz.scm (go-fxlint): Move from here ...
* gnu/packages/golang-apps.scm: ... to here.
Change-Id: I292ffa1c60bf56abfbd09f21271a0242e67576fa
---
gnu/packages/golang-apps.scm | 31 +++++++++++++++++++++++++++++++
gnu/packages/golang-xyz.scm | 32 --------------------------------
2 files changed, 31 insertions(+), 32 deletions(-)
diff --git a/gnu/packages/golang-apps.scm b/gnu/packages/golang-apps.scm
index 2fbafa72d3..7e3f27b82b 100644
--- a/gnu/packages/golang-apps.scm
+++ b/gnu/packages/golang-apps.scm
@@ -78,6 +78,37 @@ based heavily on @url{http://pygments.org/, Pygments}, and
includes
translators for Pygments lexers and styles.")
(license license:expat)))
+(define-public go-fxlint
+ (package
+ (name "go-fxlint")
+ (version "0.0.0-20241011173146-861011200d8a")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/uber-go/fx")
+ (commit (go-version->git-ref version
+ #:subdir "tools"))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1y9zavn5dmb5v2g2krc1apznp1fwc2zb70hlgxw4xcz2ifdwx7wz"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:tests? #f
+ #:install-source? #f
+ #:import-path "go.uber.org/fx/tools/cmd/fxlint"
+ #:unpack-path "go.uber.org/fx"))
+ (native-inputs
+ (list go-golang-org-x-tools))
+ (home-page "https://go.uber.org/fx")
+ (synopsis "Verify FX events")
+ (description
+ "This Package implements a Go analysis pass that verifies that an
+@code{fxevent.Logger} implementation handles all known fxevent types. As a
+special case for no-op or fake fxevent.Loggers, it ignores implementations
+that handle none of the event types.")
+ (license license:expat)))
(define-public godef
(package
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index a50bfb0a08..081d24acb1 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -23831,38 +23831,6 @@ library.")
(string-append (package-description go-github-com-olekukonko-tablewriter)
"\nThis package provides a command line interface (CLI)
tool."))))
-(define-public go-fxlint
- (package
- (name "go-fxlint")
- (version "0.0.0-20241011173146-861011200d8a")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/uber-go/fx")
- (commit (go-version->git-ref version
- #:subdir "tools"))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "1y9zavn5dmb5v2g2krc1apznp1fwc2zb70hlgxw4xcz2ifdwx7wz"))))
- (build-system go-build-system)
- (arguments
- (list
- #:tests? #f
- #:install-source? #f
- #:import-path "go.uber.org/fx/tools/cmd/fxlint"
- #:unpack-path "go.uber.org/fx"))
- (native-inputs
- (list go-golang-org-x-tools))
- (home-page "https://go.uber.org/fx")
- (synopsis "Verify FX events")
- (description
- "This Package implements a Go analysis pass that verifies that an
-@code{fxevent.Logger} implementation handles all known fxevent types. As a
-special case for no-op or fake fxevent.Loggers, it ignores implementations
-that handle none of the event types.")
- (license license:expat)))
-
(define-public go-hclogvet
(package
(inherit go-github-com-hashicorp-go-hclog)