From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6GypFRESZmCqNgEAgWs5BA (envelope-from ) for ; Thu, 01 Apr 2021 20:33:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id kKGWDxESZmC2SgAA1q6Kng (envelope-from ) for ; Thu, 01 Apr 2021 18:33:53 +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 E2183274F7 for ; Thu, 1 Apr 2021 20:33:52 +0200 (CEST) Received: from localhost ([::1]:35158 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lS28e-0007qY-2Y for larch@yhetil.org; Thu, 01 Apr 2021 14:33:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36202) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lS272-000635-Hb for guix-patches@gnu.org; Thu, 01 Apr 2021 14:32:12 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47106) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lS272-0004i4-6r for guix-patches@gnu.org; Thu, 01 Apr 2021 14:32:12 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lS272-0008GC-4K for guix-patches@gnu.org; Thu, 01 Apr 2021 14:32:12 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47539] [PATCH v2 17/26] gnu: Add go-github-com-itchyny-go-flags. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 01 Apr 2021 18:32:12 +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.161730191031531 (code B ref 47539); Thu, 01 Apr 2021 18:32:12 +0000 Received: (at 47539) by debbugs.gnu.org; 1 Apr 2021 18:31:50 +0000 Received: from localhost ([127.0.0.1]:58623 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lS26g-0008CU-63 for submit@debbugs.gnu.org; Thu, 01 Apr 2021 14:31:50 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:39272 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lS26f-0008BI-3r for 47539@debbugs.gnu.org; Thu, 01 Apr 2021 14:31:49 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1617301903; bh=qf1q6z25NHY7gpGlOv/jVAuzVRHTLr4n8UuqKwWFnog=; h=From:To:Subject:In-Reply-To:References:Date; b=oYgc2V0DOcoiOKc41Q4WNaZl9kMGSIOm7crLg7qWCYse7TRnXeN3mr8tHYLvgYxeG fo+2zzwFaIZSI2DIrc2pApF8eloyUJdstDfmf5Peo6UeG6QCVISvxVZsHl7YEo+sOe NloUcQpBU4NrlUg4UKhLXpTcfi8Fxp+OQalR8meI= In-Reply-To: References: Message-Id: <6f95c8dd6a62423192fa8e25cf25831b4a2b773a.1617301221.git.public@yoctocell.xyz> Date: Thu, 01 Apr 2021 20:31:43 +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=1617302033; 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=KUOCWDupWX+tU7VhJIcKgroZKS18GmfiuRC4NATwylc=; b=jQJVDibITXJ9egcySq3fuVvGZxVXKNRDxwg5sDcvG9Pv6NOOeulXjPlmYBrxc9S8txWpQZ oqUh2QsHf/k/yWmDSXLFXELx7VxPyDJ9T4YNJc+aUAovPBCSdOUmEF0t6cOUyF0/eXcY/T nClXmFwflI63Jno5aAkEnpQ+2jNazD9h0+pWH5OIHJ7VOgX2GUKf8pCgGNCmUtlWE3lI7C tX1XlHAk0ls4aNrwOyNBi0X2YtNmrPbNlBHWCl6hmQw6dnK0nRaTo8oocd+nB/laBqdgeg V+SDNxaxpm7nezPzR6SMsLidFSBh3kTvVLPr3/jAdk3+sNi24nUGAssR57kEDA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617302033; a=rsa-sha256; cv=none; b=AfRWFrXwipWGivmG7PVG8n4ucXXVJMiqrHl0inO5tzQ1xpQecZG9JR+ktdg+4MSbE2qrsW z4uP4q4Kf50Woon6PBk13YwTUuQPAusxejxTUyWL7muYGNAkoFTDoPvRB3VtCoqCBcUVYT Ut7nb1STv4eoSMok2SfUWXedWI3RBSksl4Th3O651OVq3qC8I4kK0plV4J4Zas5lHhsID3 CtC9M7B7hFafvlM8aYZ0tLBexzzi5bAvyZzqOWnfgN1wgMclAxTid2QlTpUz+Zc2t0Qvod V1jY8QIzLvzFriRvaEBetiFxGL3BE1I3mbD4dh6htFblL0+q+OHP0S8UUADL5A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=oYgc2V0D; 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=oYgc2V0D; 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: E2183274F7 X-Spam-Score: -0.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: 6ZC9fgqrqmyX * gnu/packages/golang.scm (go-github-com-itchyny-go-flags): New variable. --- gnu/packages/golang.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 0234522408..6707b15273 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -7486,3 +7486,36 @@ shell-style quoting, commenting, and escaping.") pretty on your terminal.") (license license:expat))) +(define-public go-github-com-itchyny-go-flags + (package + (name "go-github-com-itchyny-go-flags") + (version "1.5.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/itchyny/go-flags.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0qfh7gn95aldlsigk72jl87npmwvx15kb7df1100d6j0nbakd8b5")))) + (build-system go-build-system) + (arguments + '(#:import-path + "github.com/itchyny/go-flags" + ;; Unable to find man page + #:tests? #f)) + (native-inputs + `(("go-golang-org-x-sys" ,go-golang-org-x-sys))) + (home-page "https://github.com/itchyny/go-flags") + (synopsis "Go library for parsing command line arguments") + (description "This library provides similar functionality to the builtin +flag library of Go, but provides much more functionality. + +Package flags provides an extensive command line option parser. The flags +package is similar in functionality to the go builtin flag package but +provides more options and uses reflection to provide a convenient and succinct +way of specifying command line options.") + (license license:bsd-3))) + -- 2.31.1