Subject: [bug#67077] [PATCH 18/36] gnu: Add rust-input-buffer-0.5.

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

* gnu/packages/crates-io.scm (rust-input-buffer-0.5): New variable.

Change-Id: I715153b7d8ef691521319c9a5100e84eb5d3aca8
---
 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 83bdd18cd3..7f9dcbb74f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -34417,6 +34417,29 @@ (define-public rust-inotify-sys-0.1
      "This package provides inotify bindings for the Rust programming language.")
     (license license:isc)))
 
+(define-public rust-input-buffer-0.5
+  (package
+    (name "rust-input-buffer")
+    (version "0.5.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "input_buffer" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "044qxqdkcq6mv07bsvm35hl7hy3rmf87lrxjyz8zaq57i0xngvmc"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-bytes" ,rust-bytes-1))))
+    (home-page "https://github.com/snapview/input_buffer")
+    (synopsis
+     "Peekable FIFO-like buffer for receiving network data efficiently")
+    (description
+     "This package provides a peekable FIFO-like buffer for receiving network
+data efficiently.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-input-buffer-0.3
   (package
     (name "rust-input-buffer")
-- 
2.41.0