From fbdf5b76a70c28dcaa80f81b569b5bf21560d374 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 24 Jul 2024 17:01:46 +0100 Subject: gnu: Add go-github-com-go-logfmt-logfmt. * gnu/packages/golang-xyz.scm (go-github-com-go-logfmt-logfmt): New variable. Change-Id: I3bf4d8405b9ec61e811ab88c6a67098feac36a72 --- gnu/packages/golang-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) 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 @@ (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") -- cgit v1.2.3