From patchwork Thu Apr 1 08:02:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xinglu Chen X-Patchwork-Id: 28268 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 E1CED27BC67; Thu, 1 Apr 2021 09:07:21 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id E822927BC65 for ; Thu, 1 Apr 2021 09:07:20 +0100 (BST) Received: from localhost ([::1]:49370 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRsMK-0000IW-4R for patchwork@mira.cbaines.net; Thu, 01 Apr 2021 04:07:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60512) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRsIF-0003yk-Hg for guix-patches@gnu.org; Thu, 01 Apr 2021 04:03:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44638) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lRsIF-0000sF-A4 for guix-patches@gnu.org; Thu, 01 Apr 2021 04:03:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lRsIF-0007qk-7E for guix-patches@gnu.org; Thu, 01 Apr 2021 04:03:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47539] [PATCH 06/28] gnu: Add go-github-com-alecaivazis-survey-v2. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 01 Apr 2021 08:03:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47539 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47539@debbugs.gnu.org Received: via spool by 47539-submit@debbugs.gnu.org id=B47539.161726415129870 (code B ref 47539); Thu, 01 Apr 2021 08:03:07 +0000 Received: (at 47539) by debbugs.gnu.org; 1 Apr 2021 08:02:31 +0000 Received: from localhost ([127.0.0.1]:56130 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRsHe-0007lh-Rd for submit@debbugs.gnu.org; Thu, 01 Apr 2021 04:02:31 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:54298 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRsHd-0007kw-CY for 47539@debbugs.gnu.org; Thu, 01 Apr 2021 04:02:29 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1617264143; bh=i8YLyNzvXdDnfEotvTKXErAZf6cLxgf32ivLmwaJjc4=; h=From:To:Subject:In-Reply-To:References:Date; b=A1hRODWaqYNWmyg/r1YGE9VEZOFG4Jf7gwEfcT1MVEhkD1M7pFNJMeiHQFRUVVGn2 3cATb2/w09W5ggOSTVuDfV/TwbTXNLrFQqwPWg4FWnAFpeyEmNZo1LdmvJHoxCKLao MVfmUU8ovXLTbR4GatSI9WNc6TKzYGtqambfU9Og= In-Reply-To: References: Message-Id: Date: Thu, 01 Apr 2021 10:02:23 +0200 MIME-Version: 1.0 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-alecaivazis-survey-v2): New variable. --- gnu/packages/golang.scm | 49 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index e2ab99a334..80befc8c45 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -62,6 +62,7 @@ #:use-module (gnu packages pkg-config) #:use-module (gnu packages pulseaudio) #:use-module (gnu packages textutils) + #:use-module ((gnu packages syncthing) #:select (go-github-com-kballard-go-shellquote)) #:use-module (gnu packages tls) #:use-module (gnu packages web) #:use-module (ice-9 match) @@ -7137,3 +7138,51 @@ manage process lifecycle. This package only focuses on expecting output and sending input through it's pseudoterminal.") (license license:asl2.0))) +(define-public go-github-com-alecaivazis-survey-v2 + (package + (name "go-github-com-alecaivazis-survey-v2") + (version "2.2.9") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/AlecAivazis/survey.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1jw4ka44q7a2885fil4qnb56mdlixmy5ysd68i5h5dblbq4r61l1")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/AlecAivazis/survey")) + (native-inputs + `(("go-golang-org-x-text" ,go-golang-org-x-text) + ("go-golang-org-x-sys" ,go-golang-org-x-sys) + ("go-golang-org-x-crypto" + ,go-golang-org-x-crypto) + ("go-github-com-stretchr-testify" + ,go-github-com-stretchr-testify) + ("go-github-com-pmezard-go-difflib" + ,go-github-com-pmezard-go-difflib) + ("go-github-com-mgutz-ansi" + ,go-github-com-mgutz-ansi) + ("go-github-com-mattn-go-isatty" + ,go-github-com-mattn-go-isatty) + ("go-github-com-mattn-go-colorable" + ,go-github-com-mattn-go-colorable) + ("go-github-com-kr-pty" ,go-github-com-kr-pty) + ("go-github-com-kballard-go-shellquote" + ,go-github-com-kballard-go-shellquote) + ("go-github-com-hinshun-vt10x" + ,go-github-com-hinshun-vt10x) + ("go-github-com-davecgh-go-spew" + ,go-github-com-davecgh-go-spew) + ("go-github-com-netflix-go-expect" + ,go-github-com-netflix-go-expect))) + (home-page + "https://github.com/AlecAivazis/survey") + (synopsis "Build interactive prompts on terminals") + (description "This is a library for building interactive prompts on +terminals supporting ANSI escape sequences.") + (license license:expat))) +