diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-01-01 15:32:44 +0000 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-01-21 23:42:43 +0000 |
commit | e5bf6db0a029354d705cc12af1f9e582d2342cdd (patch) | |
tree | b7e64c3639f5b065c2c6c5b23e3973e3a8a1ed1c | |
parent | ed2851874a3344388e12f7f56b662458f8543a90 (diff) |
gnu: Add go-go-simpler-org-sloglint.
* gnu/packages/golang-check.scm (go-go-simpler-org-sloglint): New variable.
Change-Id: I29f210fd6d57e4eaf14000410271e9b77c7a3767
-rw-r--r-- | gnu/packages/golang-check.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm index d818a2b1f7..14a30317c9 100644 --- a/gnu/packages/golang-check.scm +++ b/gnu/packages/golang-check.scm @@ -1771,6 +1771,33 @@ and restore them afterwards.") @url{http://www.freebsd.org/cgi/man.cgi?query=fail,failpoints} for Golang.") (license license:asl2.0))) +(define-public go-go-simpler-org-sloglint + (package + (name "go-go-simpler-org-sloglint") + (version "0.7.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/go-simpler/sloglint") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0y5hw79hib5g4fwwr1qdr0k6424vhj0hfs0rj2kxlqfwr3sn99qk")))) + (build-system go-build-system) + (arguments + (list + #:import-path "go-simpler.org/sloglint")) + (propagated-inputs + (list go-github-com-ettle-strcase + go-golang-org-x-tools)) + (home-page "https://pkg.go.dev/go-simpler.org/sloglint") + (synopsis "Ensure consistent code style when using @code{log/slog}") + (description + "Package sloglint implements the sloglint analyzer. The @code{log/slog} +API allows two different types of arguments: key-value pairs and attributes.") + (license license:mpl2.0))) + (define-public go-golang-org-sql-mock (package (name "go-golang-org-sql-mock") |