diff options
author | VÖRÖSKŐI András <voroskoi@gmail.com> | 2023-11-11 16:35:39 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:56:29 +0200 |
commit | c59adcbc8db833dbfacd81745e845deea3c19500 (patch) | |
tree | ef07d1176c3037e882a7c89edac2ea8d4e7f7939 | |
parent | 2904eac68e5ce2ad4c33d92ba37e391ec12a1eae (diff) |
gnu: Add rust-pnet-datalink-0.27.
* gnu/packages/crates-io.scm (rust-pnet-datalink-0.27): New variable.
Change-Id: I917a2bb2bd0344601e8cf7ae16ad4338973dda88
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r-- | gnu/packages/crates-io.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 5ccabe3e74..cefc12e7d9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -56593,6 +56593,34 @@ both WASM and native applications") "This crate implements fundamental base types and code used by pnet.") (license (list license:expat license:asl2.0)))) +(define-public rust-pnet-datalink-0.27 + (package + (name "rust-pnet-datalink") + (version "0.27.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "pnet_datalink" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1iws7c2mf88ip43ccmr5p8r6kzb6lwsg3amgc4pvy8wx9nf1q02r")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-ipnetwork" ,rust-ipnetwork-0.17) + ("rust-libc" ,rust-libc-0.2) + ("rust-netmap-sys" ,rust-netmap-sys-0.1) + ("rust-pcap" ,rust-pcap-0.7) + ("rust-pnet-base" ,rust-pnet-base-0.27) + ("rust-pnet-sys" ,rust-pnet-sys-0.27) + ("rust-serde" ,rust-serde-1) + ("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://github.com/libpnet/libpnet") + (synopsis "Cross-platform, datalink layer networking") + (description + "This crate implements cross-platform, datalink layer networking.") + (license (list license:expat license:asl2.0)))) + (define-public rust-pocket-resources-0.3 (package (name "rust-pocket-resources") |