From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:42544) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iFPrb-0004Vj-4p for guix-patches@gnu.org; Tue, 01 Oct 2019 17:39:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iFPrZ-0001rA-Es for guix-patches@gnu.org; Tue, 01 Oct 2019 17:39:18 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54514) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iFPrX-0001q5-Mx for guix-patches@gnu.org; Tue, 01 Oct 2019 17:39:17 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iFPrV-0007Iu-BU for guix-patches@gnu.org; Tue, 01 Oct 2019 17:39:15 -0400 Subject: [bug#37444] [PATCH v4 19/24] added go package go-git-sr-ht-sircmpwn-getopt Resent-Message-ID: From: Martin Becze Date: Tue, 1 Oct 2019 17:37:21 -0400 Message-Id: <20191001213726.21676-19-mjbecze@riseup.net> In-Reply-To: <20191001213726.21676-1-mjbecze@riseup.net> References: <20191001213726.21676-1-mjbecze@riseup.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 37444@debbugs.gnu.org Cc: Martin Becze * gnu/packages/golang.scm (go-git-sr-ht-sircmpwn-getopt): added package --- gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 9fcf8d8b49..fb85c4f5b7 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -4162,3 +4162,30 @@ quoting, commenting, and escaping.") (synopsis "A golang library to get the login shell of the current user") (description "A golang library to get the login shell of the current user.") (license license:expat)))) + +(define-public go-git-sr-ht-sircmpwn-getopt + (let ((commit "daaf1274538b02b41238d1e6c219186c76af3b8c") + (url "https://git.sr.ht/~sircmpwn/getopt")) + (package + (name "go-git-sr-ht-sircmpwn-getopt") + (version (git-version "0.0.0" "0" commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url url) + (commit commit))) + (sha256 + (base32 + "0qf9kmzs3h4vzcbc1ha0z68ivckzvl7jq9jwb8rbbaq0d1a6baq7")) + (file-name (git-file-name name version)))) + (build-system go-build-system) + (arguments + '(#:import-path "git.sr.ht/~sircmpwn/getopt")) + (native-inputs + `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify))) + (home-page url) + (synopsis "A POSIX-compatible getopt implementation for Go") + (description "A POSIX-compatible getopt implementation for Go, because + POSIX getopt is The Correct Way to interpret arguments to command line utilities.") + (license license:expat)))) -- 2.23.0