From: Milkey Mouse <milkeymouse@meme.institute>
To: 50310@debbugs.gnu.org
Subject: [bug#50310] [PATCH 19/22] gnu: Add rust-pcap-sys-0.1.
Date: Tue, 31 Aug 2021 20:54:18 -0700 [thread overview]
Message-ID: <20210901035421.964348-19-milkeymouse@meme.institute> (raw)
In-Reply-To: <20210901035421.964348-1-milkeymouse@meme.institute>
* gnu/packages/crates-io.scm (rust-pcap-sys-0.1): New variable.
---
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4689898f8f..7115d27a30 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -42,6 +42,7 @@
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (gnu packages)
+ #:use-module (gnu packages admin)
#:use-module (gnu packages cmake)
#:use-module (gnu packages compression)
#:use-module (gnu packages crates-graphics)
@@ -32085,6 +32086,32 @@ in pure Rust.")
("rust-sha-1" ,rust-sha-1-0.8)
("rust-sha2" ,rust-sha2-0.8))))))
+(define-public rust-pcap-sys-0.1
+ (package
+ (name "rust-pcap-sys")
+ (version "0.1.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pcap-sys" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "18w9c8i5zjnazay86219w4789482ya617z35cw433h12wbgjaiqi"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-pkg-config" ,rust-pkg-config-0.3)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (inputs `(("libpcap" ,libpcap)))
+ (home-page "https://github.com/jmmk/rustcap")
+ (synopsis "Low-level bindings to libpcap")
+ (description "This package provides low-level Rust bindings to the libpcap
+library.")
+ (license license:expat)))
+
(define-public rust-pcre2-0.2
(package
(name "rust-pcre2")
--
2.33.0
next prev parent reply other threads:[~2021-09-01 3:57 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-01 3:50 [bug#50310] [PATCH 00/22] gnu: Add sniffglue Milkey Mouse
2021-09-01 3:54 ` [bug#50310] [PATCH 01/22] gnu: Add rust-rustyline-derive-0.2 Milkey Mouse
2021-09-01 3:54 ` [bug#50310] [PATCH 02/22] gnu: Add rust-rustyline-5 Milkey Mouse
2021-09-01 3:54 ` [bug#50310] [PATCH 03/22] gnu: Add rust-pledge-0.3 Milkey Mouse
2021-09-01 3:54 ` [bug#50310] [PATCH 04/22] gnu: Add rust-bufstream-0.1 Milkey Mouse
2021-09-01 3:54 ` [bug#50310] [PATCH 05/22] gnu: Add rust-elf-0.0.10 Milkey Mouse
2021-09-01 3:54 ` [bug#50310] [PATCH 06/22] gnu: Add rust-boxxy-0.11 Milkey Mouse
2021-09-01 3:54 ` [bug#50310] [PATCH 07/22] gnu: Add rust-rusticata-macros-3 Milkey Mouse
2021-09-01 3:54 ` [bug#50310] [PATCH 08/22] gnu: Add rust-pretty-assertions-0.7 Milkey Mouse
2021-09-01 3:54 ` [bug#50310] [PATCH 09/22] gnu: Add rust-nom-derive-0.7 Milkey Mouse
2021-09-01 3:54 ` [bug#50310] [PATCH 10/22] gnu: Add rust-cookie-factory-0.3 Milkey Mouse
2021-09-01 3:54 ` [bug#50310] [PATCH 11/22] gnu: Add rust-hex-literal-0.3 Milkey Mouse
2021-09-01 3:54 ` [bug#50310] [PATCH 12/22] gnu: Add rust-tls-parser-0.10 Milkey Mouse
2021-09-01 3:54 ` [bug#50310] [PATCH 13/22] gnu: Add rust-strum-macros-0.19 Milkey Mouse
2021-09-01 3:54 ` [bug#50310] [PATCH 14/22] gnu: Add rust-strum-0.19 Milkey Mouse
2021-09-01 3:54 ` [bug#50310] [PATCH 15/22] gnu: Add rust-seccomp-sys-0.1 Milkey Mouse
2021-09-01 3:54 ` [bug#50310] [PATCH 16/22] gnu: Add rust-syscallz-0.15 Milkey Mouse
2021-09-01 3:54 ` [bug#50310] [PATCH 17/22] gnu: Add rust-reduce-0.1 Milkey Mouse
2021-09-01 3:54 ` [bug#50310] [PATCH 18/22] gnu: Add rust-pktparse-0.5 Milkey Mouse
2021-09-01 3:54 ` Milkey Mouse [this message]
2021-09-01 3:54 ` [bug#50310] [PATCH 20/22] gnu: Add rust-enum-primitive-derive-0.2 Milkey Mouse
2021-09-01 3:54 ` [bug#50310] [PATCH 21/22] gnu: Add rust-dhcp4r-0.2 Milkey Mouse
2021-09-01 3:54 ` [bug#50310] [PATCH 22/22] gnu: Add sniffglue Milkey Mouse
2021-09-07 20:04 ` bug#50310: [PATCH 00/22] " Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210901035421.964348-19-milkeymouse@meme.institute \
--to=milkeymouse@meme.institute \
--cc=50310@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).