From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cBuNGY9+ZWBkCgAAgWs5BA (envelope-from ) for ; Thu, 01 Apr 2021 10:04:31 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id mGtrE49+ZWC6EgAA1q6Kng (envelope-from ) for ; Thu, 01 Apr 2021 08:04:31 +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 0DED913CED for ; Thu, 1 Apr 2021 10:04:31 +0200 (CEST) Received: from localhost ([::1]:41288 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRsJa-0005LV-4H for larch@yhetil.org; Thu, 01 Apr 2021 04:04:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60524) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRsIH-00041Z-I9 for guix-patches@gnu.org; Thu, 01 Apr 2021 04:03:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44643) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lRsIH-0000tG-9p for guix-patches@gnu.org; Thu, 01 Apr 2021 04:03:09 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lRsIH-0007rL-6p for guix-patches@gnu.org; Thu, 01 Apr 2021 04:03:09 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47539] [PATCH 11/28] gnu: Add go-github-com-cli-safeexec. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 01 Apr 2021 08:03:09 +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.161726415729947 (code B ref 47539); Thu, 01 Apr 2021 08:03:09 +0000 Received: (at 47539) by debbugs.gnu.org; 1 Apr 2021 08:02:37 +0000 Received: from localhost ([127.0.0.1]:56146 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRsHk-0007ml-Le for submit@debbugs.gnu.org; Thu, 01 Apr 2021 04:02:37 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:54334 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRsHj-0007lZ-5b for 47539@debbugs.gnu.org; Thu, 01 Apr 2021 04:02:35 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1617264149; bh=khyK5paHjQIJF/bwR/6ub7kb0k73cHdDRGRftXW9xAM=; h=From:To:Subject:In-Reply-To:References:Date; b=a/ekopdH2feBq63UKGloqC3eqhF3bYwakren/qMen3IWcIOOjArM8CyS3zso46ASM 5dPv1m1S84thVvtx951U15eY/+5ibInBiwPSO7COsRE3i+SjFA2DCjqWtBKW6MOCeA q/fRZ3v8fs5W0XzNssdjmyu13p1BBJwcSERdzD0A= In-Reply-To: References: Message-Id: <0d07c0f083ab03cfd14058365fa8434ed5421f85.1617262223.git.public@yoctocell.xyz> Date: Thu, 01 Apr 2021 10:02:29 +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=1617264271; 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=vHKT6znlkC89khgEezFLUBcsflVUBpzIXwp8S6ZkFRs=; b=JbMZHt5Nw+S8RYCC2CQdWz6RRkdLstXbRRhHu4C/rQWwY/G+5XMHex8Qrqb89KPEg3mHjb Qm3ZWRu1+bemgQmdz9Fe1rTk796wjNFzYY5TkJrO5CIeywyxUgQzaqTXHuVuL69lCPmSiT ZZTWpqBzzMmth2PAW6v5LeSGtsm7QGytW2KzuuZqMPloILp3FbtMr+CvRSJ48mTwopIN2k aY9bmMO+JN+oWcG4lhUNf+aFZpJokRpXs/FzPdwsKu6MGc8/WoDJr7zSfI67gW+gRB9cnn WpdvBrHM4UQEByPDK6u3EeifIgA+SbnxzIaoTyQ6UIXax5kNDebJPSYOmyhy1w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617264271; a=rsa-sha256; cv=none; b=Mz8XK7cKmhZCWMNPVCTO5wkWflCjcKMdrnINvzczPNJd1jEYocy+Krb1iTQxpHhJ8MUOIS /Rhzth0oWX9r1p04kNx8Es9l0hhya8d2gQq6cZf2+YDb7REnmQr7qPfbFiXddpYNHhJtAJ b2Csuy42wb7Vss1rhfUO2LVaPUOLxVI3ly5BypWNy54NwgQIO/tqbzEf7ME5sirkBR+L3i VGu7qNLD/49rrHXKd3Dvs5uWZ+02Y2dtvqXaCxjZYui6r8Z0WTeo5/WXFC72ZC6m/F8fjZ 9QSBfWGkZPRtN4VvWtJvbwgws1Q9pi3Yt0goBQFoUTR+GVrir4TxOK9LEbGEYA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b="a/ekopdH"; 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="a/ekopdH"; 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: 0DED913CED X-Spam-Score: -0.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: P+lia/aUZJl+ * gnu/packages/golang.scm (go-github-com-cli-safeexec): New variable. --- This is only used on Windows, but is needed by the 'gh' package so it is marked as hidden. gnu/packages/golang.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index a2c203dafa..9265083978 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -7290,3 +7290,28 @@ files in the system default web browser.") application flow in Go client apps.") (license license:expat))) +;; Needed by the 'gh' GitHub CLI tool +(define-public go-github-com-cli-safeexec + (hidden-package + (package + (name "go-github-com-cli-safeexec") + (version "1.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/cli/safeexec.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1q80va3721dyw33lrnv7x3gd66kcnbsm38dv3lk7xqhii2adawmk")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/cli/safeexec")) + (home-page "https://github.com/cli/safeexec") + (synopsis "Safer alternative to exec.LookPath() on Windows") + (description "This library provides a safer alternative to +@code{exec.LookPath()} on Windows.") + (license license:bsd-2)))) + -- 2.31.1