summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVÖRÖSKŐI András <voroskoi@gmail.com>2023-11-11 16:35:40 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:56:29 +0200
commit2b91d5c3d8ff65a2d214cd7dca5ff76c3cd06c9e (patch)
treeb52b84f6caf7714b8669cdb02cb4b5f4cb2799ba
parentc59adcbc8db833dbfacd81745e845deea3c19500 (diff)
gnu: Add rust-pnet-sys-0.27.
* gnu/packages/crates-io.scm (rust-pnet-sys-0.27): New variable. Change-Id: I54773c4bc2d03d42c6f7cfdbc6c405fb030cee83 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cefc12e7d9..01f28c53e9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -56621,6 +56621,29 @@ both WASM and native applications")
"This crate implements cross-platform, datalink layer networking.")
(license (list license:expat license:asl2.0))))
+(define-public rust-pnet-sys-0.27
+ (package
+ (name "rust-pnet-sys")
+ (version "0.27.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pnet_sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "05gz5xixzvs5iw7a3l0r7sic7s44x8xmv9pqvzzs6wpdwz2f92bm"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; Tries to use sockets.
+ #:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (home-page "https://github.com/libpnet/libpnet")
+ (synopsis "Access to network related system functions")
+ (description
+ "This crate providess access to network related system function and calls.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-pocket-resources-0.3
(package
(name "rust-pocket-resources")