Subject: [bug#69170] [PATCH rust-team 32/46] gnu: Add rust-etherparse-0.13.

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

* gnu/packages/crates-io.scm (rust-etherparse-0.13): New variable.

Change-Id: I06afa106197f5547d744092ced03d6327bb77315
---
 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 376c80091e..c174ec33f6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -56332,6 +56332,29 @@ (define-public rust-ethtool-0.2
     (description "Linux Ethtool Communication Library.")
     (license license:expat)))
 
+(define-public rust-etherparse-0.13
+  (package
+    (name "rust-etherparse")
+    (version "0.13.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "etherparse" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "146rcbnhlpcbl6c6csfhvz0227wbiwhk13md6acq8211b7m94wl2"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-arrayvec" ,rust-arrayvec-0.7))))
+    (home-page "https://github.com/JulianSchmid/etherparse")
+    (synopsis
+     "A library for parsing & writing a bunch of packet based protocols")
+    (description
+     "This package provides a library for parsing & writing a bunch of packet
+based protocols (@code{EthernetII}, IPv4, IPv6, UDP, TCP ...).")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-rust-hawktracer-0.7
   (package
     (name "rust-rust-hawktracer")
-- 
2.41.0