mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
gnu: Add go-go-simpler-org-sloglint.
* gnu/packages/golang-check.scm (go-go-simpler-org-sloglint): New variable. Change-Id: I29f210fd6d57e4eaf14000410271e9b77c7a3767
This commit is contained in:
parent
43517510fe
commit
94b1c6babb
1 changed files with 27 additions and 0 deletions
|
@ -1771,6 +1771,33 @@ (define-public go-go-etcd-io-gofail
|
|||
@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")
|
||||
|
|
Loading…
Reference in a new issue