Subject: [bug#67106] [PATCH 30/36] gnu: Add rust-pnet-base-0.27.

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

* gnu/packages/crates-io.scm (rust-pnet-base-0.27): New variable.

Change-Id: Ic1677cb90a0381f7b94834780063086ea52cf1d9
---
 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 2bd3f682bc..a1e0d816d7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -52117,6 +52117,29 @@ (define-public rust-pmutil-0.5
     (description "This package provides utils for proc-macro.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-pnet-base-0.27
+  (package
+    (name "rust-pnet-base")
+    (version "0.27.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "pnet-base" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1v8bcbv9jh581ill77qjzzw2ay76pl781982yclj3xky96m8hijf"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs
+       (("rust-serde-test" ,rust-serde-test-1))))
+    (home-page "https://github.com/libpnet/libpnet")
+    (synopsis "Fundamental base types and code used by pnet.")
+    (description "This crate implements fundamental base types and
+code used by pnet.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-pocket-resources-0.3
   (package
     (name "rust-pocket-resources")
-- 
2.41.0