From patchwork Mon Apr 19 15:22:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xinglu Chen X-Patchwork-Id: 28661 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 D8E9527BC6C; Mon, 19 Apr 2021 16:23:44 +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=unavailable 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 28B4F27BC79 for ; Mon, 19 Apr 2021 16:23:40 +0100 (BST) Received: from localhost ([::1]:48942 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lYVkR-0005kM-4z for patchwork@mira.cbaines.net; Mon, 19 Apr 2021 11:23:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51664) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYVjt-0005LM-6P for guix-patches@gnu.org; Mon, 19 Apr 2021 11:23:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40124) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lYVjs-0004bE-V7 for guix-patches@gnu.org; Mon, 19 Apr 2021 11:23:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lYVjs-0000yF-Oh for guix-patches@gnu.org; Mon, 19 Apr 2021 11:23:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47539] [PATCH v3 04/25] gnu: Add go-github-com-netflix-go-expect. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 19 Apr 2021 15:23:04 +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.16188457593591 (code B ref 47539); Mon, 19 Apr 2021 15:23:04 +0000 Received: (at 47539) by debbugs.gnu.org; 19 Apr 2021 15:22:39 +0000 Received: from localhost ([127.0.0.1]:51650 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYVjT-0000vl-09 for submit@debbugs.gnu.org; Mon, 19 Apr 2021 11:22:39 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:57402 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYVjG-0000uv-DP for 47539@debbugs.gnu.org; Mon, 19 Apr 2021 11:22:38 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1618845740; bh=eFmHRnbz/dsc/MYDkL5hrAvH+IzKbZJEK2o7yeGpcr0=; h=From:To:Subject:In-Reply-To:References:Date; b=W9PEiukntq2XOhOY96dpJMoUg4GFW524THE1t2eb0UFG9vyZ5Zdi5ydnyjt9WLQ+J T/ClQwVYYCK+mpwk+rlyok7l5/rpng6JFY8UpBpHGhYV+Nq179GaxH8ZkA+2DriADh mY6TJH9f5Y3IzgqVGymJgBOTKwAFdmtkDzucURV4= In-Reply-To: References: Message-Id: <23431b1aa96a955f07cf5285842345c1106d39fc.1618845645.git.public@yoctocell.xyz> Date: Mon, 19 Apr 2021 17:22:20 +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-netflix-go-expect): 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 0ff2d61740..91f853c105 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -7105,3 +7105,33 @@ larged been influenced by st, rxvt, xterm, and iTerm as reference.") (description "Pty is a Go package for using Unix pseudo-terminals.") (license license:expat)))) +(define-public go-github-com-netflix-go-expect + (package + (name "go-github-com-netflix-go-expect") + (version "0.0.0-20201125194554-85d881c3777e") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Netflix/go-expect.git") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "01s59hsdwy2nngngcgzyhncys56pdgzr6lff7k8kjrh26zk6pdv5")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/Netflix/go-expect")) + (native-inputs + `(("go-github-com-stretchr-testify" + ,go-github-com-stretchr-testify) + ("go-github-com-kr-pty" ,go-github-com-kr-pty))) + (home-page + "https://github.com/Netflix/go-expect") + (synopsis "Expect-like library to automate control of terminal programs") + (description "This package provides an expect-like interface to automate +control of applications. It is unlike expect in that it does not spawn or +manage process lifecycle. This package only focuses on expecting output and +sending input through it's pseudoterminal.") + (license license:asl2.0))) +