GNU bug report logs - #67105
[PATCH 29/36] gnu: Add rust-pcap-0.7.

Previous Next

Package: guix-patches;

Reported by: VÖRÖSKŐI András <voroskoi <at> gmail.com>

Date: Sat, 11 Nov 2023 15:19:27 UTC

Severity: normal

Tags: patch

Done: voroskoi <at> gmail.com

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 67105 in the body.
You can then email your comments to 67105 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#67105; Package guix-patches. (Sat, 11 Nov 2023 15:19:28 GMT) Full text and rfc822 format available.

Acknowledgement sent to VÖRÖSKŐI András <voroskoi <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 11 Nov 2023 15:19:28 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: VÖRÖSKŐI András <voroskoi <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: VÖRÖSKŐI András <voroskoi <at> gmail.com>
Subject: [PATCH 29/36] gnu: Add rust-pcap-0.7.
Date: Sat, 11 Nov 2023 16:16:17 +0100
* 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





bug closed, send any further explanations to 67105 <at> debbugs.gnu.org and VÖRÖSKŐI András <voroskoi <at> gmail.com> Request was from voroskoi <at> gmail.com to control <at> debbugs.gnu.org. (Sat, 11 Nov 2023 15:49:04 GMT) Full text and rfc822 format available.

bug archived. Request was from voroskoi <at> gmail.com to control <at> debbugs.gnu.org. (Sat, 11 Nov 2023 16:14:02 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 259 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.