diff mbox series

[bug#56064,gnu:,Add,dua-cli.,08/27] gnu: Add rust-crossterm-winapi-0.8.

Message ID 20220618195656.10108-9-antlers@luris.net
State New
Headers show
Series gnu: Add dua-cli. | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

antlers June 18, 2022, 7:56 p.m. UTC
* gnu/packages/crates-io.scm (rust-crossterm-winapi-0.9): New variable.
(rust-crossterm-winapi-0.8): Inherit from rust-crossterm-winapi-0.9.
---
:100644 100644 ba10e5b5f2 cf14f1f4dc M	gnu/packages/crates-io.scm
 gnu/packages/crates-io.scm | 22 +++++++++++++++++++---
 1 file changed, 19 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ba10e5b5f2..cf14f1f4dc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14766,17 +14766,17 @@  (define-public rust-crossterm-0.13
         ("rust-serde" ,rust-serde-1)
         ("rust-winapi" ,rust-winapi-0.3))))))
 
-(define-public rust-crossterm-winapi-0.8
+(define-public rust-crossterm-winapi-0.9
   (package
     (name "rust-crossterm-winapi")
-    (version "0.8.0")
+    (version "0.9.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "crossterm_winapi" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "01q57jwnlicqxa2igg5nig3916kf5w6sqgbxk40q6hr2frh6cs9s"))))
+        (base32 "075z15gxm4rn5yywq46khbg29bf504ix0f06zq3hx8aa91db7q9a"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
@@ -14788,6 +14788,22 @@  (define-public rust-crossterm-winapi-0.8
 abstractions around common WinAPI calls.")
     (license license:expat)))
 
+(define-public rust-crossterm-winapi-0.8
+  (package
+    (inherit rust-crossterm-winapi-0.9)
+    (name "rust-crossterm-winapi")
+    (version "0.8.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "crossterm_winapi" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "01q57jwnlicqxa2igg5nig3916kf5w6sqgbxk40q6hr2frh6cs9s"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-winapi" ,rust-winapi-0.3))))))
+
 (define-public rust-crossterm-winapi-0.7
   (package
     (inherit rust-crossterm-winapi-0.8)