Subject: [bug#69170] [PATCH rust-team 26/46] gnu: Add rust-netlink-proto-0.11.

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

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

Change-Id: I24dc7bcceb49440038acb1c2957c852b9109307e
---
 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 f88a9dc656..80acbe7680 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40051,6 +40051,33 @@ (define-public rust-netlink-packet-route-0.19
 this crate is saving netlink user from reading Kernel Netlink codes.")
     (license license:expat)))
 
+(define-public rust-netlink-proto-0.11
+  (package
+    (name "rust-netlink-proto")
+    (version "0.11.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "netlink-proto" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "089zwrf5l30cwqgjlcy3k9x97nz6zixl914n6jnvys09vhj3bcw6"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-bytes" ,rust-bytes-1)
+                       ("rust-futures" ,rust-futures-0.3)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-netlink-packet-core" ,rust-netlink-packet-core-0.7)
+                       ("rust-netlink-sys" ,rust-netlink-sys-0.8)
+                       ("rust-thiserror" ,rust-thiserror-1)
+                       ("rust-tokio" ,rust-tokio-1))))
+    (home-page "https://github.com/rust-netlink/netlink-proto")
+    (synopsis "Async netlink protocol")
+    (description "The @code{netlink-proto} crate is an asynchronous
+implementation of the netlink protocol.")
+    (license license:expat)))
+
 (define-public rust-netmap-sys-0.1
   (package
     (name "rust-netmap-sys")
-- 
2.41.0