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)))