summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorAndrew Jose <arnav.jose@gmail.com>2023-10-03 14:26:39 +0530
committerEfraim Flashner <efraim@flashner.co.il>2023-11-28 07:59:24 +0200
commit370a1bcaf316dd9dcc133a6d3f5a646c69a704da (patch)
treea22f258a364399cdffa3fd98279f282c1d1b363e /gnu
parent219d0a43731b81747e6a2792bf770c6d424647f6 (diff)
downloadguix-370a1bcaf316dd9dcc133a6d3f5a646c69a704da.tar.gz
gnu: Add rust-crossterm-0.27.
* gnu/packages/crates-io.scm (rust-crossterm-0.27): New variable.
(rust-crossterm-0.25): Inherit from rust-crossterm-0.27.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I3c0ae996bed6806b5f7f8bd58870b6e0616ff61b
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm41
1 files changed, 37 insertions, 4 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 46f1734fe0..117ae7d52b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17841,21 +17841,21 @@ rasterizing glyphs, using native font engines whenever possible.")
         ("rust-servo-fontconfig" ,rust-servo-fontconfig-0.5)
         ("rust-winapi" ,rust-winapi-0.3))))))
 
-(define-public rust-crossterm-0.26
+(define-public rust-crossterm-0.27
   (package
     (name "rust-crossterm")
-    (version "0.26.1")
+    (version "0.27.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "crossterm" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "04rxvmbf3scywy0m7rhg586lf833vpb33czijxi80fakadkxlk58"))))
+        (base32 "1pr413ki440xgddlmkrc4j1bfx1h8rpmll87zn8ykja1bm2gwxpl"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
-       (("rust-bitflags" ,rust-bitflags-1)
+       (("rust-bitflags" ,rust-bitflags-2)
         ("rust-crossterm-winapi" ,rust-crossterm-winapi-0.9)
         ("rust-filedescriptor" ,rust-filedescriptor-0.8)
         ("rust-futures-core" ,rust-futures-core-0.3)
@@ -17871,6 +17871,7 @@ rasterizing glyphs, using native font engines whenever possible.")
         ("rust-futures" ,rust-futures-0.3)
         ("rust-futures-timer" ,rust-futures-timer-3)
         ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-serial-test" ,rust-serial-test-2)
         ("rust-tokio" ,rust-tokio-1))))
     (home-page "https://github.com/crossterm-rs/crossterm")
     (synopsis "Crossplatform terminal library for manipulating terminals")
@@ -17879,6 +17880,38 @@ rasterizing glyphs, using native font engines whenever possible.")
 terminals.")
     (license license:expat)))
 
+(define-public rust-crossterm-0.26
+  (package
+    (inherit rust-crossterm-0.27)
+    (name "rust-crossterm")
+    (version "0.26.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "crossterm" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "04rxvmbf3scywy0m7rhg586lf833vpb33czijxi80fakadkxlk58"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-bitflags" ,rust-bitflags-1)
+        ("rust-crossterm-winapi" ,rust-crossterm-winapi-0.9)
+        ("rust-filedescriptor" ,rust-filedescriptor-0.8)
+        ("rust-futures-core" ,rust-futures-core-0.3)
+        ("rust-libc" ,rust-libc-0.2)
+        ("rust-mio" ,rust-mio-0.8)
+        ("rust-parking-lot" ,rust-parking-lot-0.12)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-signal-hook" ,rust-signal-hook-0.3)
+        ("rust-signal-hook-mio" ,rust-signal-hook-mio-0.2)
+        ("rust-winapi" ,rust-winapi-0.3))
+       #:cargo-development-inputs
+       (("rust-async-std" ,rust-async-std-1)
+        ("rust-futures" ,rust-futures-0.3)
+        ("rust-futures-timer" ,rust-futures-timer-3)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-tokio" ,rust-tokio-1))))))
+
 (define-public rust-crossterm-0.25
   (package
     (inherit rust-crossterm-0.26)