From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 70123@debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus@gmail.com>
Subject: [bug#70123] [PATCH 02/12] gnu: Add go-github-com-go-logr-logr.
Date: Mon, 1 Apr 2024 11:43:32 +0100 [thread overview]
Message-ID: <97358ea269b64b849a17d7cc361a784c74f57941.1711915492.git.sharlatanus@gmail.com> (raw)
In-Reply-To: <cover.1711915492.git.sharlatanus@gmail.com>
* gnu/packages/golang-xyz.scm (go-github-com-go-logr-logr): New
variable.
Change-Id: I0fe5e817fa653bcdbe2fea03fe5d608ea270fa12
---
gnu/packages/golang-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 7fe750f59e..1bf296bda0 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -991,6 +991,42 @@ (define-public go-github-com-gabriel-vasile-mimetype
@end itemize")
(license license:expat)))
+(define-public go-github-com-go-logr-logr
+ (package
+ (name "go-github-com-go-logr-logr")
+ (version "1.4.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/go-logr/logr")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0x0q9jkk2p5pz4lii1qs8ifnsib4ib5s8pigmjwdmagl976g8nhm"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:go go-1.18
+ #:import-path "github.com/go-logr/logr"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'remove-examples-and-benchmarks
+ (lambda* (#:key import-path #:allow-other-keys)
+ (delete-file-recursively
+ (string-append "src/" import-path "/examples"))
+ (delete-file-recursively
+ (string-append "src/" import-path "/funcr/example"))
+ (delete-file-recursively
+ (string-append "src/" import-path "/benchmark")))))))
+ (home-page "https://github.com/go-logr/logr")
+ (synopsis "Minimal logging API for Go")
+ (description
+ "Package @code{logr} defines a general-purpose logging API and abstract
+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-hashicorp-errwrap
(package
(name "go-github-com-hashicorp-errwrap")
--
2.41.0
next prev parent reply other threads:[~2024-04-01 10:44 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-01 10:39 [bug#70123] [PATCH 00/12] fiano: Update to 1.2.0 Sharlatan Hellseher
2024-04-01 10:43 ` [bug#70123] [PATCH 01/12] gnu: Add go-github-com-pierrec-cmdflag Sharlatan Hellseher
2024-04-01 10:43 ` Sharlatan Hellseher [this message]
2024-04-01 10:43 ` [bug#70123] [PATCH 03/12] gnu: Add go-github-com-onsi-ginkgo-v2 Sharlatan Hellseher
2024-04-01 10:43 ` [bug#70123] [PATCH 04/12] gnu: Add go-code-cloudfoundry-org-bytefmt Sharlatan Hellseher
2024-04-01 10:43 ` [bug#70123] [PATCH 05/12] gnu: Add go-github-com-pierrec-lz4 Sharlatan Hellseher
2024-04-01 10:43 ` [bug#70123] [PATCH 06/12] gnu: go-github-com-schollz-progressbar-v3: Move to golang-xyz Sharlatan Hellseher
2024-04-01 10:43 ` [bug#70123] [PATCH 07/12] gnu: go-github-com-schollz-progressbar-v3: Adjust inputs Sharlatan Hellseher
2024-04-01 10:43 ` [bug#70123] [PATCH 08/12] gnu: go-github-com-onsi-ginkgo: Refresh package style Sharlatan Hellseher
2024-04-01 10:43 ` [bug#70123] [PATCH 09/12] gnu: go-github-com-onsi-gomega: Move to golang-check Sharlatan Hellseher
2024-04-01 10:43 ` [bug#70123] [PATCH 10/12] gnu: go-github.com-jessevdk-go-flags: Adjust variable name Sharlatan Hellseher
2024-04-01 10:43 ` [bug#70123] [PATCH 11/12] gnu: fiano: Refresh package style Sharlatan Hellseher
2024-04-01 10:43 ` [bug#70123] [PATCH 12/12] gnu: fiano: Update to 1.2.0 Sharlatan Hellseher
2024-04-04 16:43 ` bug#70123: [PATCH 00/12] " Sharlatan Hellseher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=97358ea269b64b849a17d7cc361a784c74f57941.1711915492.git.sharlatanus@gmail.com \
--to=sharlatanus@gmail.com \
--cc=70123@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).