Subject: [PATCH rust-team 20/46] gnu: Add rust-netlink-sys-0.8.

From: Tomas Volf <[email-masked]>
Date: Thu, 15 Feb 2024 21:26:33 +0100

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

Change-Id: I0028e4f9b2c7eb830914abcf9371d24630d3a523
---
 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 91fcaf1c5e..6a75d6862d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39900,6 +39900,33 @@ (define-public rust-net2-0.2
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-netlink-sys-0.8
+  (package
+    (name "rust-netlink-sys")
+    (version "0.8.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "netlink-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "04842pp457q7g14d6a61j70k60zg2wrbz0cmda3ka0dcww4bywb4"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-async-io" ,rust-async-io-1)
+                       ("rust-bytes" ,rust-bytes-1)
+                       ("rust-futures" ,rust-futures-0.3)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-mio" ,rust-mio-0.8)
+                       ("rust-tokio" ,rust-tokio-1))))
+    (home-page "https://github.com/rust-netlink/netlink-sys")
+    (synopsis "Netlink sockets, with optional integration with tokio")
+    (description "The @code{netlink_sys} crate provides netlink
+sockets.  Integration with mio and tokio is optional.")
+    (license license:expat)))
+
 (define-public rust-netmap-sys-0.1
   (package
     (name "rust-netmap-sys")
-- 
2.41.0