From patchwork Mon Apr 4 19:31:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Dominic Martinez X-Patchwork-Id: 38313 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 8C73527BBEA; Mon, 4 Apr 2022 20:33:14 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5023027BBE9 for ; Mon, 4 Apr 2022 20:33:14 +0100 (BST) Received: from localhost ([::1]:39322 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nbSRt-0001KW-DD for patchwork@mira.cbaines.net; Mon, 04 Apr 2022 15:33:13 -0400 Received: from eggs.gnu.org ([209.51.188.92]:32778) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbSRi-0001Hj-PD for guix-patches@gnu.org; Mon, 04 Apr 2022 15:33:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59143) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nbSRi-0002J3-Gd for guix-patches@gnu.org; Mon, 04 Apr 2022 15:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nbSRi-000456-Ed for guix-patches@gnu.org; Mon, 04 Apr 2022 15:33:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54335] [PATCH v3 01/10] gnu: Add go-github-com-anmitsu-go-shlex. Resent-From: Dominic Martinez Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 04 Apr 2022 19:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54335 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54335@debbugs.gnu.org Cc: Dominic Martinez Received: via spool by 54335-submit@debbugs.gnu.org id=B54335.164910077115598 (code B ref 54335); Mon, 04 Apr 2022 19:33:02 +0000 Received: (at 54335) by debbugs.gnu.org; 4 Apr 2022 19:32:51 +0000 Received: from localhost ([127.0.0.1]:53019 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nbSRW-00043U-Oc for submit@debbugs.gnu.org; Mon, 04 Apr 2022 15:32:51 -0400 Received: from mta-06-4.privateemail.com ([198.54.122.146]:53989) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nbSRV-00043B-9o for 54335@debbugs.gnu.org; Mon, 04 Apr 2022 15:32:49 -0400 Received: from mta-06.privateemail.com (localhost [127.0.0.1]) by mta-06.privateemail.com (Postfix) with ESMTP id DCB7F18000A0; Mon, 4 Apr 2022 15:32:43 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dominicm.dev; s=default; t=1649100763; bh=teW4KQBnk31ykPsajOoK7OrRi21NSqTCVNpI83hmYDY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WFbBpS9saYmqneG5Ff9oESRq6OprUPdWWyfVi1uWRW4QLiktFieWk/yE9SdjPPIsd bCqpllk4fHnii8prDhLU1sqqUObaZahsPt1YEoIitidsDdZKhFLd7Wm77t2UD3Mc/c 3aURCa2jYlToD2GGycvKkG+n1H34iEY8ybCy7OQwh+mGRPEbWl3TYuQ6LjvJf2VAE2 z40Eb0Boz53bBnuemDQzjeqoL/uJjVjJqfTyy/4YOsNpuA5RocluWLCAwQJyFzQTVA 7LLYuS+DPHDMceAQ0A1q+k6Q5nWfRj+Hw8BbgCnAiwyLyOZDJYmCfngaRZFcg3fo42 Ws7QxlDzaLaRA== Received: from guix.wireless.duke.edu (unknown [10.20.151.184]) by mta-06.privateemail.com (Postfix) with ESMTPA id 5A75D18000AE; Mon, 4 Apr 2022 15:32:41 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dominicm.dev; s=default; t=1649100763; bh=teW4KQBnk31ykPsajOoK7OrRi21NSqTCVNpI83hmYDY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WFbBpS9saYmqneG5Ff9oESRq6OprUPdWWyfVi1uWRW4QLiktFieWk/yE9SdjPPIsd bCqpllk4fHnii8prDhLU1sqqUObaZahsPt1YEoIitidsDdZKhFLd7Wm77t2UD3Mc/c 3aURCa2jYlToD2GGycvKkG+n1H34iEY8ybCy7OQwh+mGRPEbWl3TYuQ6LjvJf2VAE2 z40Eb0Boz53bBnuemDQzjeqoL/uJjVjJqfTyy/4YOsNpuA5RocluWLCAwQJyFzQTVA 7LLYuS+DPHDMceAQ0A1q+k6Q5nWfRj+Hw8BbgCnAiwyLyOZDJYmCfngaRZFcg3fo42 Ws7QxlDzaLaRA== From: Dominic Martinez Date: Mon, 4 Apr 2022 15:31:59 -0400 Message-Id: <20220404193208.27634-2-dom@dominicm.dev> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220404193208.27634-1-dom@dominicm.dev> References: <20220404193208.27634-1-dom@dominicm.dev> MIME-Version: 1.0 X-Virus-Scanned: ClamAV using ClamSMTP 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-anmitsu-go-shlex): New variable. --- gnu/packages/golang.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index f3cc1bd6b8..3938137984 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -34,6 +34,7 @@ ;;; Copyright © 2021 Philip McGrath ;;; Copyright © 2021 Lu Hui ;;; Copyright © 2022 Pier-Hugues Pellerin +;;; Copyright © 2022 Dominic Martinez ;;; ;;; This file is part of GNU Guix. ;;; @@ -9775,3 +9776,25 @@ (define-public go-github-com-go-chi-chi-v5 "@code{go-github-com-go-chi-chi-v5} is an HTTP router that lets the user decompose request handling into many smaller layers.") (license license:expat))) + +(define-public go-github-com-anmitsu-go-shlex + (package + (name "go-github-com-anmitsu-go-shlex") + (version "0.0.0-20200514113438-38f4b401e2be") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/anmitsu/go-shlex") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "17iz68yzbnr7y4s493asbagbv79qq8hvl2pkxvm6bvdkgphj8w1g")))) + (build-system go-build-system) + (arguments '(#:import-path "github.com/anmitsu/go-shlex")) + (home-page "https://github.com/anmitsu/go-shlex") + (synopsis "Simple shell-like lexical analyzer for Go") + (description + "@code{go-github-com-anmitsu-go-shlex} provides a simple lexical +analyzer to parse shell-like commands.") + (license license:expat))) From patchwork Mon Apr 4 19:32:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dominic Martinez X-Patchwork-Id: 38312 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 4C11C27BBEA; Mon, 4 Apr 2022 20:33:14 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0688827BBE9 for ; Mon, 4 Apr 2022 20:33:14 +0100 (BST) Received: from localhost ([::1]:39292 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nbSRt-0001JO-47 for patchwork@mira.cbaines.net; Mon, 04 Apr 2022 15:33:13 -0400 Received: from eggs.gnu.org ([209.51.188.92]:32780) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbSRj-0001Ht-68 for guix-patches@gnu.org; Mon, 04 Apr 2022 15:33:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59147) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nbSRi-0002JA-Tf for guix-patches@gnu.org; Mon, 04 Apr 2022 15:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nbSRi-00045D-RJ for guix-patches@gnu.org; Mon, 04 Apr 2022 15:33:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54335] [PATCH v3 02/10] gnu: Add go-github-com-armon-go-radix. Resent-From: Dominic Martinez Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 04 Apr 2022 19:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54335 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54335@debbugs.gnu.org Cc: Dominic Martinez Received: via spool by 54335-submit@debbugs.gnu.org id=B54335.164910077415613 (code B ref 54335); Mon, 04 Apr 2022 19:33:02 +0000 Received: (at 54335) by debbugs.gnu.org; 4 Apr 2022 19:32:54 +0000 Received: from localhost ([127.0.0.1]:53024 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nbSRa-00043l-2m for submit@debbugs.gnu.org; Mon, 04 Apr 2022 15:32:54 -0400 Received: from mta-06-4.privateemail.com ([198.54.122.146]:33174) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nbSRY-00043H-5U for 54335@debbugs.gnu.org; Mon, 04 Apr 2022 15:32:52 -0400 Received: from mta-06.privateemail.com (localhost [127.0.0.1]) by mta-06.privateemail.com (Postfix) with ESMTP id 9CF1018000A1; Mon, 4 Apr 2022 15:32:46 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dominicm.dev; s=default; t=1649100766; bh=pp/5O8+cSBTQXOFLlY4JgGxma24gaatj34rlGJ+DV9s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dxDUWEn+f4uZSMMr2ezWD8FW1nDnngKeylcRADMvmfblYF0pKh1tq996qBAbcKiGU R/DycNydZwWreyF1/uU/K6KWEXmRxhIJopKACQ8TYZMEsbxBYpVkP5Z4IA8rg67Okx InqWEik0wceZUYI8TdbgiQ8VbIExMYV9yUyOi4Wab0jFlaosnZDv5RU9UarQ6CrNDb Yc8o72uMXxRvmNubV4tLPtD4Gz+BZfEolIeWyo0ugHttT/bRnrTM++T/QtqArwBA2O 1Vexz1p6WTo95620YGqRirF2wPTVOzfbqvT7szmOrUj/Z4FNA00UwGbu39IR7GGWH+ 5dT+4BmlR6USw== Received: from guix.wireless.duke.edu (unknown [10.20.151.184]) by mta-06.privateemail.com (Postfix) with ESMTPA id 0A8B318000A8; Mon, 4 Apr 2022 15:32:43 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dominicm.dev; s=default; t=1649100766; bh=pp/5O8+cSBTQXOFLlY4JgGxma24gaatj34rlGJ+DV9s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dxDUWEn+f4uZSMMr2ezWD8FW1nDnngKeylcRADMvmfblYF0pKh1tq996qBAbcKiGU R/DycNydZwWreyF1/uU/K6KWEXmRxhIJopKACQ8TYZMEsbxBYpVkP5Z4IA8rg67Okx InqWEik0wceZUYI8TdbgiQ8VbIExMYV9yUyOi4Wab0jFlaosnZDv5RU9UarQ6CrNDb Yc8o72uMXxRvmNubV4tLPtD4Gz+BZfEolIeWyo0ugHttT/bRnrTM++T/QtqArwBA2O 1Vexz1p6WTo95620YGqRirF2wPTVOzfbqvT7szmOrUj/Z4FNA00UwGbu39IR7GGWH+ 5dT+4BmlR6USw== From: Dominic Martinez Date: Mon, 4 Apr 2022 15:32:00 -0400 Message-Id: <20220404193208.27634-3-dom@dominicm.dev> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220404193208.27634-1-dom@dominicm.dev> References: <20220404193208.27634-1-dom@dominicm.dev> MIME-Version: 1.0 X-Virus-Scanned: ClamAV using ClamSMTP 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-armon-go-radix): New variable. --- gnu/packages/golang.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 3938137984..ba917911da 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -9798,3 +9798,26 @@ (define-public go-github-com-anmitsu-go-shlex "@code{go-github-com-anmitsu-go-shlex} provides a simple lexical analyzer to parse shell-like commands.") (license license:expat))) + +(define-public go-github-com-armon-go-radix + (package + (name "go-github-com-armon-go-radix") + (version "1.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/armon/go-radix") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1m1k0jz9gjfrk4m7hjm7p03qmviamfgxwm2ghakqxw3hdds8v503")))) + (build-system go-build-system) + (arguments '(#:import-path "github.com/armon/go-radix")) + (home-page "https://github.com/armon/go-radix") + (synopsis "Go implementation of Radix trees") + (description + "@code{go-github-com-armon-go-radix} implements a +@url{http://en.wikipedia.org/wiki/Radix_tree,radix tree}. The package only +provides a single @code{Tree} implementation, optimized for sparse nodes.") + (license license:expat))) From patchwork Mon Apr 4 19:32:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dominic Martinez X-Patchwork-Id: 38315 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 2F1E727BBEA; Mon, 4 Apr 2022 20:33:21 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id E749227BBE9 for ; Mon, 4 Apr 2022 20:33:20 +0100 (BST) Received: from localhost ([::1]:40026 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nbSS0-0001mw-2v for patchwork@mira.cbaines.net; Mon, 04 Apr 2022 15:33:20 -0400 Received: from eggs.gnu.org ([209.51.188.92]:32782) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbSRj-0001IL-J2 for guix-patches@gnu.org; Mon, 04 Apr 2022 15:33:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59148) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nbSRj-0002JI-Ag for guix-patches@gnu.org; Mon, 04 Apr 2022 15:33:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nbSRj-00045R-87 for guix-patches@gnu.org; Mon, 04 Apr 2022 15:33:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54335] [PATCH v3 03/10] gnu: Add go-github-com-cyberdelia-go-metrics-graphite. Resent-From: Dominic Martinez Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 04 Apr 2022 19:33:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54335 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54335@debbugs.gnu.org Cc: Dominic Martinez Received: via spool by 54335-submit@debbugs.gnu.org id=B54335.164910077615633 (code B ref 54335); Mon, 04 Apr 2022 19:33:03 +0000 Received: (at 54335) by debbugs.gnu.org; 4 Apr 2022 19:32:56 +0000 Received: from localhost ([127.0.0.1]:53029 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nbSRc-000444-Bh for submit@debbugs.gnu.org; Mon, 04 Apr 2022 15:32:56 -0400 Received: from mta-06-4.privateemail.com ([198.54.122.146]:36784) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nbSRa-00043L-Ku for 54335@debbugs.gnu.org; Mon, 04 Apr 2022 15:32:55 -0400 Received: from mta-06.privateemail.com (localhost [127.0.0.1]) by mta-06.privateemail.com (Postfix) with ESMTP id 3FC8818000A8; Mon, 4 Apr 2022 15:32:49 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dominicm.dev; s=default; t=1649100769; bh=bCLjYrFxOXiE/tUOqECfxv18u5q3JpWYO5fulEc18NM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jafz2mu0sLlaEYrQlnuS6pLl0u9mnvvUYlPyF1609mevO8NV+vY2H25bw5v5TGfoM XxN/m/jQaBbqWziye8D98JC7IRcQ3xKIOpf0OqasArQDFGojY5AxmMkeX4naa8jvqI n5nIiTgnZWi3Q5L4i+hE63q1hTibOlnHzZiLzNWkuPl97cwMaZJOSv5YCQeyYO8yi9 r9hIBdMshTLvT5/KjyE3Id8AM7iIA4f1fACl7OucaFDbfB5QYwTvZ0a+92wts662sX jPEUP5nFcOGOhz3LofHCJeDuLdVM5f3dyP3623LXKs1VA3oEsnmgj2IPn30B9yO4Y1 XBnIYPIjuIutA== Received: from guix.wireless.duke.edu (unknown [10.20.151.184]) by mta-06.privateemail.com (Postfix) with ESMTPA id BD75D18000AF; Mon, 4 Apr 2022 15:32:46 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dominicm.dev; s=default; t=1649100769; bh=bCLjYrFxOXiE/tUOqECfxv18u5q3JpWYO5fulEc18NM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jafz2mu0sLlaEYrQlnuS6pLl0u9mnvvUYlPyF1609mevO8NV+vY2H25bw5v5TGfoM XxN/m/jQaBbqWziye8D98JC7IRcQ3xKIOpf0OqasArQDFGojY5AxmMkeX4naa8jvqI n5nIiTgnZWi3Q5L4i+hE63q1hTibOlnHzZiLzNWkuPl97cwMaZJOSv5YCQeyYO8yi9 r9hIBdMshTLvT5/KjyE3Id8AM7iIA4f1fACl7OucaFDbfB5QYwTvZ0a+92wts662sX jPEUP5nFcOGOhz3LofHCJeDuLdVM5f3dyP3623LXKs1VA3oEsnmgj2IPn30B9yO4Y1 XBnIYPIjuIutA== From: Dominic Martinez Date: Mon, 4 Apr 2022 15:32:01 -0400 Message-Id: <20220404193208.27634-4-dom@dominicm.dev> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220404193208.27634-1-dom@dominicm.dev> References: <20220404193208.27634-1-dom@dominicm.dev> MIME-Version: 1.0 X-Virus-Scanned: ClamAV using ClamSMTP 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-cyberdelia-go-metrics-graphite): New variable. --- The only test for this package tries to run and access a local server. As far as I'm aware, trying to access a network interface is a no-go for Guix packages (and also fails if I try to do it), but please correct me if I'm wrong on this. gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index ba917911da..a6ada9b1d6 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -9821,3 +9821,30 @@ (define-public go-github-com-armon-go-radix @url{http://en.wikipedia.org/wiki/Radix_tree,radix tree}. The package only provides a single @code{Tree} implementation, optimized for sparse nodes.") (license license:expat))) + +(define-public go-github-com-cyberdelia-go-metrics-graphite + (package + (name "go-github-com-cyberdelia-go-metrics-graphite") + (version "0.0.0-20161219230853-39f87cc3b432") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/cyberdelia/go-metrics-graphite") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1nnpwryw8i110laffyavvhx38gcd1jnpdir69y6fxxzpx06d094w")))) + (build-system go-build-system) + (propagated-inputs + (list go-github-com-rcrowley-go-metrics)) + (arguments + '(#:tests? #f ; Tests require network interface access + #:import-path "github.com/cyberdelia/go-metrics-graphite")) + (home-page "https://github.com/cyberdelia/go-metrics-graphite") + (synopsis "Graphite client for go-metrics") + (description + "@code{go-github-com-cyberdelia-go-metrics-graphite} is a reporter for +the @url{https://github.com/rcrowley/go-metrics,go-metrics} library which +posts metrics to Graphite.") + (license license:bsd-2))) From patchwork Mon Apr 4 19:32:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dominic Martinez X-Patchwork-Id: 38316 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 DC4A327BBEA; Mon, 4 Apr 2022 20:33:27 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,TVD_SPACE_RATIO autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A5B3627BBE9 for ; Mon, 4 Apr 2022 20:33:27 +0100 (BST) Received: from localhost ([::1]:40396 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nbSS6-00022n-R4 for patchwork@mira.cbaines.net; Mon, 04 Apr 2022 15:33:26 -0400 Received: from eggs.gnu.org ([209.51.188.92]:32784) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbSRj-0001Ij-VS for guix-patches@gnu.org; Mon, 04 Apr 2022 15:33:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59149) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nbSRj-0002JN-NI for guix-patches@gnu.org; Mon, 04 Apr 2022 15:33:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nbSRj-00045Z-LJ for guix-patches@gnu.org; Mon, 04 Apr 2022 15:33:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54335] [PATCH v3 04/10] gnu: Add go-github-com-google-gopacket. Resent-From: Dominic Martinez Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 04 Apr 2022 19:33:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54335 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54335@debbugs.gnu.org Cc: Dominic Martinez Received: via spool by 54335-submit@debbugs.gnu.org id=B54335.164910077815650 (code B ref 54335); Mon, 04 Apr 2022 19:33:03 +0000 Received: (at 54335) by debbugs.gnu.org; 4 Apr 2022 19:32:58 +0000 Received: from localhost ([127.0.0.1]:53034 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nbSRe-00044L-Lb for submit@debbugs.gnu.org; Mon, 04 Apr 2022 15:32:58 -0400 Received: from mta-06-4.privateemail.com ([198.54.122.146]:34521) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nbSRd-00043e-AJ for 54335@debbugs.gnu.org; Mon, 04 Apr 2022 15:32:57 -0400 Received: from mta-06.privateemail.com (localhost [127.0.0.1]) by mta-06.privateemail.com (Postfix) with ESMTP id E42B918000AA; Mon, 4 Apr 2022 15:32:51 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dominicm.dev; s=default; t=1649100771; bh=QLHlW8EkpSQ4DcN8QDEgw8FC2loqkNoNpZy+Qp5Jr44=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IPTkKsvWi6hEEc32bX5VBrIeHF4LERoc+H/eijb0CQwnV35I9RVRdT6mxrtNOPWbC Juh5HuKuuHQWN++nqS1aP8hQAYb1lyAPtKB3zQ+oUNvBIEg/fnatXUJcUDc86fcG0t wlf4YhyJoL2m7C2UhJtNO8pBBoTmq0wLKbCuFaem9qLeHxdkCfE9PAZDqTG/OKC+vm bjmnEB67AGDz5XCVy+MnZKXL6Gwx8+CNt6fx4n6hWlCWDdPMOZdOPBcW+Ky2/f4lR3 9ptcUSgybga0yDS2snYN3wY1v8KsRFCbEbNSwbPxoFJs1bnkqNbHduyxMSSM4pU1CZ o1GXZGdrSpn9g== Received: from guix.wireless.duke.edu (unknown [10.20.151.184]) by mta-06.privateemail.com (Postfix) with ESMTPA id 6998118000A0; Mon, 4 Apr 2022 15:32:49 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dominicm.dev; s=default; t=1649100771; bh=QLHlW8EkpSQ4DcN8QDEgw8FC2loqkNoNpZy+Qp5Jr44=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IPTkKsvWi6hEEc32bX5VBrIeHF4LERoc+H/eijb0CQwnV35I9RVRdT6mxrtNOPWbC Juh5HuKuuHQWN++nqS1aP8hQAYb1lyAPtKB3zQ+oUNvBIEg/fnatXUJcUDc86fcG0t wlf4YhyJoL2m7C2UhJtNO8pBBoTmq0wLKbCuFaem9qLeHxdkCfE9PAZDqTG/OKC+vm bjmnEB67AGDz5XCVy+MnZKXL6Gwx8+CNt6fx4n6hWlCWDdPMOZdOPBcW+Ky2/f4lR3 9ptcUSgybga0yDS2snYN3wY1v8KsRFCbEbNSwbPxoFJs1bnkqNbHduyxMSSM4pU1CZ o1GXZGdrSpn9g== From: Dominic Martinez Date: Mon, 4 Apr 2022 15:32:02 -0400 Message-Id: <20220404193208.27634-5-dom@dominicm.dev> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220404193208.27634-1-dom@dominicm.dev> References: <20220404193208.27634-1-dom@dominicm.dev> MIME-Version: 1.0 X-Virus-Scanned: ClamAV using ClamSMTP 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-google-gopacket): 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 a6ada9b1d6..ccda557600 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -9848,3 +9848,27 @@ (define-public go-github-com-cyberdelia-go-metrics-graphite the @url{https://github.com/rcrowley/go-metrics,go-metrics} library which posts metrics to Graphite.") (license license:bsd-2))) + +(define-public go-github-com-google-gopacket + (package + (name "go-github-com-google-gopacket") + (version "1.1.19") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/google/gopacket") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "048qwm2n0wrpql4qqgd7jyynn3gk069yvqbxnshlayzmbhf87ls4")))) + (build-system go-build-system) + (arguments '(#:import-path "github.com/google/gopacket")) + (propagated-inputs + (list go-golang-org-x-sys go-golang-org-x-net)) + (home-page "https://github.com/google/gopacket") + (synopsis "Provides packet processing capabilities for Go") + (description + "@code{go-github-com-google-gopacket} provides packet decoding for the +Go language.") + (license license:bsd-3))) From patchwork Mon Apr 4 19:32:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dominic Martinez X-Patchwork-Id: 38314 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 E7C8327BBE9; Mon, 4 Apr 2022 20:33:15 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 776BC27BBEA for ; Mon, 4 Apr 2022 20:33:15 +0100 (BST) Received: from localhost ([::1]:39384 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nbSRu-0001Mi-Jw for patchwork@mira.cbaines.net; Mon, 04 Apr 2022 15:33:14 -0400 Received: from eggs.gnu.org ([209.51.188.92]:32786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbSRk-0001Jd-CV for guix-patches@gnu.org; Mon, 04 Apr 2022 15:33:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59150) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nbSRk-0002JX-3m for guix-patches@gnu.org; Mon, 04 Apr 2022 15:33:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nbSRk-00045g-1D for guix-patches@gnu.org; Mon, 04 Apr 2022 15:33:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54335] [PATCH v3 05/10] gnu: Add go-github-com-miekg-dns. Resent-From: Dominic Martinez Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 04 Apr 2022 19:33:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54335 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54335@debbugs.gnu.org Cc: Dominic Martinez Received: via spool by 54335-submit@debbugs.gnu.org id=B54335.164910078115671 (code B ref 54335); Mon, 04 Apr 2022 19:33:03 +0000 Received: (at 54335) by debbugs.gnu.org; 4 Apr 2022 19:33:01 +0000 Received: from localhost ([127.0.0.1]:53039 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nbSRg-00044g-Tj for submit@debbugs.gnu.org; Mon, 04 Apr 2022 15:33:01 -0400 Received: from mta-06-4.privateemail.com ([198.54.122.146]:46846) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nbSRf-00043w-VB for 54335@debbugs.gnu.org; Mon, 04 Apr 2022 15:33:00 -0400 Received: from mta-06.privateemail.com (localhost [127.0.0.1]) by mta-06.privateemail.com (Postfix) with ESMTP id 8AF8E18000A9; Mon, 4 Apr 2022 15:32:54 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dominicm.dev; s=default; t=1649100774; bh=1jtYI1OlgAPNxrUwsu1tWVEKAs0ZVKi1a+oxalz4GKg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pcVyALgKgTnAeAhzynI8pVt6IL9ykS7NigH0q0tXqq6Z35Pf7I0BDLSw/XkD5XJde 4urmAprsf+3pzw3Yh+0f6KAIga/8fKT855dlbIP+H9Vli988CSW7FrL98vFBAWB3FP L4EaqcimtatzzLihfdTNl0VWWnS3hKpOmDu1BG0CKHNJmc8Mk85w4M6uPJF288OVUh ndKkO1K5ki+Vv5qPzVPEqMiy5ii7eS4ANK/DfmzhKQqUSDPFKg4c58q4WMz0o+UzSU wsO5ABKpk57wBhXUxMvs9MBTRIdrdmdWsv03cqwI5DRi0XrJuA1eM31Gx/c2+zYYz1 rj/q3VCPq9QVw== Received: from guix.wireless.duke.edu (unknown [10.20.151.184]) by mta-06.privateemail.com (Postfix) with ESMTPA id 13E9A18000A3; Mon, 4 Apr 2022 15:32:51 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dominicm.dev; s=default; t=1649100774; bh=1jtYI1OlgAPNxrUwsu1tWVEKAs0ZVKi1a+oxalz4GKg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pcVyALgKgTnAeAhzynI8pVt6IL9ykS7NigH0q0tXqq6Z35Pf7I0BDLSw/XkD5XJde 4urmAprsf+3pzw3Yh+0f6KAIga/8fKT855dlbIP+H9Vli988CSW7FrL98vFBAWB3FP L4EaqcimtatzzLihfdTNl0VWWnS3hKpOmDu1BG0CKHNJmc8Mk85w4M6uPJF288OVUh ndKkO1K5ki+Vv5qPzVPEqMiy5ii7eS4ANK/DfmzhKQqUSDPFKg4c58q4WMz0o+UzSU wsO5ABKpk57wBhXUxMvs9MBTRIdrdmdWsv03cqwI5DRi0XrJuA1eM31Gx/c2+zYYz1 rj/q3VCPq9QVw== From: Dominic Martinez Date: Mon, 4 Apr 2022 15:32:03 -0400 Message-Id: <20220404193208.27634-6-dom@dominicm.dev> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220404193208.27634-1-dom@dominicm.dev> References: <20220404193208.27634-1-dom@dominicm.dev> MIME-Version: 1.0 X-Virus-Scanned: ClamAV using ClamSMTP 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-miekg-dns): New variable. --- gnu/packages/golang.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index ccda557600..d6dca579de 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -9872,3 +9872,33 @@ (define-public go-github-com-google-gopacket "@code{go-github-com-google-gopacket} provides packet decoding for the Go language.") (license license:bsd-3))) + +(define-public go-github-com-miekg-dns + (package + (name "go-github-com-miekg-dns") + (version "1.1.48") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/miekg/dns") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "14m4wnbgmc1prj4ds1fsz1nwb1awaq365lhbp8clzsidxmhjf3hl")))) + (build-system go-build-system) + (arguments '(#:import-path "github.com/miekg/dns")) + (propagated-inputs + (list go-golang-org-x-tools + go-golang-org-x-sys + go-golang-org-x-sync + go-golang-org-x-net)) + (home-page "https://github.com/miekg/dns") + (synopsis "Domain Name Service library in Go") + (description + "@code{go-github-com-miekg-dns} implements a fully featured interface to +the Domain Name System. Both server and client side programming is supported. +The package allows complete control over what is sent out to the @acronym{DNS, +Domain Name Service}. The API follows the less-is-more principle, by +presenting a small interface.") + (license license:bsd-3))) From patchwork Mon Apr 4 19:32:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dominic Martinez X-Patchwork-Id: 38317 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 0AD1327BBEA; Mon, 4 Apr 2022 20:34:12 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C96D927BBE9 for ; Mon, 4 Apr 2022 20:34:11 +0100 (BST) Received: from localhost ([::1]:40670 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nbSSo-0002I0-VB for patchwork@mira.cbaines.net; Mon, 04 Apr 2022 15:34:11 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33012) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbSSg-0002HQ-Pd for guix-patches@gnu.org; Mon, 04 Apr 2022 15:34:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59173) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nbSSg-0002RQ-Gt for guix-patches@gnu.org; Mon, 04 Apr 2022 15:34:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nbSSg-00048u-Ex for guix-patches@gnu.org; Mon, 04 Apr 2022 15:34:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54335] [PATCH v3 06/10] gnu: Add go-github-com-nbrownus-go-metrics-prometheus. Resent-From: Dominic Martinez Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 04 Apr 2022 19:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54335 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54335@debbugs.gnu.org Cc: Dominic Martinez Received: via spool by 54335-submit@debbugs.gnu.org id=B54335.164910078415750 (code B ref 54335); Mon, 04 Apr 2022 19:34:02 +0000 Received: (at 54335) by debbugs.gnu.org; 4 Apr 2022 19:33:04 +0000 Received: from localhost ([127.0.0.1]:53050 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nbSRk-00045m-6u for submit@debbugs.gnu.org; Mon, 04 Apr 2022 15:33:04 -0400 Received: from mta-06-4.privateemail.com ([198.54.122.146]:52398) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nbSRi-00044C-LT for 54335@debbugs.gnu.org; Mon, 04 Apr 2022 15:33:02 -0400 Received: from mta-06.privateemail.com (localhost [127.0.0.1]) by mta-06.privateemail.com (Postfix) with ESMTP id 45B0C18000A8; Mon, 4 Apr 2022 15:32:57 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dominicm.dev; s=default; t=1649100777; bh=6BQL9p+Wg9C3VeR4tZFG/zl1SOfZI6UuXHPBvTnMg/o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UrkVOIUPk7yxKR7if7mqK/aMf/iCehNIOBBfBnUyg26JOvVaRWriD4bvFpLhOMlt8 nlN1RiyMMSCf6gERJEHqoILqiNBnYl5PKTUlx5MXbQUzUe/+F9uvIi4dDrmN5hudsj 9ctun2p/yGWD+Lyq3mYlQLGFW/QbXDcomzb5Rz5uf3/DcvqxL7+qIvhArJsqdf3ON/ vtcSwKjtU+z855YN/2Ht01dq5ny2moZV2Zl4jJ2YNLPfOKCf5pV1N1r2ZpqTxEXFWb GUp0I/Era3R+/u0lKtWkcMc5U36XXoqYWuBLSG7CI6eX4IdJMEqoYUaiPfL902NdBH sTVYVsfVT1GZg== Received: from guix.wireless.duke.edu (unknown [10.20.151.184]) by mta-06.privateemail.com (Postfix) with ESMTPA id AD9C118000A0; Mon, 4 Apr 2022 15:32:54 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dominicm.dev; s=default; t=1649100777; bh=6BQL9p+Wg9C3VeR4tZFG/zl1SOfZI6UuXHPBvTnMg/o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UrkVOIUPk7yxKR7if7mqK/aMf/iCehNIOBBfBnUyg26JOvVaRWriD4bvFpLhOMlt8 nlN1RiyMMSCf6gERJEHqoILqiNBnYl5PKTUlx5MXbQUzUe/+F9uvIi4dDrmN5hudsj 9ctun2p/yGWD+Lyq3mYlQLGFW/QbXDcomzb5Rz5uf3/DcvqxL7+qIvhArJsqdf3ON/ vtcSwKjtU+z855YN/2Ht01dq5ny2moZV2Zl4jJ2YNLPfOKCf5pV1N1r2ZpqTxEXFWb GUp0I/Era3R+/u0lKtWkcMc5U36XXoqYWuBLSG7CI6eX4IdJMEqoYUaiPfL902NdBH sTVYVsfVT1GZg== From: Dominic Martinez Date: Mon, 4 Apr 2022 15:32:04 -0400 Message-Id: <20220404193208.27634-7-dom@dominicm.dev> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220404193208.27634-1-dom@dominicm.dev> References: <20220404193208.27634-1-dom@dominicm.dev> MIME-Version: 1.0 X-Virus-Scanned: ClamAV using ClamSMTP 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-nbrownus-go-metrics-prometheus): New variable. --- gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index d6dca579de..e588bbc960 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -9902,3 +9902,31 @@ (define-public go-github-com-miekg-dns Domain Name Service}. The API follows the less-is-more principle, by presenting a small interface.") (license license:bsd-3))) + +(define-public go-github-com-nbrownus-go-metrics-prometheus + (package + (name "go-github-com-nbrownus-go-metrics-prometheus") + (version "0.0.0-20210712211119-974a6260965f") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/nbrownus/go-metrics-prometheus") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1kl9l08aas544627zmhkgp843qx94sxs4inxm20nw1hx7gp79dz0")))) + (build-system go-build-system) + (arguments '(#:import-path "github.com/nbrownus/go-metrics-prometheus")) + (propagated-inputs + (list go-github-com-stretchr-testify + go-github-com-rcrowley-go-metrics + go-github-com-prometheus-client-golang)) + (home-page "https://github.com/nbrownus/go-metrics-prometheus") + (synopsis "Prometheus support for go-metrics") + (description + "@code{go-github-com-nbrownus-go-metrics-prometheus} is a reporter for +the go-metrics library which will post the metrics to the prometheus client +registry. It just updates the registry, taking care of exporting the metrics +is still your responsibility.") + (license license:asl2.0))) From patchwork Mon Apr 4 19:32:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dominic Martinez X-Patchwork-Id: 38319 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 1A8FE27BBE9; Mon, 4 Apr 2022 20:34:14 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D318427BBE9 for ; Mon, 4 Apr 2022 20:34:13 +0100 (BST) Received: from localhost ([::1]:40772 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nbSSr-0002MK-0p for patchwork@mira.cbaines.net; Mon, 04 Apr 2022 15:34:13 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33014) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbSSh-0002HY-5g for guix-patches@gnu.org; Mon, 04 Apr 2022 15:34:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59174) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nbSSg-0002RW-TJ for guix-patches@gnu.org; Mon, 04 Apr 2022 15:34:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nbSSg-000491-R8 for guix-patches@gnu.org; Mon, 04 Apr 2022 15:34:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54335] [PATCH v3 07/10] gnu: Add go-github-com-songgao-water. Resent-From: Dominic Martinez Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 04 Apr 2022 19:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54335 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54335@debbugs.gnu.org Cc: Dominic Martinez Received: via spool by 54335-submit@debbugs.gnu.org id=B54335.164910079115782 (code B ref 54335); Mon, 04 Apr 2022 19:34:02 +0000 Received: (at 54335) by debbugs.gnu.org; 4 Apr 2022 19:33:11 +0000 Received: from localhost ([127.0.0.1]:53055 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nbSRn-00046G-LM for submit@debbugs.gnu.org; Mon, 04 Apr 2022 15:33:10 -0400 Received: from mta-06-4.privateemail.com ([198.54.122.146]:52228) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nbSRl-00044a-CX for 54335@debbugs.gnu.org; Mon, 04 Apr 2022 15:33:05 -0400 Received: from mta-06.privateemail.com (localhost [127.0.0.1]) by mta-06.privateemail.com (Postfix) with ESMTP id F2CA818000B0; Mon, 4 Apr 2022 15:32:59 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dominicm.dev; s=default; t=1649100780; bh=qjoaGNNV1AcUEO9sG9HpGWAD4EoCnapOkHj+aLPsPc4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xQER6H4TguzW17dEBiQWW7Deun5iaAvLWRYEwA5V9bgmFmG36L70/D7FHXySOHJgv yS8Fnv++hqjoOV0AIMVud+LgD49SajgJxzl9YuS2tW4WY4fpLUTdjQtNGprzgUr15A N8yYrWmaaf4GKgD/S1nouqfXdjJV/8h3nH4IDF9D8emcsfgaogcfxsrnJZIZuiGPtD RsG3mFmoRqL+ESrtWb8OW8cvVI7s9uM15NMIUAabpWvwaIzhHNhGxImyzFx71/gnxe mWvcWXBWPeNnOXujKOY4BLckm9yWQjrRGa5wJ/YlyQ0i401wbrJ7BY1TzklauCvBS9 7N954ogEFtiqw== Received: from guix.wireless.duke.edu (unknown [10.20.151.184]) by mta-06.privateemail.com (Postfix) with ESMTPA id 68AEE18000AF; Mon, 4 Apr 2022 15:32:57 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dominicm.dev; s=default; t=1649100779; bh=qjoaGNNV1AcUEO9sG9HpGWAD4EoCnapOkHj+aLPsPc4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cXFJ8Ji8sn8eP9daDYLvd6RR5r7qjpuEGO0tXHLN6y7D6xLdtJCDiPCLk4rbpXFyX zQlgmfGPsSJ1+nGHX+rK5CWMUOqE5jiSZcWj0Z7Fp1XMiQi4rz4FgQ8Re8XZ9RfANZ E82G+oaC6QoFXfLWuf8Hlnro9O5j59XxyUIReRke+Sygoe7sqaBZ1WEolXhu0Sv9Dl mkqcpNmT/PFj8p8mkf9kpFeywDpBXmStRYztY8Kajxg4w+pIXAnoZibVbWbv6ZILQp R68L8yik2WEVOw+/ivK5NiFcDktWFojFVxau+rlamUs4iFBX5QB+Qfw0o39ts6X05a DQzub4PsAic3A== From: Dominic Martinez Date: Mon, 4 Apr 2022 15:32:05 -0400 Message-Id: <20220404193208.27634-8-dom@dominicm.dev> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220404193208.27634-1-dom@dominicm.dev> References: <20220404193208.27634-1-dom@dominicm.dev> MIME-Version: 1.0 X-Virus-Scanned: ClamAV using ClamSMTP 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-songgao-water): New variable. --- All the tests here require the ability to interact with TUN/TAP interfaces. Again, as far as I'm aware that isn't allowed, so tests are disabled. gnu/packages/golang.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index e588bbc960..23543a0c2b 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -9930,3 +9930,27 @@ (define-public go-github-com-nbrownus-go-metrics-prometheus registry. It just updates the registry, taking care of exporting the metrics is still your responsibility.") (license license:asl2.0))) + +(define-public go-github-com-songgao-water + (package + (name "go-github-com-songgao-water") + (version "0.0.0-20200317203138-2b4b6d7c09d8") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/songgao/water") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1k5aildfszp6x66jzar4y36lic8ijkb5020hfaivpvq3bnwdiikl")))) + (build-system go-build-system) + (arguments '(#:tests? #f ; Tests require network interface access + #:import-path "github.com/songgao/water")) + (home-page "https://github.com/songgao/water") + (synopsis "Simple network tunnel/tap library") + (description + "@code{go-github-com-songgao-water} is a simple TUN/TAP interface +library for Go that efficiently works with standard packages like io, bufio, +etc.. Use waterutil with it to work with TUN/TAP packets/frames.") + (license license:bsd-3))) From patchwork Mon Apr 4 19:32:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dominic Martinez X-Patchwork-Id: 38318 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 0FCD127BBEB; Mon, 4 Apr 2022 20:34:13 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A530027BBE9 for ; Mon, 4 Apr 2022 20:34:12 +0100 (BST) Received: from localhost ([::1]:40694 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nbSSp-0002It-Op for patchwork@mira.cbaines.net; Mon, 04 Apr 2022 15:34:11 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33016) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbSSh-0002Hg-He for guix-patches@gnu.org; Mon, 04 Apr 2022 15:34:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59175) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nbSSh-0002Rc-9D for guix-patches@gnu.org; Mon, 04 Apr 2022 15:34:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nbSSh-000498-6v for guix-patches@gnu.org; Mon, 04 Apr 2022 15:34:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54335] [PATCH v3 08/10] gnu: Add go-google-golang-org-protobuf. Resent-From: Dominic Martinez Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 04 Apr 2022 19:34:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54335 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54335@debbugs.gnu.org Cc: Dominic Martinez Received: via spool by 54335-submit@debbugs.gnu.org id=B54335.164910079115795 (code B ref 54335); Mon, 04 Apr 2022 19:34:03 +0000 Received: (at 54335) by debbugs.gnu.org; 4 Apr 2022 19:33:11 +0000 Received: from localhost ([127.0.0.1]:53063 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nbSRq-00046V-TE for submit@debbugs.gnu.org; Mon, 04 Apr 2022 15:33:11 -0400 Received: from mta-06-4.privateemail.com ([198.54.122.146]:57567) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nbSRo-00045J-3A for 54335@debbugs.gnu.org; Mon, 04 Apr 2022 15:33:08 -0400 Received: from mta-06.privateemail.com (localhost [127.0.0.1]) by mta-06.privateemail.com (Postfix) with ESMTP id AD39018000A0; Mon, 4 Apr 2022 15:33:02 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dominicm.dev; s=default; t=1649100782; bh=CSqUIdhaUsXeczzHCjcBLOzvWN+GwmhRKvmOKANzs0w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=k9uKkHM/TZwAu16uM7YL09XBf0niVxaqb3LY5rln9EpG2mOgMOSjv0P3TA/axQph6 IvreqftTrHe7557cLNIw9hl/biLlGcqOB2jXi9QtGpm1tgKMqL8gRhtelkMvFpYbFu 7VJG6z0qYuWZZ5rW4blBjCrNVaMdiBMtdRCBamVckM8lnHdJbUBA605Hgwy8NRyPVI mtR0MtSRH345uupxUojA+4Wzp9Ngf3B283XrkFUDjjLyGxSdSZbwYLjQA2WgCetba3 ARFhmsprAJ/QwFzOdYqkbPVjjfF7KXzX6hqkVK94UfTDV5cSBlXFWQgwea+J0R57GA krmXwDOjrAkOw== Received: from guix.wireless.duke.edu (unknown [10.20.151.184]) by mta-06.privateemail.com (Postfix) with ESMTPA id 1EDD118000AE; Mon, 4 Apr 2022 15:33:00 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dominicm.dev; s=default; t=1649100782; bh=CSqUIdhaUsXeczzHCjcBLOzvWN+GwmhRKvmOKANzs0w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=k9uKkHM/TZwAu16uM7YL09XBf0niVxaqb3LY5rln9EpG2mOgMOSjv0P3TA/axQph6 IvreqftTrHe7557cLNIw9hl/biLlGcqOB2jXi9QtGpm1tgKMqL8gRhtelkMvFpYbFu 7VJG6z0qYuWZZ5rW4blBjCrNVaMdiBMtdRCBamVckM8lnHdJbUBA605Hgwy8NRyPVI mtR0MtSRH345uupxUojA+4Wzp9Ngf3B283XrkFUDjjLyGxSdSZbwYLjQA2WgCetba3 ARFhmsprAJ/QwFzOdYqkbPVjjfF7KXzX6hqkVK94UfTDV5cSBlXFWQgwea+J0R57GA krmXwDOjrAkOw== From: Dominic Martinez Date: Mon, 4 Apr 2022 15:32:06 -0400 Message-Id: <20220404193208.27634-9-dom@dominicm.dev> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220404193208.27634-1-dom@dominicm.dev> References: <20220404193208.27634-1-dom@dominicm.dev> MIME-Version: 1.0 X-Virus-Scanned: ClamAV using ClamSMTP 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-google-golang-org-protobuf): New variable. --- I took this go-google-golang-org-protobuf definition from #54560. I had disabled builds/tests before because this package has many subpackages and no top-level files, which the go-build-system doesn't directly support, so this modifications builds and tests all the subpackages. gnu/packages/golang.scm | 43 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 23543a0c2b..db1ea44d8c 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -9954,3 +9954,46 @@ (define-public go-github-com-songgao-water library for Go that efficiently works with standard packages like io, bufio, etc.. Use waterutil with it to work with TUN/TAP packets/frames.") (license license:bsd-3))) + +(define-public go-google-golang-org-protobuf + (package + (name "go-google-golang-org-protobuf") + (version "1.28.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://go.googlesource.com/protobuf") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1nzcc4qc00afi24nb7nlnwyzvvr6b8s8qdrn1sw085nygh2y2x8r")))) + (build-system go-build-system) + (arguments + '(#:import-path "google.golang.org/protobuf" + #:phases + ;; Build and test all sub-packages + (let ((glob-path "google.golang.org/protobuf/...")) + (modify-phases %standard-phases + (replace 'build + (lambda args + (apply (assoc-ref %standard-phases + 'build) + `(,@args #:import-path + ,glob-path)))) + (replace 'check + (lambda args + (apply (assoc-ref %standard-phases + 'check) + `(,@args #:import-path + ,glob-path)))))))) + (native-inputs (list go-github-com-google-go-cmp-cmp)) + (synopsis "Go support for Google's protocol buffers") + (description + "Go implementation for protocol buffers, which is a +language-neutral, platform-neutral, extensible mechanism for serializing +structured data. The protocol buffer language is a language for +specifying the schema for structured data. This schema is compiled into +language specific bindings.") + (home-page "https://go.googlesource.com/protobuf") + (license license:bsd-3))) From patchwork Mon Apr 4 19:32:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dominic Martinez X-Patchwork-Id: 38321 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 6823127BBEA; Mon, 4 Apr 2022 20:34:19 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id DD58D27BBE9 for ; Mon, 4 Apr 2022 20:34:18 +0100 (BST) Received: from localhost ([::1]:41394 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nbSSw-0002lX-2c for patchwork@mira.cbaines.net; Mon, 04 Apr 2022 15:34:18 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33018) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbSSh-0002Ho-Tk for guix-patches@gnu.org; Mon, 04 Apr 2022 15:34:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59176) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nbSSh-0002Ri-LH for guix-patches@gnu.org; Mon, 04 Apr 2022 15:34:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nbSSh-00049G-J5 for guix-patches@gnu.org; Mon, 04 Apr 2022 15:34:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54335] [PATCH v3 09/10] gnu: Add go-github-com-skip2-go-qrcode. Resent-From: Dominic Martinez Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 04 Apr 2022 19:34:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54335 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54335@debbugs.gnu.org Cc: Dominic Martinez Received: via spool by 54335-submit@debbugs.gnu.org id=B54335.164910079215803 (code B ref 54335); Mon, 04 Apr 2022 19:34:03 +0000 Received: (at 54335) by debbugs.gnu.org; 4 Apr 2022 19:33:12 +0000 Received: from localhost ([127.0.0.1]:53065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nbSRs-00046p-AZ for submit@debbugs.gnu.org; Mon, 04 Apr 2022 15:33:12 -0400 Received: from mta-06-4.privateemail.com ([198.54.122.146]:58811) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nbSRq-000466-N3 for 54335@debbugs.gnu.org; Mon, 04 Apr 2022 15:33:11 -0400 Received: from mta-06.privateemail.com (localhost [127.0.0.1]) by mta-06.privateemail.com (Postfix) with ESMTP id 5097E18000A1; Mon, 4 Apr 2022 15:33:05 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dominicm.dev; s=default; t=1649100785; bh=mW7gDlPGAa98v41LER6i/4j74Uvjnw7cUXW/IlGpjqQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xcnXHaBv7RlDkZCeahf0purBCycg+YTf6930GrkKhW3exY1bWIV8+Q2iExlYDtFKO 8YipOqROMWyDFum+k701OkB7/xlTa7ig+ICObXMIhN/Q6Heuh4o1TzoQZBQopYgTZ8 KLG+MyhXo27YiNIC88gNSxsdXDZDSpqo+A6qVH2+en58AVjvRAp5aLWdjDLXZhLNNY YHBmYC+pUB/JN/DMdpfJRM277cJsKviXHsPh7/dsmAwJoJ7HyGuTr1Kos1CKH0uUPK ZOl6KP7MeAqDoDIwY7H0Dpso3e0VmevAxMXi+gG8rDRCCmMh3ioPPRv8xJKe3OGjpz LHDihIPxNuOBg== Received: from guix.wireless.duke.edu (unknown [10.20.151.184]) by mta-06.privateemail.com (Postfix) with ESMTPA id CDBE018000AD; Mon, 4 Apr 2022 15:33:02 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dominicm.dev; s=default; t=1649100785; bh=mW7gDlPGAa98v41LER6i/4j74Uvjnw7cUXW/IlGpjqQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xcnXHaBv7RlDkZCeahf0purBCycg+YTf6930GrkKhW3exY1bWIV8+Q2iExlYDtFKO 8YipOqROMWyDFum+k701OkB7/xlTa7ig+ICObXMIhN/Q6Heuh4o1TzoQZBQopYgTZ8 KLG+MyhXo27YiNIC88gNSxsdXDZDSpqo+A6qVH2+en58AVjvRAp5aLWdjDLXZhLNNY YHBmYC+pUB/JN/DMdpfJRM277cJsKviXHsPh7/dsmAwJoJ7HyGuTr1Kos1CKH0uUPK ZOl6KP7MeAqDoDIwY7H0Dpso3e0VmevAxMXi+gG8rDRCCmMh3ioPPRv8xJKe3OGjpz LHDihIPxNuOBg== From: Dominic Martinez Date: Mon, 4 Apr 2022 15:32:07 -0400 Message-Id: <20220404193208.27634-10-dom@dominicm.dev> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220404193208.27634-1-dom@dominicm.dev> References: <20220404193208.27634-1-dom@dominicm.dev> MIME-Version: 1.0 X-Virus-Scanned: ClamAV using ClamSMTP 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-skip2-go-qrcode): New variable. --- The go-qrcode decoding test doesn't compile due to a change in Go's int to string conversion. There is an active pull request with the fix at https://github.com/skip2/go-qrcode/pull/53, but in the meantime I included a patch for the test. gnu/packages/golang.scm | 22 +++++++++++ ...github-com-skip2-go-qrcode-fix-tests.patch | 37 +++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 gnu/packages/patches/go-github-com-skip2-go-qrcode-fix-tests.patch diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index db1ea44d8c..0eae371f40 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -9997,3 +9997,25 @@ (define-public go-google-golang-org-protobuf language specific bindings.") (home-page "https://go.googlesource.com/protobuf") (license license:bsd-3))) + +(define-public go-github-com-skip2-go-qrcode + (package + (name "go-github-com-skip2-go-qrcode") + (version "0.0.0-20200617195104-da1b6568686e") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/skip2/go-qrcode") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0pghd6y2x8a5fqy4rjn4d8j5jcslb236naycdza5an7vyvinsgs9")) + (patches (search-patches "go-github-com-skip2-go-qrcode-fix-tests.patch")))) + (build-system go-build-system) + (arguments '(#:import-path "github.com/skip2/go-qrcode")) + (home-page "https://github.com/skip2/go-qrcode") + (synopsis "QR code encoder") + (description "@code{go-github-com-skip2-go-qrcode} provides a QR code +encoder for the Go language.") + (license license:expat))) diff --git a/gnu/packages/patches/go-github-com-skip2-go-qrcode-fix-tests.patch b/gnu/packages/patches/go-github-com-skip2-go-qrcode-fix-tests.patch new file mode 100644 index 0000000000..631cb0cdab --- /dev/null +++ b/gnu/packages/patches/go-github-com-skip2-go-qrcode-fix-tests.patch @@ -0,0 +1,37 @@ +From dd203f29a36bf518deacbc03e8562b0195c8345f Mon Sep 17 00:00:00 2001 +From: Dominic Martinez +Date: Mon, 4 Apr 2022 12:06:03 -0400 +Subject: [PATCH] Fix failing qr decode test + +First convert integers into runes before performing a string conversion. +--- + qrcode_decode_test.go | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/qrcode_decode_test.go b/qrcode_decode_test.go +index 1f4b1d3..2b0756b 100644 +--- a/qrcode_decode_test.go ++++ b/qrcode_decode_test.go +@@ -122,7 +122,7 @@ func TestDecodeAllCharacters(t *testing.T) { + + // zbarimg has trouble with null bytes, hence start from ASCII 1. + for i := 1; i < 256; i++ { +- content += string(i) ++ content += string(rune(i)) + } + + q, err := New(content, Low) +@@ -154,7 +154,7 @@ func TestDecodeFuzz(t *testing.T) { + for j := 0; j < len; j++ { + // zbarimg seems to have trouble with special characters, test printable + // characters only for now. +- content += string(32 + r.Intn(94)) ++ content += string(rune(32 + r.Intn(94))) + } + + for _, level := range []RecoveryLevel{Low, Medium, High, Highest} { + +base-commit: da1b6568686e89143e94f980a98bc2dbd5537f13 +-- +2.34.0 + From patchwork Mon Apr 4 19:32:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Dominic Martinez X-Patchwork-Id: 38320 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 0B84B27BBEA; Mon, 4 Apr 2022 20:34:15 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3630F27BBE9 for ; Mon, 4 Apr 2022 20:34:14 +0100 (BST) Received: from localhost ([::1]:40782 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nbSSr-0002Me-CH for patchwork@mira.cbaines.net; Mon, 04 Apr 2022 15:34:13 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33020) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbSSi-0002I1-CA for guix-patches@gnu.org; Mon, 04 Apr 2022 15:34:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59177) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nbSSi-0002Ro-3h for guix-patches@gnu.org; Mon, 04 Apr 2022 15:34:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nbSSi-00049S-16 for guix-patches@gnu.org; Mon, 04 Apr 2022 15:34:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54335] [PATCH v3 10/10] gnu: Add nebula. Resent-From: Dominic Martinez Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 04 Apr 2022 19:34:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54335 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54335@debbugs.gnu.org Cc: Dominic Martinez Received: via spool by 54335-submit@debbugs.gnu.org id=B54335.164910079915827 (code B ref 54335); Mon, 04 Apr 2022 19:34:03 +0000 Received: (at 54335) by debbugs.gnu.org; 4 Apr 2022 19:33:19 +0000 Received: from localhost ([127.0.0.1]:53070 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nbSRv-000478-Lt for submit@debbugs.gnu.org; Mon, 04 Apr 2022 15:33:18 -0400 Received: from mta-06-4.privateemail.com ([198.54.122.146]:37457) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nbSRt-00046I-E0 for 54335@debbugs.gnu.org; Mon, 04 Apr 2022 15:33:14 -0400 Received: from mta-06.privateemail.com (localhost [127.0.0.1]) by mta-06.privateemail.com (Postfix) with ESMTP id 0A36718000AF; Mon, 4 Apr 2022 15:33:08 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dominicm.dev; s=default; t=1649100788; bh=8ikobKu3zlaDLtoJoxXR83o1RJlauThtznTed5UL0ro=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=X7M1rnneyI4ncmlU5x78TmwSrIEZA0S4rLmFZV2MghF9AuoyGduOw0vio/Yh4ZQlf N5zUXRsEL5i1sa/y6u1vv1/bkQO+JBd+y8j7JBXbQ/9TMVD9ub+Cv6tEONv9rRp8/F 6H+6jRIthOFRDhpVHK/c3o3YazFzgG+XZLNs/Ruk5UK270WJm6+XwennXzsBrWEbLh nYWgwnSJVBh9Q8AiQSLJUGfi9uUKPEFzCYlkU7v0+LQ0f0xzpvRC1UmzCVlVmlBbks rmo5yQHP+6ZvWSm/QIwwzC1kGkiuw4Zn7cWIWdgAmoYSCStfqhJY102Fr3K5VM/m1T ihCZbOuXnuvnQ== Received: from guix.wireless.duke.edu (unknown [10.20.151.184]) by mta-06.privateemail.com (Postfix) with ESMTPA id 7404918000A8; Mon, 4 Apr 2022 15:33:05 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dominicm.dev; s=default; t=1649100787; bh=8ikobKu3zlaDLtoJoxXR83o1RJlauThtznTed5UL0ro=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mIEDbeQX0KYjHcfPUtOO7msOZJa4rfymuv3eKEUemQqhQa2oa4j1apCcGBmCgyGIC dScnbIK3n/9i3BZBbWTwLic4I0HTZcExFJuhrYIYBbQ0UPUj7YWgaB4z7/Im5n2mDA XIKkdAiMtsjeJ6VnIf83x1b1LFOHcqzMfSupRLWwmfcWpd4BhqJacWuGSTjbDrfvQ6 2PuPAwaLRDm9ILfGtH3ONtGruyLmIb8bgetpfk6QXbSrRGiHvmxO1KNnCL+oP1t3yY 8DfkfExpNs9SuF9LYepO+n246UgW+ASCnSnATrXuX3IQe4Oli/egkeeJ9GQWbNimsS FnABfZAPQTVRQ== From: Dominic Martinez Date: Mon, 4 Apr 2022 15:32:08 -0400 Message-Id: <20220404193208.27634-11-dom@dominicm.dev> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220404193208.27634-1-dom@dominicm.dev> References: <20220404193208.27634-1-dom@dominicm.dev> MIME-Version: 1.0 X-Virus-Scanned: ClamAV using ClamSMTP 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/networking.scm (nebula): New variable. --- I tried to modify the description to more accurately describe the difference between Nebula and other, distributed overlay networks currently on Guix like yggdrasil and gnunet, but I'm not sure I did a good job. I also wasn't sure whether to remove the blobs in a phase or source snippet, since existing packages seem to do both. I opted for the snippet so that the blobs would never touch the source definition. gnu/packages/networking.scm | 80 +++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index b45f2f79f2..51285df685 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -48,6 +48,7 @@ ;;; Copyright © 2021 Guillaume Le Vaillant ;;; Copyright © 2021 Maxime Devos ;;; Copyright © 2022 Simon South +;;; Copyright © 2022 Dominic Martinez ;;; ;;; This file is part of GNU Guix. ;;; @@ -140,6 +141,7 @@ (define-module (gnu packages networking) #:use-module (gnu packages shells) #:use-module (gnu packages sphinx) #:use-module (gnu packages sqlite) + #:use-module (gnu packages syncthing) #:use-module (gnu packages ssh) #:use-module (gnu packages tcl) #:use-module (gnu packages textutils) @@ -4191,3 +4193,81 @@ (define-public putty implementations.") (home-page "https://www.chiark.greenend.org.uk/~sgtatham/putty/") (license license:expat))) + +(define-public nebula + (package + (name "nebula") + (version "1.5.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/slackhq/nebula") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "14b7wgx83w1fhcbhsn0mfg872hkml4wwbzimb3bjvc3xpzx6w44k")) + ;; Remove windows-related binary blobs and files + (snippet + #~(begin + (use-modules (guix build utils)) + (delete-file-recursively "dist/windows") + (delete-file-recursively "wintun"))))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/slackhq/nebula" + #:install-source? #f + #:phases + (modify-phases %standard-phases + (replace 'build + (lambda _ + ;; Build nebula and nebula-cert + (let* ((dir "github.com/slackhq/nebula") + (nebula-cmd (string-append dir "/cmd/nebula")) + (cert-cmd (string-append dir "/cmd/nebula-cert"))) + (invoke "go" "build" nebula-cmd) + (invoke "go" "build" cert-cmd)))) + + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bindir (string-append out "/bin"))) + (install-file "nebula" bindir) + (install-file "nebula-cert" bindir))))))) + (inputs + (list go-golang-org-x-term + go-gopkg-in-yaml-v2 + go-google-golang-org-protobuf + go-golang-org-x-sys + go-golang-org-x-net + go-golang-org-x-crypto + go-netns + go-netlink + go-github-com-skip2-go-qrcode + go-github-com-stretchr-testify + go-github-com-songgao-water + go-github-com-sirupsen-logrus + go-github-com-rcrowley-go-metrics + go-github-com-prometheus-procfs + go-github-com-prometheus-client-model + go-github-com-prometheus-client-golang + go-github-com-nbrownus-go-metrics-prometheus + go-github-com-miekg-dns + go-github-com-imdario-mergo + go-github-com-google-gopacket + go-github-com-gogo-protobuf + go-github-com-flynn-noise + go-github-com-cyberdelia-go-metrics-graphite + go-github-com-cespare-xxhash + go-github-com-armon-go-radix + go-github-com-anmitsu-go-shlex)) + (home-page "https://github.com/slackhq/nebula") + (synopsis "Scalable, peer-to-peer overlay networking tool") + (description + "Nebula is a peer-to-peer networking tool based on the +@url{https://noiseprotocol.org/, Noise Protocol Framework}. It is not a fully +decentralized network, but instead uses central discovery nodes and a +certificate authority to facilitate direct, encrypted peer-to-peer connections +from behind most firewalls and @acronym{NAT, Network Address Translation} +layers.") + (license license:expat)))