Subject: [bug#67077] [PATCH 28/36] gnu: Add rust-netmap-sys-0.1.

From: VÖRÖSKŐI András <[email-masked]>
Date: Sat, 11 Nov 2023 16:35:36 +0100

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e3bc4bf3be..3b30ab5253 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -43949,6 +43949,28 @@ (define-public rust-net2-0.2
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-netmap-sys-0.1
+  (package
+    (name "rust-netmap-sys")
+    (version "0.1.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "netmap-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0wgwjx2hdqbjvdpccqb0cg4gjxazgxfz8s966bq5g8z56xik95a5"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-libc" ,rust-libc-0.2))
+       #:cargo-development-inputs
+       (("rust-cc" ,rust-cc-1))))
+    (home-page "http://info.iet.unipi.it/~luigi/netmap/")
+    (synopsis "Bindings to netmap")
+    (description "This crate provides bindings to netmap, the fast packet I/O framework.")
+    (license license:bsd-2)))
+
 (define-public rust-nettle-7
   (package
     (name "rust-nettle")
-- 
2.41.0