gnu: Add rust-pcap-sys-0.1.

* gnu/packages/crates-io.scm (rust-pcap-sys-0.1): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
Milkey Mouse 2021-08-31 20:54:18 -07:00 committed by Nicolas Goaziou
parent 759530abf4
commit 1e5ebd876c
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -42,6 +42,7 @@ (define-module (gnu packages crates-io)
#: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)
@ -32136,6 +32137,32 @@ (define-public rust-pbkdf2-0.3
("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")