From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id OOrRM7gRZmBrMwEAgWs5BA (envelope-from ) for ; Thu, 01 Apr 2021 20:32:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id UADILbgRZmAGCgAAB5/wlQ (envelope-from ) for ; Thu, 01 Apr 2021 18:32:24 +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 71C1B10FC5 for ; Thu, 1 Apr 2021 20:32:23 +0200 (CEST) Received: from localhost ([::1]:59410 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lS27D-00067F-5B for larch@yhetil.org; Thu, 01 Apr 2021 14:32:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36126) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lS26y-00060q-Mj for guix-patches@gnu.org; Thu, 01 Apr 2021 14:32:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47092) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lS26w-0004ee-Lx for guix-patches@gnu.org; Thu, 01 Apr 2021 14:32:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lS26w-0008EW-Jy for guix-patches@gnu.org; Thu, 01 Apr 2021 14:32:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47539] [PATCH v2 05/26] 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 18:32:06 +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.161730189931376 (code B ref 47539); Thu, 01 Apr 2021 18:32:06 +0000 Received: (at 47539) by debbugs.gnu.org; 1 Apr 2021 18:31:39 +0000 Received: from localhost ([127.0.0.1]:58586 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lS26U-00089t-NG for submit@debbugs.gnu.org; Thu, 01 Apr 2021 14:31:39 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:39166 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lS26N-00087o-TO for 47539@debbugs.gnu.org; Thu, 01 Apr 2021 14:31:32 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1617301891; bh=SBsRwNaIHu1k09RCQnvKY4mgJssVcmPYCnFixrFh9ks=; h=From:To:Subject:In-Reply-To:References:Date; b=jEDdPvLWXInE1xTINoXxaZT+LOYu0lIkQ/AT8YW5KkW9BiHE4WYeKXglqLhjtxdrQ Wqf2lw/xo2FLhvQrHwbfE7uAhBtc/Ffzrb58X76bGoRi/OsQRkusonD8Rbv7LSOmq6 AQ4exNXEPp4UnRaGR94RCnnmtX3aBQ2/MfqZrErY= In-Reply-To: References: Message-Id: <1caaa23be675d3c7d9245b5d2d3d8258d99631d9.1617301221.git.public@yoctocell.xyz> Date: Thu, 01 Apr 2021 20:31:31 +0200 MIME-Version: 1.0 Content-Type: text/plain 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617301944; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: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=AfOrYUBggmiAUFT1WJpIs59Z9ZQ6vOlGY5FN9cusVw8=; b=Fatspls/VCYiod84sBLJCV3hAjudAkG05BH4eZVsbqO+X/muld0+ilUWc5wvpx8NAchTgY e1iW1y3WOprAE9KX64er0ak2iIlxiJMVQyH91HM+U2dkM0qA0TkX4JTonz8+UP2YoVnJ/E tW0BtvrJhVidnI44hl+U+eJU0AF4ZUJjvr3n9dy+k2GEmVfhEkP8UJSvBfY0VGStlP651g jHmkB8C5kFI5ohHqzeAFaVbm8stA0XumRqAtxhOF55G0hoQ4M6Xf2bEtN/mJVeZot4yXql ZgHPYXH9bSpWLjCg6mC3M6ewFRbqugcQQn4M2z/w2KBjKHrgVvVxVs3xeamd4w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617301944; a=rsa-sha256; cv=none; b=fzTWJ/8W1x84RXBERQiYxO7kA+BgoakLjwyPGazsqGz2ITE6BPtNQNR17Z0ikrAHQNT+8t xCF5g6TYdOjPaNCCWO8vm+4YUW/GmQHm5N120XRpkHs0QPF2Z5RizfddHYNmyqywaMbnc3 v/gKQRFcbHDNS0G67JMeEvedxKIebudiugbo5UD34zmmmLRo/0wU3f6oOUhjXLG3jgagh4 1Nw0bQJPF1BI2GClayrkqwmNcmVLb51oRC5xFmsH6NhfFdJ7aCv1HJ66myjK9pjZioSZJY /tTpkZWlQ9CRYKshOxHaBXAdrDojmBUPYHcuO0wL8Hutj+KWO14VYplRQZ+3aw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=jEDdPvLW; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=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-Migadu-Spam-Score: -0.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=jEDdPvLW; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=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-Migadu-Queue-Id: 71C1B10FC5 X-Spam-Score: -0.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: S+Hz0dRH8Avm * 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 57ae6e3210..268a88e15b 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -63,6 +63,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) @@ -7136,3 +7137,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))) + -- 2.31.1