From patchwork Wed Feb 10 21:54:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Stefan_Reich=C3=B6r?= X-Patchwork-Id: 26992 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 E673E27BC26; Wed, 10 Feb 2021 21:57:47 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8953727BC25 for ; Wed, 10 Feb 2021 21:57:47 +0000 (GMT) Received: from localhost ([::1]:33890 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l9xUY-0007aG-Pt for patchwork@mira.cbaines.net; Wed, 10 Feb 2021 16:57:46 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52548) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9xRv-0006EN-NJ for guix-patches@gnu.org; Wed, 10 Feb 2021 16:55:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:45788) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l9xRv-0005ML-5p for guix-patches@gnu.org; Wed, 10 Feb 2021 16:55:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l9xRv-00040H-3b for guix-patches@gnu.org; Wed, 10 Feb 2021 16:55:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46431] [PATCH 2/3] gnu: Add go-github-com-shazow-rateio. Resent-From: Stefan =?utf-8?q?Reich=C3=B6r?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 10 Feb 2021 21:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46431 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46431@debbugs.gnu.org Cc: Stefan =?utf-8?q?Reich=C3=B6r?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161299406915317 (code B ref -1); Wed, 10 Feb 2021 21:55:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 Feb 2021 21:54:29 +0000 Received: from localhost ([127.0.0.1]:57329 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9xRN-0003yt-5A for submit@debbugs.gnu.org; Wed, 10 Feb 2021 16:54:29 -0500 Received: from lists.gnu.org ([209.51.188.17]:60470) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9xRK-0003ye-Be for submit@debbugs.gnu.org; Wed, 10 Feb 2021 16:54:28 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52372) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9xRK-0005xL-37 for guix-patches@gnu.org; Wed, 10 Feb 2021 16:54:26 -0500 Received: from dd3624.kasserver.com ([85.13.130.11]:45820) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9xRD-00058c-NM for guix-patches@gnu.org; Wed, 10 Feb 2021 16:54:25 -0500 Received: from localhost (217-149-162-201.nat.highway.telekom.at [217.149.162.201]) by dd3624.kasserver.com (Postfix) with ESMTPA id 1F3E35D43DF1; Wed, 10 Feb 2021 22:54:15 +0100 (CET) From: Stefan =?utf-8?q?Reich=C3=B6r?= Date: Wed, 10 Feb 2021 22:54:03 +0100 Message-Id: <20210210215404.209053-2-stefan@xsteve.at> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210210215404.209053-1-stefan@xsteve.at> References: <20210210215404.209053-1-stefan@xsteve.at> MIME-Version: 1.0 Received-SPF: none client-ip=85.13.130.11; envelope-from=stefan@xsteve.at; helo=dd3624.kasserver.com X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-shazow-rateio): New variable. --- gnu/packages/golang.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 7c0d373a8b..897a5d0d35 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -1926,6 +1926,30 @@ applications as well as a program to generate applications and command files.") (description "Several logging packages for Go") (license license:expat)))) +(define-public go-github-com-shazow-rateio + (let ((commit "4461efc8bdc4508e5ec6ac78fa2ff26d062ae678") + (revision "0")) + (package + (name "go-github-com-shazow-rateio") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/shazow/rateio") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1isy75cmm71q18mvs6xaizgdjqnn6pllkj4yvd42brfgfj84qz0w")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/shazow/rateio")) + (home-page "https://github.com/shazow/rateio") + (synopsis "Ratelimiting for io-style interfaces in Go") + (description "Ratelimiting for io-style interfaces in Go") + (license license:expat)))) + (define-public go-github-com-spf13-pflag (package (name "go-github-com-spf13-pflag")