From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6FhxEVmnG2PB+AAAbAwnHQ (envelope-from ) for ; Fri, 09 Sep 2022 22:51:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id QPyKEFmnG2PXAQAAG6o9tA (envelope-from ) for ; Fri, 09 Sep 2022 22:51:37 +0200 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 04DCF10800 for ; Fri, 9 Sep 2022 22:51:37 +0200 (CEST) Received: from localhost ([::1]:46176 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oWkyO-0005CN-3g for larch@yhetil.org; Fri, 09 Sep 2022 16:51:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41000) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oWkxs-0003w3-Kn for guix-patches@gnu.org; Fri, 09 Sep 2022 16:51:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47054) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oWkxs-00036J-Cz for guix-patches@gnu.org; Fri, 09 Sep 2022 16:51:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oWkxs-0004cY-A5 for guix-patches@gnu.org; Fri, 09 Sep 2022 16:51:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55903] [PATCH v9 05/42] gnu: Add go-github-com-riywo-loginshell. Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 09 Sep 2022 20:51:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55903 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55903@debbugs.gnu.org Cc: "\(unmatched-parenthesis" Received: via spool by 55903-submit@debbugs.gnu.org id=B55903.166275663317445 (code B ref 55903); Fri, 09 Sep 2022 20:51:04 +0000 Received: (at 55903) by debbugs.gnu.org; 9 Sep 2022 20:50:33 +0000 Received: from localhost ([127.0.0.1]:35690 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oWkxM-0004X8-AR for submit@debbugs.gnu.org; Fri, 09 Sep 2022 16:50:32 -0400 Received: from knopi.disroot.org ([178.21.23.139]:56854) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oWkxC-0004UR-DO for 55903@debbugs.gnu.org; Fri, 09 Sep 2022 16:50:23 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id B583549FAC; Fri, 9 Sep 2022 22:50:18 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with UTF8SMTP id bPNKcRDh962n; Fri, 9 Sep 2022 22:50:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1662756614; bh=Yh6P9QLHfgg0Pv2b5lF+2yFEY7Da2802j+y4oo2WeTA=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=RUpSHMiErForb+LWzQwkghlhSgNJByvGwnbwN5f6LquzCWS6W2udQfo68CzbsYYEV hAc623vnCL7w+Y9kPeSz3wvk6qsdTAohDE6MznHs7aokxmGcHBqqT0SgdjXSFqMAGZ 1csaCynWKybS12VkO68rqF470IzUKJTw+AIpuE+Z3ZfvMWoweD0Rmf3rGpMGxFFaem GlQ3PibU7zkGuXNbbvEVLRG42XBbaeiXv/dI/EFOZdhygoFOEd1qmhB+haQwuzvzCC H1mk4gjIlhVu/9qVG+uLDxGuUsfKtVRZDILQxBb49cc7wMNpRe8m3Dd/AA4x9tHlvu UPZCMlJV4RPtQ== Date: Fri, 9 Sep 2022 21:49:29 +0100 Message-Id: <20220909205006.13937-5-paren@disroot.org> In-Reply-To: <20220909205006.13937-1-paren@disroot.org> References: <20220909205006.13937-1-paren@disroot.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit 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" Reply-to: "\(" X-ACL-Warn: , "\( via Guix-patches" From: "\( via Guix-patches" via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1662756697; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: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=9A9erRuAaWcgflCn9NktydwslImhSXf9wyW45DFFwAg=; b=UJZe+TjXGbw2CRAL55pxlnUfGnqBzcP8jlAxbBP3RBpxAbLjFRMKVcaS26T93U2N+dNLf3 A1t7HEsIKHVNkIM+v0VatIfZeaR5/STHtLBR30hHrbwfluGHx5KUXbHikC8KecRMlJVJlo ekFk/oNF8FvfDKvi/xDjB+Zvt0tackUutRAxczaWPoA/3riEQYa4FtlAD43C44/r8uj620 NnRVBaO/ixicl8DN4hqxNieFqbVoRYAxt8Pg5NqGZyXqogr7nmGYqR8mzujhy8S50HUUr2 S3XuLJQvla6GgvxfLiP8RWOMOsSYjz3lOh2xBZQYjcE0LXdQ2olwVjjacSrKng== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662756697; a=rsa-sha256; cv=none; b=Lhvdc0Ca22IUaqodWv2aUQH34y3wuDL8sUwFM6zu1qNLIWv03cRqFqycRRRfkeEv1udwTR RE6fOQvlZWd+xqQHYCC5WhZjH3VR7grqVB0LB0LV4L/pzY6k/l/dajEbACateVSgfKEYcm /Ieua/LkmsNU7jPYdxey0wJIii3JHLjMmLaGw9xwMssFvtjwTM631YwuL8fvA+OOp0d2/K vGTn5Zk8tmpxURZKFXCcr0VJeT+tU+jN5YOCngNQy3JkVicfxPqktImAn9tWFmM1ZGbwRr uNNOznVmLjQzXtxcpNPJdFVnvqr7yLyha/5GgYT3O5dqtc7UVD2QkbaI1thtwA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=RUpSHMiE; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -0.80 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=RUpSHMiE; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 04DCF10800 X-Spam-Score: -0.80 X-Migadu-Scanner: scn0.migadu.com X-TUID: 5uOeX6J7uEhW From: "(unmatched-parenthesis" * gnu/packages/golang.scm (go-github-com-riywo-loginshell): 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 1096c71c1a..72d119f041 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -10146,3 +10146,29 @@ (define-public go-github-com-xo-terminfo (description "The terminfo package implements terminfo database reading for Go.") (license license:expat))) + +(define-public go-github-com-riywo-loginshell + (package + (name "go-github-com-riywo-loginshell") + (version "0.0.0-20200815045211-7d26008be1ab") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/riywo/loginshell") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "138yvis6lipw9x02jyiz7472bxi20206bcfikcar54i3xsww9q4i")))) + (build-system go-build-system) + (arguments + (list #:import-path "github.com/riywo/loginshell" + ;; Tests try to get the current user's login shell; the build + ;; user doesn't have one. + #:tests? #f)) + (home-page "https://github.com/riywo/loginshell") + (synopsis "Get the user's login shell in Go") + (description + "The loginshell package provides a Go library to get the login shell +of the current user.") + (license license:expat))) -- 2.37.3