guix-commits
[Top][All Lists]
Advanced

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

261/330: gnu: Add rust-rustyline-13.


From: guix-commits
Subject: 261/330: gnu: Add rust-rustyline-13.
Date: Mon, 18 Mar 2024 07:16:32 -0400 (EDT)

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

commit 2ad91e8318797b8e8254ed42c3c1663f90bcff83
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Mar 18 11:35:12 2024 +0200

    gnu: Add rust-rustyline-13.
    
    * gnu/packages/crates-io.scm (rust-rustyline-13): New variable.
    (rust-rustyline-12): Inherit from rust-rustyline-13.
    
    Change-Id: I012f07c24adb44c424e8fe03fbc4dd820e4e96e6
---
 gnu/packages/crates-io.scm | 55 ++++++++++++++++++++++++++++++++++++++++------
 1 file changed, 48 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b7b568d4dd..76116b984c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -61597,8 +61597,55 @@ sub-processes using a fork-like interface.")
         ("rust-tempfile" ,rust-tempfile-3)
         ("rust-wait-timeout" ,rust-wait-timeout-0.2))))))
 
+(define-public rust-rustyline-13
+  (package
+    (name "rust-rustyline")
+    (version "13.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "rustyline" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "11mywskk2jcxhanlsgzza5yx6ywpdlzr64qhbgpsx45clj1xd8h2"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-test-flags '("--release" "--"
+                            "--skip=binding::test::size_of_event")
+       #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+                       ("rust-cfg-if" ,rust-cfg-if-1)
+                       ("rust-clipboard-win" ,rust-clipboard-win-5)
+                       ("rust-fd-lock" ,rust-fd-lock-4)
+                       ("rust-home" ,rust-home-0.5)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-memchr" ,rust-memchr-2)
+                       ("rust-nix" ,rust-nix-0.27)
+                       ("rust-radix-trie" ,rust-radix-trie-0.2)
+                       ("rust-regex" ,rust-regex-1)
+                       ("rust-rusqlite" ,rust-rusqlite-0.30)
+                       ("rust-rustyline-derive" ,rust-rustyline-derive-0.10)
+                       ("rust-signal-hook" ,rust-signal-hook-0.3)
+                       ("rust-skim" ,rust-skim-0.10)
+                       ("rust-termios" ,rust-termios-0.3)
+                       ("rust-unicode-segmentation" 
,rust-unicode-segmentation-1)
+                       ("rust-unicode-width" ,rust-unicode-width-0.1)
+                       ("rust-utf8parse" ,rust-utf8parse-0.2)
+                       ("rust-winapi" ,rust-winapi-0.3))
+       #:cargo-development-inputs (("rust-assert-matches" 
,rust-assert-matches-1)
+                                   ("rust-doc-comment" ,rust-doc-comment-0.3)
+                                   ("rust-env-logger" ,rust-env-logger-0.10)
+                                   ("rust-rand" ,rust-rand-0.8)
+                                   ("rust-tempfile" ,rust-tempfile-3))))
+    (home-page "https://github.com/kkawakam/rustyline";)
+    (synopsis "Readline implementation in Rust")
+    (description
+     "Rustyline is a readline implementation based on the linenoise package.")
+    (license license:expat)))
+
 (define-public rust-rustyline-12
   (package
+    (inherit rust-rustyline-13)
     (name "rust-rustyline")
     (version "12.0.0")
     (source
@@ -61608,7 +61655,6 @@ sub-processes using a fork-like interface.")
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "1fcxgkz6hia74wnwnf1b92s69gnij5xgr42xw637xj05r95wlklr"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
                        ("rust-cfg-if" ,rust-cfg-if-1)
@@ -61634,12 +61680,7 @@ sub-processes using a fork-like interface.")
                                    ("rust-doc-comment" ,rust-doc-comment-0.3)
                                    ("rust-env-logger" ,rust-env-logger-0.10)
                                    ("rust-rand" ,rust-rand-0.8)
-                                   ("rust-tempfile" ,rust-tempfile-3))))
-    (home-page "https://github.com/kkawakam/rustyline";)
-    (synopsis "Readline implementation in Rust")
-    (description
-     "Rustyline is a readline implementation based on the linenoise package.")
-    (license license:expat)))
+                                   ("rust-tempfile" ,rust-tempfile-3))))))
 
 (define-public rust-rustyline-10
   (package



reply via email to

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