From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id wMGVFYQow1+KHAAA0tVLHw (envelope-from ) for ; Sun, 29 Nov 2020 04:50:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id oBZ+EYQow184RAAAbx9fmQ (envelope-from ) for ; Sun, 29 Nov 2020 04:50:12 +0000 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 0ED3F940416 for ; Sun, 29 Nov 2020 04:50:12 +0000 (UTC) Received: from localhost ([::1]:40554 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjEf4-0007jA-VD for larch@yhetil.org; Sat, 28 Nov 2020 23:50:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37552) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjEew-0007iq-1p for guix-patches@gnu.org; Sat, 28 Nov 2020 23:50:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37951) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kjEev-0001th-QB for guix-patches@gnu.org; Sat, 28 Nov 2020 23:50:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kjEev-00050r-NP for guix-patches@gnu.org; Sat, 28 Nov 2020 23:50:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44939] [PATCH 1/4] gnu: Add go-github-com-nwidger-jsoncolor. Resent-From: Joseph LaFreniere Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Nov 2020 04:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44939 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44939@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160662537119226 (code B ref -1); Sun, 29 Nov 2020 04:50:01 +0000 Received: (at submit) by debbugs.gnu.org; 29 Nov 2020 04:49:31 +0000 Received: from localhost ([127.0.0.1]:49497 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjEeR-000502-Bx for submit@debbugs.gnu.org; Sat, 28 Nov 2020 23:49:31 -0500 Received: from lists.gnu.org ([209.51.188.17]:39964) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjEeM-0004zr-VG for submit@debbugs.gnu.org; Sat, 28 Nov 2020 23:49:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37486) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjEeM-0007gu-M5 for guix-patches@gnu.org; Sat, 28 Nov 2020 23:49:26 -0500 Received: from mx.kolabnow.com ([95.128.36.40]:54156) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjEeK-0001gl-4o for guix-patches@gnu.org; Sat, 28 Nov 2020 23:49:25 -0500 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out003.mykolab.com (Postfix) with ESMTP id 171134050D for ; Sun, 29 Nov 2020 05:49:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-type:content-type:mime-version:date:date:message-id :subject:subject:from:from:received:received:received; s= dkim20160331; t=1606625360; x=1608439761; bh=acEFVxfuub1AyLoxrXB O0vMfx3ID030NwGytqFqNLzE=; b=UGNAcGHh9rQElI2xncIWuh5fu2kd5QBOskO aPu3sDbW4Cunk6tBwLafE/RHj0p8ayG1O0A31csh6qvmf+8h0frwm5aE6I/fFw3l 7IkAb2naHffxyRCGpcS/njEYAeLL9FsB9ovx/Jpqr+8vE1Nv74Pvv800h6UMbk4j r9tXcLuLRHua2MAaIX4SDV171b1KmTc7Ya4+efvmhdd3E4wp22454V80jhsgTIqM m3rRYIxgaqm6spsr3qyjFhxQ9Ibq4/rcQ0PDjXt8vgic4HOWvSFTVC62vZi/Og7Z BFQVTUFp3Dv0Y7fMVBn9ol35hJYvxgv6Q13mT6BGN+syqFGcKxpCJsZBS03qhU7m bf/LM1f4F/TLOjrsyXKRSOraz+AKySoShYo46PAAOsfYB89rhKqRkC/HqVBq60Xn WdwP2rd8jkEy2foBjzG9MtkmeOVpzwbx0G+zkH/Z2TYJp3EAgEAJgIiMOj4Fm4Qs lGCVRnL10NL9oFFPS6+P+RIfpH9gMmm00UlSkhphbrsMf+hN+M9wlUX0XKLHX9F1 ynkpZ2+KFxqW+iqlU3xc8G6phFuQ/j689SyZmDKIFAAO14n25Z19FfknIRgES5s9 cpqLC7kFBlkd2FYc10AMDYhBA17e7imIlPvPFS10hh/vELIPjPWoZYf7ZsAOxRjL GAJxmu6o= X-Virus-Scanned: amavisd-new at mykolab.com X-Spam-Score: -1.899 Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out003.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6t74yD0rGUwV for ; Sun, 29 Nov 2020 05:49:20 +0100 (CET) Received: from int-mx001.mykolab.com (unknown [10.9.13.1]) by ext-mx-out003.mykolab.com (Postfix) with ESMTPS id F363F400B4 for ; Sun, 29 Nov 2020 05:49:18 +0100 (CET) Received: from ext-subm001.mykolab.com (unknown [10.9.6.1]) by int-mx001.mykolab.com (Postfix) with ESMTPS id D7CAB49C for ; Sun, 29 Nov 2020 05:49:17 +0100 (CET) From: Joseph LaFreniere Message-ID: <87tut8dayd.fsf@lafreniere.xyz> Date: Sat, 28 Nov 2020 22:49:14 -0600 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=95.128.36.40; envelope-from=joseph@lafreniere.xyz; helo=mx.kolabnow.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FROM_SUSPICIOUS_NTLD=0.498, FROM_SUSPICIOUS_NTLD_FP=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.1 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: 0.1 (/) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.27 X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=kolabnow.com header.s=dkim20160331 header.b=UGNAcGHh; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-TUID: PCww1F4n/okd --=-=-= Content-Type: text/plain; format=flowed Patch file attached. -- Joseph LaFreniere --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-Add-go-github-com-nwidger-jsoncolor.patch >From 1db67f6b7cac25a16913776431c4d3bf97ba1c9f Mon Sep 17 00:00:00 2001 From: Joseph LaFreniere Date: Sat, 28 Nov 2020 22:25:35 -0600 Subject: [PATCH 1/4] gnu: Add go-github-com-nwidger-jsoncolor. * gnu/packages/golang.scm (go-github-com-nwidger-jsoncolor): New variable. --- gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 92533cfd50..72f43efd8a 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -5134,6 +5134,33 @@ style your output, without you having to deal with all kinds of weird ANSI escape sequences and color conversions.") (license license:expat))) +(define-public go-github-com-nwidger-jsoncolor + (package + (name "go-github-com-nwidger-jsoncolor") + (version "0.3.0") + (home-page "https://github.com/nwidger/jsoncolor") + (source + (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "13rd146pnj7qm70r1333gyd1f61x40nafxlpvdxlci9h7mx8c5p8")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/nwidger/jsoncolor")) + (native-inputs + `(("go-github-com-fatih-color" ,go-github-com-fatih-color))) + (synopsis "Colorized JSON marshalling and encoding") + (description + "@code{jsoncolor} is a drop-in replacement for @code{encoding/json}'s +@code{Marshal} and @code{MarshalIndent} functions and @code{Encoder} type +which produce colorized output using github.com/fatih/color.") + (license license:expat))) + (define-public go-github-com-olekukonko-tablewriter (package (name "go-github-com-olekukonko-tablewriter") -- 2.29.2 --=-=-=--