guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

53/330: gnu: Add rust-reedline-0.30.


From: guix-commits
Subject: 53/330: gnu: Add rust-reedline-0.30.
Date: Mon, 18 Mar 2024 07:15:08 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit af1b2ece401be57b5556a749cc9b60c4fdecb041
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Mar 14 12:30:27 2024 +0200

    gnu: Add rust-reedline-0.30.
    
    * gnu/packages/crates-io.scm (rust-reedline-0.30): New variable.
    
    Change-Id: I872749a481c79bbe969ee2a0840b37c35b9fd567
---
 gnu/packages/crates-io.scm | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a77dcea919..0e886f8de9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -54776,6 +54776,46 @@ functionality")
 initial value.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-reedline-0.30
+  (package
+    (name "rust-reedline")
+    (version "0.30.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "reedline" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1z5q65x873112q2a3rpsrnvb12widbxmp5qymv9kgjfqlnk9yfj1"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-arboard" ,rust-arboard-3)
+                       ("rust-chrono" ,rust-chrono-0.4)
+                       ("rust-crossbeam" ,rust-crossbeam-0.8)
+                       ("rust-crossterm" ,rust-crossterm-0.27)
+                       ("rust-fd-lock" ,rust-fd-lock-3)
+                       ("rust-itertools" ,rust-itertools-0.12)
+                       ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.50)
+                       ("rust-rusqlite" ,rust-rusqlite-0.31)
+                       ("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))
+       #:cargo-development-inputs
+       (("rust-gethostname" ,rust-gethostname-0.4)
+        ("rust-pretty-assertions" ,rust-pretty-assertions-1)
+        ("rust-rstest" ,rust-rstest-0.18)
+        ("rust-tempfile" ,rust-tempfile-3))))
+    (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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]