[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
392/401: gnu: Add go-fxlint.
From: |
guix-commits |
Subject: |
392/401: gnu: Add go-fxlint. |
Date: |
Thu, 26 Dec 2024 19:31:32 -0500 (EST) |
sharlatan pushed a commit to branch go-team
in repository guix.
commit afbfbf132fd86282a78590a8ea633b9e5d12538b
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Thu Dec 26 22:28:34 2024 +0000
gnu: Add go-fxlint.
* gnu/packages/golang-xyz.scm (go-go-uber-org-fx-tools, go-fxlint): New
variables.
Change-Id: I9fcccc99393a990967188a7977c28b5e00a4cee9
---
gnu/packages/golang-xyz.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 640ff06f83..0a67fbfcff 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -11523,6 +11523,36 @@ object dependencies graph during the process startup.")
applications out of reusable, composable modules.")
(license license:expat)))
+(define-public go-go-uber-org-fx-tools
+ (package
+ (name "go-go-uber-org-fx-tools")
+ (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
+ #:skip-build? #t
+ #:import-path "go.uber.org/fx/tools"
+ #:unpack-path "go.uber.org/fx"))
+ (propagated-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-go-uber-org-multierr
(package
(name "go-go-uber-org-multierr")
@@ -12507,6 +12537,21 @@ tool."))))
(string-append (package-description go-github-com-olekukonko-tablewriter)
"\nThis package provides a command line interface (CLI)
tool."))))
+(define-public go-fxlint
+ (package
+ (inherit go-go-uber-org-fx-tools)
+ (name "go-fxlint")
+ (arguments
+ (list
+ #:tests? #f
+ #:install-source? #f
+ #:import-path "go.uber.org/fx/tools/cmd/fxlint"
+ #:unpack-path "go.uber.org/fx"))
+ (description
+ (string-append (package-description go-go-uber-org-fx-tools)
+ " This package provides a command line interface (CLI)
+linter that verifies correct usage of Fx."))))
+
(define-public go-hclogvet
(package
(inherit go-github-com-hashicorp-go-hclog)
- 351/401: gnu: go-github-com-charmbracelet-bubbletea: Move to golang-xyz., (continued)
- 351/401: gnu: go-github-com-charmbracelet-bubbletea: Move to golang-xyz., guix-commits, 2024/12/26
- 349/401: gnu: go-github-com-gizak-termui-v3: Move to golang-xyz., guix-commits, 2024/12/26
- 384/401: gnu: Add go-github-com-gofiber-fiber-v2., guix-commits, 2024/12/26
- 385/401: gnu: Add go-github-com-gobwas-pool., guix-commits, 2024/12/26
- 372/401: gnu: Add go-jose-util., guix-commits, 2024/12/26
- 376/401: gnu: Add go-github-com-knz-go-libedit., guix-commits, 2024/12/26
- 381/401: gnu: Add go-github-com-bytedance-sonic., guix-commits, 2024/12/26
- 386/401: gnu: Add go-github-com-gobwas-httphead., guix-commits, 2024/12/26
- 73/401: gnu: Add go-github-com-buildkite-shellwords., guix-commits, 2024/12/26
- 135/401: gnu: Add go-github-com-cockroachdb-apd., guix-commits, 2024/12/26
- 392/401: gnu: Add go-fxlint.,
guix-commits <=
- 148/401: gnu: Add go-github-com-viant-toolbox., guix-commits, 2024/12/26
- 175/401: gnu: Add go-gitlab-com-yawning-obfs4-git., guix-commits, 2024/12/26
- 173/401: gnu: go-github-com-dsnet-golib: Adjust inputs., guix-commits, 2024/12/26
- 198/401: gnu: Add go-github-com-google-gnostic-models., guix-commits, 2024/12/26
- 180/401: gnu: Add go-github-com-burntsushi-graphics-go., guix-commits, 2024/12/26
- 172/401: gnu: go-github-com-dsnet-compress: Fix tests., guix-commits, 2024/12/26
- 197/401: gnu: go-github-com-emicklei-go-restful-v3: Fix build., guix-commits, 2024/12/26
- 191/401: gnu: Add go-k8s-io-gengo-v2., guix-commits, 2024/12/26
- 195/401: gnu: Add go-sigs-k8s-io-structured-merge-diff-v4., guix-commits, 2024/12/26
- 342/401: gnu: go-gopkg-in-errgo-fmt-errors: Rename variable., guix-commits, 2024/12/26