From patchwork Thu Sep 14 08:03:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edouard Klein X-Patchwork-Id: 53895 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 89EE427BBE9; Thu, 14 Sep 2023 09:06:30 +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, URIBL_BLOCKED autolearn=ham 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 EB03527BBE2 for ; Thu, 14 Sep 2023 09:06:27 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qghLh-00072P-Sq; Thu, 14 Sep 2023 04:05:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qghLT-0006tV-9h for guix-patches@gnu.org; Thu, 14 Sep 2023 04:05:05 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qghLS-0005Tv-Uf for guix-patches@gnu.org; Thu, 14 Sep 2023 04:05:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qghLY-0000Qo-J5; Thu, 14 Sep 2023 04:05:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65974] [PATCH 24/33] gnu: Add go-github-com-jsimonetti-rtnetlink. Resent-From: Edouard Klein Original-Sender: "Debbugs-submit" Resent-CC: cox.katherine.e+guix@gmail.com, guix-patches@gnu.org Resent-Date: Thu, 14 Sep 2023 08:05:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65974 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65974@debbugs.gnu.org Cc: Edouard Klein , Katherine Cox-Buday X-Debbugs-Original-Xcc: Katherine Cox-Buday Received: via spool by 65974-submit@debbugs.gnu.org id=B65974.16946786811411 (code B ref 65974); Thu, 14 Sep 2023 08:05:08 +0000 Received: (at 65974) by debbugs.gnu.org; 14 Sep 2023 08:04:41 +0000 Received: from localhost ([127.0.0.1]:37430 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qghL6-0000Mb-Tp for submit@debbugs.gnu.org; Thu, 14 Sep 2023 04:04:41 -0400 Received: from sender11-op-o11.zoho.eu ([31.186.226.225]:17162) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qghKX-0000J6-P7 for 65974@debbugs.gnu.org; Thu, 14 Sep 2023 04:04:06 -0400 Delivered-To: edk@beaver-labs.com ARC-Seal: i=1; a=rsa-sha256; t=1694678638; cv=none; d=zohomail.eu; s=zohoarc; b=fBWJ0tj5yU7/MbHKrJKs0uPxZFKusPNjr49i8xDhYS2JUtm8+54c/Rp/Ip0fPSdcvr+sOPVASCBYUcay2pPX9i2jnvWK6RVY8gGaVwPVJz1WeX1KdMspTDbHlugVIB0YF0ZtuywKnqWR/itQi4Hp/Qpkk63+wAggfTyt0NiBPLI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.eu; s=zohoarc; t=1694678638; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=foEVzYGc2jGUh4O9GYXF6WSc1f0Nq41M0RFTL1QxI9I=; b=Ihs/h3RGGtTv2QKItgd4DQ0khW93AcmWYuaqI9xBh7h6QQ0FB6vsrKyrMVbGz01V9x2FWpQtOQE3nRx5zXkoVu84Rii84XTYmIz7i2RWgQ6oFidH3ef3vs0wrzWLwyclIKQoTPW1Ehe0eBktR6fRtExTzkXdaMoO1bZQHyUO+k4= ARC-Authentication-Results: i=1; mx.zohomail.eu; dkim=pass header.i=beaver-labs.com; spf=pass smtp.mailfrom=edk@beaver-labs.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1694678638; s=zoho; d=beaver-labs.com; i=edk@beaver-labs.com; h=From:From:To:To:Cc:Cc:Message-ID:Subject:Subject:Date:Date:In-Reply-To:References:MIME-Version:Content-Transfer-Encoding:Content-Type:Message-Id:Reply-To; bh=foEVzYGc2jGUh4O9GYXF6WSc1f0Nq41M0RFTL1QxI9I=; b=I6uozqiBMmsPdTYpU6U4cJR2nxs3yFuML63SXhJBv2MMsF3pKnFuX2V4q2UgdEZa GE2CcMraIjIhlWRuQ1q0juMyssSfv2E++hlokWIcAa+ZfjjHvTB7PG26MrdJAP/Lp0q 2vNh6HzVNZ+EkevbP7NkIHBSA6/65acGYRkwR9OGKeB2D8MoY66Sd/UD24whiKKGHTY Zz33gRuIFK2mOuVaIxwC2ff9iXnPQcP8+nkipvdq0LoMQBuqLgK6ZBSW16YXSuHNp8k XWOH5b1EOV6eOMt6yu0XREZBAd6K+DvJvfXnTXfDiVozICV10MqOoJh8toP1p2/SqLR CBZMHkShQg== Received: from schwarzy.home (lfbn-idf3-1-667-244.w86-252.abo.wanadoo.fr [86.252.237.244]) by mx.zoho.eu with SMTPS id 1694678637026701.6306377678601; Thu, 14 Sep 2023 10:03:57 +0200 (CEST) From: Edouard Klein Message-ID: Date: Thu, 14 Sep 2023 10:03:09 +0200 X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-ZohoMailClient: External 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-jsimonetti-rtnetlink): New variable. --- gnu/packages/golang.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 3bf113fd70..bb19e9605f 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -13668,6 +13668,41 @@ (define-public go-github-com-mdlayher-netlink "Package netlink provides low-level access to Linux netlink sockets (AF_NETLINK).") (license license:expat))) +(define-public go-github-com-jsimonetti-rtnetlink + (package + (name "go-github-com-jsimonetti-rtnetlink") + (version "1.3.5") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jsimonetti/rtnetlink") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "19kifm0c4lpq1y25g2acnfm5cfrizbygqa50a3sdp9368s1gaay5")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/jsimonetti/rtnetlink" + #:go ,go-1.20)) + (propagated-inputs `(("go-golang-org-x-sync" ,go-golang-org-x-sync) + ("go-golang-org-x-net" ,go-golang-org-x-net) + ("go-golang-org-x-exp" ,go-golang-org-x-exp) + ("go-github-com-mdlayher-socket" ,go-github-com-mdlayher-socket) + ("go-github-com-josharian-native" ,go-github-com-josharian-native) + ("go-golang-org-x-sys" ,go-golang-org-x-sys) + ("go-github-com-mdlayher-netlink" ,go-github-com-mdlayher-netlink) + ("go-github-com-google-go-cmp-cmp" ,go-github-com-google-go-cmp-cmp) + ("go-github-com-cilium-ebpf" ,go-github-com-cilium-ebpf))) + (home-page "https://github.com/jsimonetti/rtnetlink") + (synopsis "rtnetlink") + (description + "Package rtnetlink allows the kernel's routing tables to be read and altered. +Network routes, IP addresses, Link parameters, Neighbor setups, Queueing +disciplines, Traffic classes and Packet classifiers may all be controlled. It +is based on netlink messages.") + (license license:expat))) + (define-public go-github-com-vishvananda-netlink (package (name "go-github-com-vishvananda-netlink")