Subject: [bug#69170] [PATCH rust-team 21/46] gnu: Add rust-netlink-packet-utils-0.5.

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

* gnu/packages/crates-io.scm (rust-netlink-packet-utils-0.5): New variable.

Change-Id: I520429fecfb72cd4e8c267c188081da1f5fdd0dc
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6a75d6862d..10a108761a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39927,6 +39927,29 @@ (define-public rust-netlink-sys-0.8
 sockets.  Integration with mio and tokio is optional.")
     (license license:expat)))
 
+(define-public rust-netlink-packet-utils-0.5
+  (package
+    (name "rust-netlink-packet-utils")
+    (version "0.5.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "netlink-packet-utils" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0d3xfh9zg0x2hbmh8iws0dvhj69prpx54khfvmfakm8sqw48mphf"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+                       ("rust-byteorder" ,rust-byteorder-1)
+                       ("rust-paste" ,rust-paste-1)
+                       ("rust-thiserror" ,rust-thiserror-1))))
+    (home-page "https://github.com/rust-netlink/netlink-packet-utils")
+    (synopsis "Macros and helpers for parsing netlink messages")
+    (description "Macros and helpers for parsing netlink messages.")
+    (license license:expat)))
+
 (define-public rust-netmap-sys-0.1
   (package
     (name "rust-netmap-sys")
-- 
2.41.0