From patchwork Thu Sep 26 15:21:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Becze X-Patchwork-Id: 15463 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 841531742E; Thu, 26 Sep 2019 16:24:12 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 466BB1741F for ; Thu, 26 Sep 2019 16:24:12 +0100 (BST) Received: from localhost ([::1]:39212 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDVcp-00015b-0V for patchwork@mira.cbaines.net; Thu, 26 Sep 2019 11:24:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54017) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDVbr-00085Q-MN for guix-patches@gnu.org; Thu, 26 Sep 2019 11:23:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iDVbq-0006a5-H5 for guix-patches@gnu.org; Thu, 26 Sep 2019 11:23:11 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35545) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iDVbq-0006Zy-Et for guix-patches@gnu.org; Thu, 26 Sep 2019 11:23:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iDVbq-0004TB-9h for guix-patches@gnu.org; Thu, 26 Sep 2019 11:23:10 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#37444] [PATCH v3 18/23] added go package go-git-sr-ht-sircmpwn-getopt Resent-From: Martin Becze Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 26 Sep 2019 15:23:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37444 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37444@debbugs.gnu.org Received: via spool by 37444-submit@debbugs.gnu.org id=B37444.156951138117026 (code B ref 37444); Thu, 26 Sep 2019 15:23:10 +0000 Received: (at 37444) by debbugs.gnu.org; 26 Sep 2019 15:23:01 +0000 Received: from localhost ([127.0.0.1]:44340 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDVbh-0004QI-85 for submit@debbugs.gnu.org; Thu, 26 Sep 2019 11:23:01 -0400 Received: from mx1.riseup.net ([198.252.153.129]:43064) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDVbD-0004OW-UJ for 37444@debbugs.gnu.org; Thu, 26 Sep 2019 11:22:32 -0400 Received: from bell.riseup.net (bell-pn.riseup.net [10.0.1.178]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 46fJZb3xVVzDqlp; Thu, 26 Sep 2019 08:22:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1569511351; bh=MNiC7c2TEN6bxAu+ra9BRC071OW9MGJm1pzm+0Pv9Ns=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EKl87liVgHDm0QTTk8IB8NpdwN1M4yh7va5qz+hgXpdYoR520XKeFuLY4AHms9Ecx Az1LQvfsij0WW2LTQ+1ozoe5NpsPoXO3lR2gcu5xymrvjQWfsqvIfk7NCeO+oG8xhq pkPxTXmpQx2NiEmKv8+W3NcWzgsC30Rj+DIh+Z/Q= X-Riseup-User-ID: 9BF411B84B807C04C398C7CA93815CCED96E2FB459A677F80515298EB42C9A19 Received: from [127.0.0.1] (localhost [127.0.0.1]) by bell.riseup.net (Postfix) with ESMTPSA id 46fJZZ3CNwzJxbr; Thu, 26 Sep 2019 08:22:30 -0700 (PDT) From: Martin Becze Date: Thu, 26 Sep 2019 11:21:13 -0400 Message-Id: <20190926152118.8073-18-mjbecze@riseup.net> In-Reply-To: <20190926152118.8073-1-mjbecze@riseup.net> References: <87blv7pfdi.fsf@gnu.org> <20190926152118.8073-1-mjbecze@riseup.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Martin Becze Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches --- 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))))