Subject: [PATCH 40/44] gnu: Add rust-reedline-0.27.

From: Divya Ranjan <[email-masked]>
Date: Sun, 5 Jan 2025 07:04:16 +0000

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d59af92042..d5257dccc2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -62840,6 +62840,41 @@ (define-public rust-redox-users-0.3
         ("rust-redox-syscall" ,rust-redox-syscall-0.1)
         ("rust-rust-argon2" ,rust-rust-argon2-0.8))))))
 
+(define-public rust-reedline-0.27
+  (package
+   (name "rust-reedline")
+   (version "0.27.1")
+   (source
+    (origin
+     (method url-fetch)
+     (uri (crate-uri "reedline" version))
+     (file-name (string-append name "-" version ".tar.gz"))
+     (sha256
+      (base32 "0g9397dfqh0d19jbk2cs7417g2rarmf513v3igxac9nb9j06y107"))))
+   (build-system cargo-build-system)
+   (arguments
+    `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4)
+                      ("rust-clipboard" ,rust-clipboard-0.5)
+                      ("rust-crossbeam" ,rust-crossbeam-0.8)
+                      ("rust-crossterm" ,rust-crossterm-0.27)
+                      ("rust-fd-lock" ,rust-fd-lock-3)
+                      ("rust-itertools" ,rust-itertools-0.10)
+                      ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.49)
+                      ("rust-rusqlite" ,rust-rusqlite-0.29)
+                      ("rust-serde" ,rust-serde-1)
+                      ("rust-serde-json" ,rust-serde-json-1)
+                      ("rust-strip-ansi-escapes" ,rust-strip-ansi-escapes-0.2)
+                      ("rust-strum" ,rust-strum-0.25)
+                      ("rust-strum-macros" ,rust-strum-macros-0.25)
+                      ("rust-thiserror" ,rust-thiserror-1)
+                      ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)
+                      ("rust-unicode-width" ,rust-unicode-width-0.1))))
+   (home-page "https://github.com/nushell/reedline")
+   (synopsis "readline-like crate for CLI text input")
+   (description
+    "This package provides a readline-like crate for CLI text input.")
+   (license license:expat)))
+
 (define-public rust-ref-cast-1
   (package
     (name "rust-ref-cast")
-- 
2.47.1