From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id wA2gLWQ3zmRwAQEASxT56A (envelope-from ) for ; Sat, 05 Aug 2023 13:49:56 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id gG9SLGQ3zmRF4gAAG6o9tA (envelope-from ) for ; Sat, 05 Aug 2023 13:49:56 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4AC1F3D85C for ; Sat, 5 Aug 2023 13:49:56 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=Uc72n1Hy; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691236196; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=dTlEnhxGqiA3buSNApyDPHgtCmO1lRsMBiG1m6TzCZ0=; b=jXCiyieyh/oTfvNbdPkMoX5VEFgH+qotALNuN9Fz5NsUXZ4GmMq6qq9G8pADLT3ou3joGy pTLw3QlRhIxrdE6ICAHLkKkO7g5o78xnnJ8OsAmPVVOinP+YfWLfe1wmg9pzDV4wufrPMc qHqOh5L7cC3dyeNo5yVBUULiksyU53bOZqLoCKhboF+fk0bCdt1Wq7hhH6nH3QBT9AO/Zs 2Bbdl0eKelC9TL6TrPYT2eInrwIQoQckxMXSuXh1aIY+A2wvUpV+DlLg1vItBLu2JIuqj7 TerzuN4lIJSD4h25QFQX4eIM2QLewJWelSrKFQuAZbU27QK6a1UTdgHZsI6hSg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=Uc72n1Hy; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691236196; a=rsa-sha256; cv=none; b=vDWt/+4M+y0jPPnUaZOPbtr8DRPBhsxIcNZuLmv2RXrOfcQgZ9oSEYwmBzd0L/WUpExqDU JdFQcQB1d2vQTsugvgseE1TsymjgN34amC2jYNABvx0d7DHyq5BTV5vtKz3E7gp/XSiz8W TQgr4wmU7/psUXqkhwt3thMu6sKGQYHL7ZMXyO7pj7wJ1UBl5ng57WKEqc5QoLnjV6R+L9 YdnIK+L7ZCcyJGfjlpPPJ/XxsOs9ihtWcsrmWZSkY6GQYaMBp0f+N3ZDSYXykpxVn0AoWe jcElR/MCEyN696akJgFKltkN2ze02FoE0P+1H+MDKZ7SapanpJbtgtejddpHBw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qSFmL-00082y-MZ; Sat, 05 Aug 2023 07:49:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qSFmJ-0007zL-AC for guix-patches@gnu.org; Sat, 05 Aug 2023 07:49:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qSFmI-0006VF-Po for guix-patches@gnu.org; Sat, 05 Aug 2023 07:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qSFmI-0000uT-MV for guix-patches@gnu.org; Sat, 05 Aug 2023 07:49:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65074] [PATCH v2 01/13] gnu: Add go-github-com-chyzer-logex Resent-From: Fries Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 05 Aug 2023 11:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65074 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65074@debbugs.gnu.org Cc: Fries Received: via spool by 65074-submit@debbugs.gnu.org id=B65074.16912361313383 (code B ref 65074); Sat, 05 Aug 2023 11:49:02 +0000 Received: (at 65074) by debbugs.gnu.org; 5 Aug 2023 11:48:51 +0000 Received: from localhost ([127.0.0.1]:55943 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSFm5-0000sS-BE for submit@debbugs.gnu.org; Sat, 05 Aug 2023 07:48:51 -0400 Received: from mail-40137.protonmail.ch ([185.70.40.137]:16341) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSF2Q-0005N3-C5 for 65074@debbugs.gnu.org; Sat, 05 Aug 2023 07:01:39 -0400 Date: Sat, 05 Aug 2023 11:01:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1691233291; x=1691492491; bh=dTlEnhxGqiA3buSNApyDPHgtCmO1lRsMBiG1m6TzCZ0=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=Uc72n1Hy0RQWmwmaCPne1Aj/N6z8CBE8wX9oMRuWFBVnwQKsMSXdqvh4B/mB2wPup EEDyJuMafxYt8PLezAzbqpFTJQagyQ19JJyuj6/o7uwf0dPF/iRPxpqpJK4GVYneOF YZsMwAu3+T1gitBYYD6HiUCTIKupMvZHKlh+6dL1escvbNM/cXruQ13ueivuQdI20W hH/2B6/nlWrCpeUKlhbrDZYcFFqcFgBs3jblhwM3ExFO4iLGejnut22iA8iW/3wL80 OIzq2bpRXVWdl1VCy4VaBJXhbOLfxvS+lsQq5/vTZeIYTciBRhETkGKQDxW/Oa6d6z VrdteqFa0V4iw== Message-ID: In-Reply-To: References: Feedback-ID: 42759890:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Sat, 05 Aug 2023 07:48:47 -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: , Reply-to: Fries X-ACL-Warn: , Fries via Guix-patches From: Fries via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 4AC1F3D85C X-Migadu-Scanner: mx1.migadu.com X-Spam-Score: -6.65 X-Migadu-Spam-Score: -6.65 X-TUID: v2IPnkdzIC/I * gnu/packages/golang.scm (go-github-com-chyzer-logex): New variable. * gnu/packages/patches/go-github-com-chyzer-logex-fix-tests.patch: New file= . --- gnu/packages/golang.scm | 25 +++++++++++++++++ ...go-github-com-chzyer-logex-fix-tests.patch | 28 +++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 gnu/packages/patches/go-github-com-chzyer-logex-fix-tes= ts.patch diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index ea6aadbe80..7005515bb2 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -41,6 +41,7 @@ ;;; Copyright =C2=A9 2022 Christopher Howard ;;; Copyright =C2=A9 2023 Hilton Chain ;;; Copyright =C2=A9 2023 Timo Wilken +;;; Copyright =C2=A9 2023 Fries ;;; ;;; This file is part of GNU Guix. ;;; @@ -2112,6 +2113,30 @@ (define-public go-github-com-dhowett-go-plist types.") (license license:giftware)))) =20 +(define-public go-github-com-chzyer-logex + (package + (name "go-github-com-chzyer-logex") + (version "1.2.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/chzyer/logex") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0c9yr3r7dl3lcs22cvmh9iknihi9568wzmdywmc2irkjdrn8bpxw")) + (patches (search-patches + "go-github-com-chzyer-logex-fix-tests.patch")))) + (build-system go-build-system) + (arguments + (list #:import-path "github.com/chzyer/logex")) + (home-page "https://github.com/chzyer/logex") + (synopsis "Golang log library") + (description "A Golang log library that supports tracing and log level= s +that works by wrapping the standard log library.") + (license license:expat))) + (define-public go-github-com-blanu-dust (package (name "go-github-com-blanu-dust") diff --git a/gnu/packages/patches/go-github-com-chzyer-logex-fix-tests.patc= h b/gnu/packages/patches/go-github-com-chzyer-logex-fix-tests.patch new file mode 100644 index 0000000000..2a9b7a228b --- /dev/null +++ b/gnu/packages/patches/go-github-com-chzyer-logex-fix-tests.patch @@ -0,0 +1,28 @@ +From bb4921ff5ab77a047ae46d3da0f35abbe3f01f41 Mon Sep 17 00:00:00 2001 +From: Fries +Date: Fri, 4 Aug 2023 20:06:20 -0700 +Subject: [PATCH] fix logex tests + +--- + logex_test.go | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/logex_test.go b/logex_test.go +index e6027f2..4c07d45 100644 +--- a/logex_test.go ++++ b/logex_test.go +@@ -46,9 +46,9 @@ func TestLogex(t *testing.T) { +=20 + =09except :=3D []string{ + =09=09".test:logex_test.go:19]aa", +-=09=09".test:logex_test.go:20][INFO] b", ++=09=09".TestLogex:logex_test.go:42][INFO] b", + =09=09".test:logex_test.go:21][INFO] c", +-=09=09".test:logex_test.go:22][ERROR] ec", ++=09=09".TestLogex:logex_test.go:42][ERROR] ec", + =09=09".(*S).hello:logex_test.go:11][WARN] warn in hello", + =09} +=20 +--=20 +2.41.0 + --=20 2.41.0