From patchwork Fri Mar 25 13:31:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Leo_Nikkil=C3=A4?= X-Patchwork-Id: 38094 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C10C027BBEA; Fri, 25 Mar 2022 14:18:51 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 151C227BBE9 for ; Fri, 25 Mar 2022 14:18:51 +0000 (GMT) Received: from localhost ([::1]:34698 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nXkmA-00038L-6a for patchwork@mira.cbaines.net; Fri, 25 Mar 2022 10:18:50 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55080) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXkdy-00015l-LH for guix-patches@gnu.org; Fri, 25 Mar 2022 10:10:22 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58194) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nXkdy-0004hZ-8c for guix-patches@gnu.org; Fri, 25 Mar 2022 10:10:22 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nXkdy-0003D4-3h for guix-patches@gnu.org; Fri, 25 Mar 2022 10:10:22 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54560] [PATCH 26/47] gnu: Add go-github-com-simonpasquier-klog-gokit. Resent-From: Leo =?utf-8?q?Nikkil=C3=A4?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 25 Mar 2022 14:10:22 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54560 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54560@debbugs.gnu.org Cc: Leo =?utf-8?q?Nikkil=C3=A4?= Received: via spool by 54560-submit@debbugs.gnu.org id=B54560.164821739311922 (code B ref 54560); Fri, 25 Mar 2022 14:10:22 +0000 Received: (at 54560) by debbugs.gnu.org; 25 Mar 2022 14:09:53 +0000 Received: from localhost ([127.0.0.1]:52018 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXkdU-000367-Sx for submit@debbugs.gnu.org; Fri, 25 Mar 2022 10:09:53 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:36397) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXk4c-0001iH-1a for 54560@debbugs.gnu.org; Fri, 25 Mar 2022 09:33:50 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 73DA73200A6A; Fri, 25 Mar 2022 09:33:44 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Fri, 25 Mar 2022 09:33:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lnikki.la; h=cc :cc:content-transfer-encoding:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; bh=sNwjLAHk2d57u5VmzSKGSzwGtkzN8+ +8Xa+udvCBFyQ=; b=E1B1O+E1fxUuJoUGmhiVw76a5ugomTzFDGDddlG3t4WR18 MEcgGLJkdFVWYq279zngCcmBhjTlC8DiRQrAXiy4i21yGKcPwapMuXsUjULQUn8r 86G454312o8lKuPkS0/CuCCa60dM2VfmmVjdEU2dWm14Mq6izROkkujp919cEvnQ fPUaWwSDhXcs64VsM/almpqBv3IQp23Ishon2ttnaGyp5zKgpxsYfiyF7aNfX6ta Sb0GUMu4u7i369UWDFtTLjhMfp6oaXDdTUit1uIv8k1O/vX2DmPozcGVDRmwugrE BuupuwPbOwoF/hc/TD7E1BykjEhWn91q+DlcT+Vg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=sNwjLA Hk2d57u5VmzSKGSzwGtkzN8++8Xa+udvCBFyQ=; b=TzY2ytS99nAaBfvnxVYzIX bCb7nnkSTG1mjQeP25aZK0qeVr5OCLwEaf1RKSBNnYeA1gbJTXZdjDO2d1brsNnv yDYiIRdlegLI6iqHwYRCqvgaCV9flQ8VtaOMRn0O21QcbhHZfei2LcVvLZ+lFkIZ hi1utQuUK6QzgcAiu5xen9TFNlinJWP6mrCjFTDfxE6r7IYeU3uIQCfX9nZ+hdFN 7D9dUONt5EQJ5gBO2WZ4yid45O7EfvUZNhZY5PbT4CmyiWwic6WGLsls5pmil8Kl HJwN9VySjoAS3oCKWDIMCZmyVHk7Ab5A2pn+rX4Jw9kZyu9wZlmh3JBXPoC8m+ag == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudehuddghedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhgggfestdekre dtredtjeenucfhrhhomhepnfgvohcupfhikhhkihhlmocuoehhvghllhhosehlnhhikhhk ihdrlhgrqeenucggtffrrghtthgvrhhnpeektdeliefgheefueehgeektdegtefgkeduhf fghfehhedukeeuudduveelffefveenucffohhmrghinhepghhithhhuhgsrdgtohhmpdhk kehsrdhiohenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehhvghllhhosehlnhhikhhkihdrlhgr X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 25 Mar 2022 09:33:43 -0400 (EDT) From: Leo =?utf-8?q?Nikkil=C3=A4?= Date: Fri, 25 Mar 2022 15:31:50 +0200 Message-Id: <20220325133211.5128-26-hello@lnikki.la> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220325133211.5128-1-hello@lnikki.la> References: <20220325133211.5128-1-hello@lnikki.la> MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 25 Mar 2022 10:09:18 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-simonpasquier-klog-gokit): New variable. --- gnu/packages/golang.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index da399aaafd..9931c460d4 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -10363,6 +10363,41 @@ (define-public go-github-com-oklog-ulid (home-page "https://github.com/oklog/ulid") (license license:asl2.0))) +(define-public go-github-com-simonpasquier-klog-gokit + (package + (name "go-github-com-simonpasquier-klog-gokit") + (version "0.3.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/simonpasquier/klog-gokit") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "061hxp1x7akgfdg9iy4kk5528rzq70cq7pj8azygf4149i7nsssk")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/simonpasquier/klog-gokit" + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-source + (lambda* (#:key import-path #:allow-other-keys) + ;; `go-kit/kit' is large and unpackaged, however the log + ;; library has been extracted out and can be swapped in. + (substitute* (find-files (string-append "src/" import-path) + "\\.go") + (("github.com/go-kit/kit/log") "github.com/go-kit/log")) + #t))))) + (propagated-inputs (list go-github-com-go-kit-log)) + (native-inputs (list go-github-com-stretchr-testify)) + (synopsis "Replacement for klog for projects using the go-kit +logger") + (description "Replacement for @code{k8s.io/klog} in projects that +use the @code{github.com/go-kit/log} module for logging.") + (home-page "https://github.com/simonpasquier/klog-gokit") + (license license:asl2.0))) + (define-public go-google-golang-org-protobuf (package (name "go-google-golang-org-protobuf")