aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-07-24 17:01:46 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-07-25 21:01:01 +0100
commitfbdf5b76a70c28dcaa80f81b569b5bf21560d374 (patch)
treeb63454fe79c71e9d2b8d161bb4d13304e906c88a
parente331cfa3e6c0e38a641de5ecf36e22199cd0341d (diff)
downloadguix-fbdf5b76a70c28dcaa80f81b569b5bf21560d374.tar
guix-fbdf5b76a70c28dcaa80f81b569b5bf21560d374.tar.gz
gnu: Add go-github-com-go-logfmt-logfmt.
* gnu/packages/golang-xyz.scm (go-github-com-go-logfmt-logfmt): New variable. Change-Id: I3bf4d8405b9ec61e811ab88c6a67098feac36a72
-rw-r--r--gnu/packages/golang-xyz.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 58840f4046..3e248a571a 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -2017,6 +2017,33 @@ Differentiation between text and binary files}.
@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")