[gnu: Add dua-cli. 03/27] gnu: Add rust-crossterm-0.22.

OpenSubmitted by antlers.
Details
2 participants
  • antlers
  • Maxime Devos
Owner
unassigned
Severity
normal
Merged with
A
A
antlers wrote on 18 Jun 21:56 +0200
20220618195656.10108-4-antlers@luris.net
* gnu/packages/crates-io.scm (rust-crossterm-0.22): New variable.
(rust-crossterm-0.20): Inherit from rust-crossterm-0.22.
---
:100644 100644 354385efc1 c14e792b91 M gnu/packages/crates-io.scm
gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++++++----
1 file changed, 30 insertions(+), 4 deletions(-)

Toggle diff (67 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 354385efc1..c14e792b91 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14624,23 +14624,23 @@ (define-public rust-crossfont-0.2
         ("rust-servo-fontconfig" ,rust-servo-fontconfig-0.5)
         ("rust-winapi" ,rust-winapi-0.3))))))
 
-(define-public rust-crossterm-0.20
+(define-public rust-crossterm-0.22
   (package
     (name "rust-crossterm")
-    (version "0.20.0")
+    (version "0.22.1")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "crossterm" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0z8zkk2mfiirbr3slfv564n685yiahr2aj3gdk6k3qymkmmdxsy0"))))
+        (base32 "0p1j2qfby343qf2isv7g78hrp7rkkk7qlg797jvx34a2dhq2amf8"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
        (("rust-bitflags" ,rust-bitflags-1)
-        ("rust-crossterm-winapi" ,rust-crossterm-winapi-0.8)
+        ("rust-crossterm-winapi" ,rust-crossterm-winapi-0.9)
         ("rust-futures-core" ,rust-futures-core-0.3)
         ("rust-libc" ,rust-libc-0.2)
         ("rust-mio" ,rust-mio-0.7)
@@ -14656,6 +14656,32 @@ (define-public rust-crossterm-0.20
 terminals.")
     (license license:expat)))
 
+(define-public rust-crossterm-0.20
+  (package
+    (inherit rust-crossterm-0.22)
+    (name "rust-crossterm")
+    (version "0.20.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "crossterm" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0z8zkk2mfiirbr3slfv564n685yiahr2aj3gdk6k3qymkmmdxsy0"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-bitflags" ,rust-bitflags-1)
+        ("rust-crossterm-winapi" ,rust-crossterm-winapi-0.8)
+        ("rust-futures-core" ,rust-futures-core-0.3)
+        ("rust-libc" ,rust-libc-0.2)
+        ("rust-mio" ,rust-mio-0.7)
+        ("rust-parking-lot" ,rust-parking-lot-0.11)
+        ("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))))))
+
 (define-public rust-crossterm-0.19
   (package
     (inherit rust-crossterm-0.20)
-- 
2.36.0
M
M
Maxime Devos wrote on 19 Jun 11:04 +0200
Re: [bug#56057] [PATCH 00/27] gnu: Add dua-cli.
(address . control@debbugs.gnu.org)
79b17d35358df25550bf846d732a57044c8436dd.camel@telenet.be
merge 56057 56056 56061 56059 56062 56058 56060 56063 56064 56065 56066 56069 56067 56074 56068 56073 56072 56070 56071 56057
thanks
?