From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kNwGFIAn92MC+wAAbAwnHQ (envelope-from ) for ; Thu, 23 Feb 2023 09:44:48 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id ADQsE4An92P+3QAAG6o9tA (envelope-from ) for ; Thu, 23 Feb 2023 09:44:48 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id F058115ED0 for ; Thu, 23 Feb 2023 09:44:47 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677141888; a=rsa-sha256; cv=none; b=drU0cJH3e6DLAMfvGjOAoRt9pQ/Cf8hcdyT6MYLoBajsaH2GxSqTMK2Jmz06D2KrlMfG42 H/pJ7jswtPMrq995iaPEJfQuQY6O0fMNstyOE+m7uf6vk0m3UQUp0pw6N/WxD8t+DpFUPl dopUDWNbPQNidpQCNrlEM5SOX8j983fjlvebb/ULsTRM7bpcXQaYtyQzyYIfiPAv7vL2UN YBwPiAEgl72107PIyD8ljyQMP4y/zBjm8d+TneDYYKgbtPesgnPiH8tqu0g8ub9Ciccy6/ IZ76q7AyucmBYHMC6RST3Cxivz4h4HYSfGd1Dua7zQJtVL+N30mh3WBhLXGTLA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677141888; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=DQW87LSMaMvm4kZwEgJUQSwQAAMoNv0qi3UxRp6jaTI=; b=Z/4kXG23kSeuntYZm8INkOdtS6GpiEj5CUINtnyY5O5p57ZCzhJbKdNrir6nmrI+GpWSWj tbxTTqqjpNXz1fLP1sMPACDtL58cJHKNo3NkXN7VHpHOBJYnfH7X58BieI0zb8o3D9drVY vYXMi17WS97yaAIZJMRPDquVGEOy/XOFv54J0rke0RCEihcRy/o5tyqFOCqEUbxmjtZsLC sMnq5RgE8befuW+UbiYWWDiGqybJG7pzHxm0kMGasTRYTZC2zI1UzM/C5jg6HueiDXDhLR KRciI4jC9BhUqv1emrvi5I0Ld7glj1Xxl6TnHVIbClC/6jbBwgH8zuw8Y+z/pg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pV7Cx-00045Q-1m; Thu, 23 Feb 2023 03:44:07 -0500 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 1pV7Ct-00043P-Sv for guix-patches@gnu.org; Thu, 23 Feb 2023 03:44:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pV7Ct-0001hA-Kr for guix-patches@gnu.org; Thu, 23 Feb 2023 03:44:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pV7Ct-0000nB-EK for guix-patches@gnu.org; Thu, 23 Feb 2023 03:44:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61727] [PATCH 4/6] gnu: Add rust-if-addrs Resent-From: Steve George Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 23 Feb 2023 08:44:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61727 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 61727@debbugs.gnu.org Cc: Efraim Flashner , Steve George Received: via spool by 61727-submit@debbugs.gnu.org id=B61727.16771418363002 (code B ref 61727); Thu, 23 Feb 2023 08:44:03 +0000 Received: (at 61727) by debbugs.gnu.org; 23 Feb 2023 08:43:56 +0000 Received: from localhost ([127.0.0.1]:32885 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pV7Cm-0000mL-BA for submit@debbugs.gnu.org; Thu, 23 Feb 2023 03:43:56 -0500 Received: from mailtransmit05.runbox.com ([185.226.149.38]:34034) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pV7Ck-0000m9-Rp for 61727@debbugs.gnu.org; Thu, 23 Feb 2023 03:43:55 -0500 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit05.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1pV7Cf-000xfJ-8z for 61727@debbugs.gnu.org; Thu, 23 Feb 2023 09:43:49 +0100 Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1pV7Ce-0007mR-U9; Thu, 23 Feb 2023 09:43:49 +0100 Received: by submission03.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1pV7CT-00013u-Ma; Thu, 23 Feb 2023 09:43:37 +0100 From: Steve George Date: Thu, 23 Feb 2023 08:42:39 +0000 Message-Id: <20230223084241.3762-4-steve@futurile.net> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230223084241.3762-1-steve@futurile.net> References: <20230223084241.3762-1-steve@futurile.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: X-Migadu-Queue-Id: F058115ED0 X-Spam-Score: -2.67 X-Migadu-Spam-Score: -2.67 X-Migadu-Scanner: scn0.migadu.com List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-TUID: wWbs0ig2vMcC * gnu/packages/crates-io.scm (rust-if-addrs): New variable. --- gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c79d2d15d5..26b607753b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -27015,6 +27015,31 @@ (define-public rust-ieee754-0.2 floating-point numbers.") (license (list license:expat license:asl2.0)))) +(define-public rust-if-addrs-0.6 + (package + (name "rust-if-addrs") + (version "0.6.7") + (source (origin + (method url-fetch) + (uri (crate-uri "if-addrs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1pkkkwm9znn07xq9s6glf8lxzn2rdxvy8kwkw6czrw64ywhy8wr2")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #f + #:cargo-inputs + (("rust-if-addrs-sys" ,rust-if-addrs-sys-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-winapi" ,rust-winapi-0.3) + ("rust-cc" ,rust-cc-1)))) + (native-inputs (list iproute)) + (home-page "https://github.com/messense/if-addrs") + (synopsis "Return interface IP addresses on POSIX and Windows systems") + (description "Returns the IP addresses for all network interfaces, +on both POSIX and Microsoft Windows hosts.") + (license (list license:expat license:bsd-3)))) + (define-public rust-if-addrs-sys-0.3 (package (name "rust-if-addrs-sys") -- 2.39.1