From 9b4b9bd92889bc89c7a7c7ba4559f2c4e966f778 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 25 Aug 2024 21:43:31 +0100 Subject: gnu: Add go-github-com-go-logr-stdr. * gnu/packages/golang-xyz.scm (go-github-com-go-logr-stdr): New variable. Change-Id: I3cbe5e34306ee0c07143155e499f9f0aa6be2761 --- gnu/packages/golang-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 09e45175a6..becdef319b 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -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") -- cgit v1.2.3