From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 01 04:02:12 2021 Received: (at 47539) by debbugs.gnu.org; 1 Apr 2021 08:02:12 +0000 Received: from localhost ([127.0.0.1]:56096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRsHM-0007iw-Jw for submit@debbugs.gnu.org; Thu, 01 Apr 2021 04:02:12 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:54210 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRsHL-0007iJ-49 for 47539@debbugs.gnu.org; Thu, 01 Apr 2021 04:02:11 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1617264123; bh=nzOxcv/w2w0M2ic37vxno890md0MRE0BZ+W1FtceZTo=; h=From:To:Subject:In-Reply-To:References:Date; b=I+v6Cay9i3ZpV08kBE10m0k4edb/JyTqXYpfKKzp2Chh6odFjH/I/6IVbF+3pnX+k QhPwd0emu7V3oxilmSHPdB+eXGgu+PGRVTwAv1M8VehrjW0BP0QiNEae8qKBaxj0za XvXG25Vf6XNI6a6ke8uKCzRD3SqoICi7UCKaRxbI= To: 47539@debbugs.gnu.org Subject: [PATCH 22/28] gnu: Add go-github-com-mattn-go-runewidth. In-Reply-To: References: Message-Id: Date: Thu, 01 Apr 2021 10:02:03 +0200 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/golang.scm (go-github-com-mattn-go-runewidth): New variable. --- gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 3738e207b4..a9ab18c77c 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -7608,3 +7608,29 @@ command written in [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS X-Debbugs-Envelope-To: 47539 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.9 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/golang.scm (go-github-com-mattn-go-runewidth): New variable. --- gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 3738e207b4..a9ab18c77c 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -7608,3 +7608,29 @@ command written in [...] Content analysis details: (1.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS * gnu/packages/golang.scm (go-github-com-mattn-go-runewidth): New variable. --- gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 3738e207b4..a9ab18c77c 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -7608,3 +7608,29 @@ command written in Go language. It is also embedable as a library to other Go projects.") (license license:expat))) +(define-public go-github-com-mattn-go-runewidth + (package + (name "go-github-com-mattn-go-runewidth") + (version "0.0.10") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mattn/go-runewidth.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0jh9552ppqvkdfni7x623n0x5mbiaqqhjhmr0zkh28x56k4ysii4")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/mattn/go-runewidth")) + (native-inputs + `(("go-github-com-rivo-uniseg" + ,go-github-com-rivo-uniseg))) + (home-page "https://github.com/mattn/go-runewidth") + (synopsis "Functions to get fixed width of the character or string") + (description "This package provides functions to get fixed width of the +character or string.") + (license license:expat))) + -- 2.31.1