Subject: [bug#69170] [PATCH rust-team 23/46] gnu: Add rust-netlink-packet-generic-0.3.

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

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

Change-Id: Iecbcc093e542a74c9ee60f04fcbf8fe6b7b201b1
---
 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 f1b0ace050..bc04b1b14b 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-generic-0.3
+  (package
+    (name "rust-netlink-packet-generic")
+    (version "0.3.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "netlink-packet-generic" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "12rhb95ayx63zb55mz8z5vc5lghk92s8bxmpiimlrj1isf5fpmqw"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+                       ("rust-byteorder" ,rust-byteorder-1)
+                       ("rust-netlink-packet-core" ,rust-netlink-packet-core-0.7)
+                       ("rust-netlink-packet-utils" ,rust-netlink-packet-utils-0.5))))
+    (home-page "https://github.com/rust-netlink/netlink-packet-generic")
+    (synopsis "Generic netlink packet types")
+    (description "Generic netlink packet types.")
+    (license license:expat)))
+
 (define-public rust-netlink-packet-utils-0.5
   (package
     (name "rust-netlink-packet-utils")
-- 
2.41.0