From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +EtEEyAVFmJsmAAAgWs5BA (envelope-from ) for ; Wed, 23 Feb 2022 12:06:08 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id mF0sECAVFmJRDAEAauVa8A (envelope-from ) for ; Wed, 23 Feb 2022 12:06:08 +0100 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 C980647240 for ; Wed, 23 Feb 2022 12:06:07 +0100 (CET) Received: from localhost ([::1]:32870 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nMpTC-0006im-Tg for larch@yhetil.org; Wed, 23 Feb 2022 06:06:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40788) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nMovG-0000QX-OD for guix-patches@gnu.org; Wed, 23 Feb 2022 05:31:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:50015) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nMovG-0007fP-F6 for guix-patches@gnu.org; Wed, 23 Feb 2022 05:31:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nMovG-0007Gg-7A for guix-patches@gnu.org; Wed, 23 Feb 2022 05:31:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54123] [PATCH 2/5] gnu: Add go-github-com-niemeyer-pretty. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 23 Feb 2022 10:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54123 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54123@debbugs.gnu.org Cc: Efraim Flashner Received: via spool by 54123-submit@debbugs.gnu.org id=B54123.164561223727904 (code B ref 54123); Wed, 23 Feb 2022 10:31:02 +0000 Received: (at 54123) by debbugs.gnu.org; 23 Feb 2022 10:30:37 +0000 Received: from localhost ([127.0.0.1]:43912 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMouq-0007G0-Sh for submit@debbugs.gnu.org; Wed, 23 Feb 2022 05:30:37 -0500 Received: from flashner.co.il ([178.62.234.194]:39416) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMoup-0007Fm-31 for 54123@debbugs.gnu.org; Wed, 23 Feb 2022 05:30:35 -0500 Received: from localhost (unknown [31.210.181.166]) by flashner.co.il (Postfix) with ESMTPSA id 3BA6F40233; Wed, 23 Feb 2022 10:30:29 +0000 (UTC) From: Efraim Flashner Date: Wed, 23 Feb 2022 12:29:11 +0200 Message-Id: <98ccc56c6c203acd07dcb8ec0a81c0a39db622b9.1645611835.git.efraim@flashner.co.il> X-Mailer: git-send-email 2.34.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1645614367; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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; bh=5B6afL2JEmvDeeVmbYL70g3OiM/kFmajRXN0addZPtg=; b=RLy8/FxDgO7eKCHrw7ehRIjWUmNeRIP/0QISUN5u/bbc9jCz0lJ9lHV7qHcWApAi8r6Ray jYxBqeXxlrWZKErGm42jh9hKuaJWig6tgCfY6cgxPA+pnucbh9TXz+IIm6Lml5kStu7gnL zxAdPXcYPVxrWQQpspLKH5YVFlj6SKDUcmUV58WYrqbEY+gvj+4LdbqXWPIHBFONkxBzH1 h1tkGZtksydSqa724tzCTQahduEKqkUtRDfFzTPb4H8QVXDCy8QUK06op/geM5TJBmPON8 6QIX6ky4MtM5CgXyZP6n3QT6/Rz1E6qlPgTkdFMrlZg+fnkg9yjSpO1jOGTXJA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645614367; a=rsa-sha256; cv=none; b=SK/xlLfAijDfmWiNZ71eu6gcb7qyqMn6slc7OO4iROChy5rxX0qUIHQutIKgVoP5iVuyKT Qy90lKxzgO4kY52K6CeFodHzTKg2S2EJop+u22sAASSMWBTMd04IZJWo+MwBpZuNsHrP6z Ra9aWhTsCgRDjgBlt7FP5UPwxPAV1sl0NDMKSZ81GrPzAPyib7FujedA/GI0PFr+P81gei OG5DdvuGzAK6Oyx9JFbLmca9BZE3nPzr8OgLr8epD3GGnhOwzrTWzbOivw914PQu/ktphI 38wKN/1/tdBpMFO3oWQkLaLnHjWZT6BeJgFRdwZiTzhplL4aQnECXecJ8j5WBg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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" X-Migadu-Spam-Score: -1.63 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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" X-Migadu-Queue-Id: C980647240 X-Spam-Score: -1.63 X-Migadu-Scanner: scn1.migadu.com X-TUID: QYziBg9o1l12 * gnu/packages/golang.scm (go-github-com-niemeyer-pretty): New variable. --- gnu/packages/golang.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index e1d9d1fcde..95ef87385a 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -5511,6 +5511,36 @@ (define-public go-github-com-kr-pretty (home-page "https://github.com/kr/pretty") (license license:expat))) +(define-public go-github-com-niemeyer-pretty + (package + (name "go-github-com-niemeyer-pretty") + (version "0.0.0-20200227124842-a10e7caefd8e") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/niemeyer/pretty") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1jmazh4xzaa3v6g46hz60q2z7nmqs9l9cxdzmmscn3kbcs2znq4v")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/niemeyer/pretty" + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-source + (lambda _ + ;; https://github.com/kr/pretty/pull/66 + (substitute* "src/github.com/niemeyer/pretty/formatter.go" + (("string\\(i\\)") "string(rune(i))"))))))) + (propagated-inputs + (list go-github-com-kr-text)) + (home-page "https://github.com/niemeyer/pretty") + (synopsis "Pretty printer for Go values") + (description "This package provides a pretty printer for Go values.") + (license license:expat))) + (define-public go-github-com-kylelemons-godebug (package (name "go-github-com-kylelemons-godebug") -- 2.34.0