gnu: Add go-github-com-go-logfmt-logfmt.

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

Change-Id: I3bf4d8405b9ec61e811ab88c6a67098feac36a72
This commit is contained in:
Sharlatan Hellseher 2024-07-24 17:01:46 +01:00
parent e331cfa3e6
commit fbdf5b76a7
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -2017,6 +2017,33 @@ (define-public go-github-com-gabriel-vasile-mimetype
@end itemize")
(license license:expat)))
(define-public go-github-com-go-logfmt-logfmt
(package
(name "go-github-com-go-logfmt-logfmt")
(version "0.6.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/go-logfmt/logfmt")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0s3dz7z5a8p5ia5czihy5y2hkij7rdfyr425sw9rnxqil3d0dlj6"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/go-logfmt/logfmt"))
(home-page "https://github.com/go-logfmt/logfmt")
(synopsis "Marshal and unmarshal logfmt messages")
(description
"Package logfmt implements utilities to marshal and unmarshal data in the
logfmt format. The logfmt format records key/value pairs in a way that
balances readability for humans and simplicity of computer parsing. It is
most commonly used as a more human friendly alternative to JSON for structured
logging.")
(license license:expat)))
(define-public go-github-com-go-logr-logr
(package
(name "go-github-com-go-logr-logr")