gnu: Add go-github-com-go-logr-stdr.

* gnu/packages/golang-xyz.scm (go-github-com-go-logr-stdr): New variable.

Change-Id: I3cbe5e34306ee0c07143155e499f9f0aa6be2761
This commit is contained in:
Sharlatan Hellseher 2024-08-25 21:43:31 +01:00
parent 0a46e960d0
commit 9b4b9bd928
No known key found for this signature in database
GPG Key ID: 76D727BFF62CD2B5

View File

@ -2638,6 +2638,33 @@ interfaces to back that API. Packages in the Go ecosystem can depend on it,
while callers can implement logging with whatever backend is appropriate.")
(license license:asl2.0)))
(define-public go-github-com-go-logr-stdr
(package
(name "go-github-com-go-logr-stdr")
(version "1.2.2")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/go-logr/stdr")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1dl2rzvjacwqlnvw7azrxqbh4jvzaq8v399f6drs146l39ss21c1"))))
(build-system go-build-system)
(arguments
(list
#:tests? #f ; no tests for stdr.go
#:import-path "github.com/go-logr/stdr"))
(propagated-inputs
(list go-github-com-go-logr-logr))
(home-page "https://github.com/go-logr/stdr")
(synopsis "Minimal Go logging using logr and Go's standard library")
(description
"Package stdr implements github.com/go-logr/logr.Logger in terms of Go's
standard log package.")
(license license:asl2.0)))
(define-public go-github-com-go-playground-locales
(package
(name "go-github-com-go-playground-locales")