Subject: [PATCH 046/228] gnu: Add rust-etherparse-0.9.

From: Herman Rimm <[email-masked]>
Date: Sun, 18 Feb 2024 22:02:44 +0100

* gnu/packages/crates-io.scm (rust-etherparse-0.9): Add variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index dc038eaf97..88a872e494 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22184,6 +22184,23 @@ (define-public rust-etherparse-0.13
 packet based protocols: @code{EthernetII}, IPv4, IPv6, UDP, TCP, etc..")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-etherparse-0.9
+  (package
+    (inherit rust-etherparse-0.13)
+    (name "rust-etherparse")
+    (version "0.9.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "etherparse" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "01s86nj0k663mgxpj3r7y5wr50l5c3aq0pm4rpzyb7hz50i0k8ig"))))
+    (arguments
+     `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1))
+       #:cargo-development-inputs (("rust-assert-matches" ,rust-assert-matches-1)
+                                   ("rust-proptest" ,rust-proptest-0.9))))))
+
 (define-public rust-evdev-0.12
   (package
     (name "rust-evdev")
-- 
2.41.0