From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id UFnaKw6gT2WeOQAAauVa8A:P1 (envelope-from ) for ; Sat, 11 Nov 2023 16:38:54 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id UFnaKw6gT2WeOQAAauVa8A (envelope-from ) for ; Sat, 11 Nov 2023 16:38:54 +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 9EF8360D80 for ; Sat, 11 Nov 2023 16:38:54 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=c9S2sdD4; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1699717134; 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:dkim-signature; bh=VW1M+Y+N4pf51FjS1hZXG9kHipRwdQVdQjhAQ/RlMaA=; b=AWW3FStI4oefZU3C2BX6unqv/dHulrXhYW/OHsCWIJvOa2gg2QTNBGlErumYrYV4hI6kuK Z1jazZoKIwYPr1c5zkNT3f/dvKnNPssxLFu5ntncmGS9VZIKMCrXvjsDwtZuf//zhmn0g8 guEzR2sU06H+0R72S3N155ueMXG12u80vojoBY6Ml1iojMEgJVfD+g5NXfqyZ7tpVpQHic De8/ONfiItFMH4iRfZ9h5ZzF6I2ChMBWLUBaGIeuO3sIVycVU5fLnXPwWEmk65q3sqmdYj ljg4/bzdVPvbYf/j8AbUgM/j1fhgX3aM7V+xBnwrpBWzLvlnhWlIuudGA/FGwg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=c9S2sdD4; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1699717134; a=rsa-sha256; cv=none; b=PCOl0ybXycl+i5vC9wSt9nt+ub6TX07r2KQvbYKEHFHSS97hqTHky0P6SgX4O7hkSRpFfU VKwSDNcLXDPPte9ECKLKnUgUX+pNrfPCd33PWPrxUzFq5UaAOovZx/NUKJIGHnBPs2tbsO ZViDniDRM8yMMeem/7vQrQ69gKbEUgTWeJuiVnsPR0rmGp60jTGp7OyxLs/jliQu2/GO9w JTMg4nlAIocwBZuT10AlpPkudPFP+qwGuKK3dnezE3ZtG93p6f4iGG69SK34UalAvimw2o +hc0hlORe5XAPKCD1at4bS/4uyI+/1FuXhlEhb5jDsV5n8Tk/OIejeFj3h5akA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r1q3E-0001XJ-W7; Sat, 11 Nov 2023 10:37:38 -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 1r1q3C-0001Vx-39 for guix-patches@gnu.org; Sat, 11 Nov 2023 10:37:34 -0500 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 1r1q3B-0002JM-Rg for guix-patches@gnu.org; Sat, 11 Nov 2023 10:37:33 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r1q3q-0001ur-73; Sat, 11 Nov 2023 10:38:14 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67077] [PATCH 29/36] gnu: Add rust-pcap-0.7. Resent-From: =?UTF-8?Q?V=C3=96R=C3=96SK=C5=90I_?= =?UTF-8?Q?Andr=C3=A1s?= Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Sat, 11 Nov 2023 15:38:14 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67077 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 67077@debbugs.gnu.org Cc: =?UTF-8?Q?V=C3=96R=C3=96SK=C5=90I_?= =?UTF-8?Q?Andr=C3=A1s?= , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 67077-submit@debbugs.gnu.org id=B67077.16997170717027 (code B ref 67077); Sat, 11 Nov 2023 15:38:14 +0000 Received: (at 67077) by debbugs.gnu.org; 11 Nov 2023 15:37:51 +0000 Received: from localhost ([127.0.0.1]:53862 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r1q3S-0001pB-Nv for submit@debbugs.gnu.org; Sat, 11 Nov 2023 10:37:51 -0500 Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]:59591) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r1q3O-0001nY-I0 for 67077@debbugs.gnu.org; Sat, 11 Nov 2023 10:37:46 -0500 Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-9c773ac9b15so444612166b.2 for <67077@debbugs.gnu.org>; Sat, 11 Nov 2023 07:37:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699717020; x=1700321820; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=VW1M+Y+N4pf51FjS1hZXG9kHipRwdQVdQjhAQ/RlMaA=; b=c9S2sdD4R0VLuUYSPaIgzMbsyaHXCktmDgo3zxTInYCjA4Y7Gs/UaGwIJ0GWbWwWYf ZlMa1j0MO9iLl3y6tCUNiaR/LccmQ+FjILFUHCT0+zc4/H+Ga3LsLwGfBOmlgWMjos+g ds8XxAUCdnkoicknRM3N2ujeebfbzVrjy1fz6qXo78azvwfOXj62OFE5C5qmu2ApX6Tv JhOGBSDyDpo58OJuVl6iTG7DTwNGLnDHqnrqgjatlxGjB46y09ui2sGTjWlLBR2+VGPG PO91w8xvVl5mIx9VFO9qE4GQaYp3Q1g6F9fD/PxiuBBivg6X+yok6H3xpcYsnlUMC/MT 7LQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699717020; x=1700321820; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=VW1M+Y+N4pf51FjS1hZXG9kHipRwdQVdQjhAQ/RlMaA=; b=EA3M/vkSxv8tyTMeJJrvBEyOfeh4kVK7SJdx81mbSApWDv163NiivRFvwXuDLzrf/T 2cNJaGklNuBEH1q4juBbR3y92/mHiPK8qQSsxV+lmprnL4wcGJb8gNflHNBcNjtfdWvT x2wUh19Du16Px4nmvwTMw1YHVLp3XDZqUc+dRoQuTQ6pWUlqUFc3pu919FuLUf8WeoSt yKw6PjUe0AjLhPssTLm+w6+ct2BwkJEfiZWfXI2aUmaADuAwBgFyAKwjDEr9B9i/Gdkq Aeqw+ZxD2fvCMeWLpMkU7Mj5HHqBWGQ/6frAAtfn8Sam2UOAsv/sXVKtUhicf/FfkTKH LCvw== X-Gm-Message-State: AOJu0YywTmuHemqLFcQYSQ+C8jZNTongndpQzQBYC/RjxN6+/aE4m8ti WeenrCo1Lp9f6E/mdrQEsMwDOSXz90A= X-Google-Smtp-Source: AGHT+IGGItqCrMG5IDThqcnlnZ2hZciFIESD6CIERxx5VDxGvXhY3ZI4NUiiz3IkERbAnL5cNWVKRA== X-Received: by 2002:a17:906:cc49:b0:9c4:b8c9:1bf3 with SMTP id mm9-20020a170906cc4900b009c4b8c91bf3mr1531993ejb.27.1699717020385; Sat, 11 Nov 2023 07:37:00 -0800 (PST) Received: from localhost (87-97-126-53.pool.digikabel.hu. [87.97.126.53]) by smtp.gmail.com with ESMTPSA id bh2-20020a170906a0c200b009e6b055fa88sm1224459ejb.148.2023.11.11.07.36.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Nov 2023 07:37:00 -0800 (PST) From: =?UTF-8?Q?V=C3=96R=C3=96SK=C5=90I_?= =?UTF-8?Q?Andr=C3=A1s?= Date: Sat, 11 Nov 2023 16:35:37 +0100 Message-ID: <6541507f8c32e1f2bdbef4f3925d31ee322a4c44.1699716943.git.voroskoi@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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: 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-Migadu-Spam-Score: 4.39 X-Spam-Score: 4.39 X-Migadu-Queue-Id: 9EF8360D80 X-Migadu-Scanner: mx13.migadu.com X-TUID: LSPVJjLB1uBb * gnu/packages/crates-io.scm (rust-pcap-0.7): New variable. Change-Id: I7f6f1056208ebefaef537a9eeefff6c80fbc906e --- gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3b30ab5253..2bd3f682bc 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -49961,6 +49961,34 @@ (define-public rust-pbkdf2-0.4 ("rust-sha-1" ,rust-sha-1-0.9) ("rust-sha2" ,rust-sha2-0.9)))))) +(define-public rust-pcap-0.7 + (package + (name "rust-pcap") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pcap" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "14blflnbj87z3ajlj1hszsl6k7rwa338y4aw2yjm2j0xdpjvj4pr")))) + (native-inputs (list libpcap)) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ;; fails with missing futures crate + #:cargo-inputs + (("rust-clippy" ,rust-clippy-0.0) + ("rust-futures" ,rust-futures-0.1) + ("rust-libc" ,rust-libc-0.2) + ("rust-mio" ,rust-mio-0.6) + ("rust-tokio-core" ,rust-tokio-core-0.1)) + #:cargo-development-inputs + (("rust-tempdir" ,rust-tempdir-0.3)))) + (home-page "https://github.com/rust-pcap/pcap") + (synopsis "A packet capture API around pcap/wpcap") + (description "This package provides a packet capture API around pcap/wpcap.") + (license (list license:expat license:asl2.0)))) + (define-public rust-pcap-sys-0.1 (package (name "rust-pcap-sys") -- 2.41.0