guix-commits
[Top][All Lists]
Advanced

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

408/470: gnu: Add rust-crossterm-winapi-0.9.


From: guix-commits
Subject: 408/470: gnu: Add rust-crossterm-winapi-0.9.
Date: Thu, 16 Mar 2023 03:02:25 -0400 (EDT)

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

commit d40b204adce4f7f71b243ae807a591551320fd19
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Mar 9 16:27:16 2023 +0200

    gnu: Add rust-crossterm-winapi-0.9.
    
    * gnu/packages/crates-io.scm (rust-crossterm-winapi-0.9): New variable.
    (rust-crossterm-winapi-0.8): Inherit from rust-crossterm-winapi-0.9.
---
 gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++--------
 1 file changed, 24 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index aef09cde01..3d140fe8c0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14708,8 +14708,31 @@ terminals.")
         ("rust-signal-hook" ,rust-signal-hook-0.1)
         ("rust-winapi" ,rust-winapi-0.3))))))
 
+(define-public rust-crossterm-winapi-0.9
+  (package
+    (name "rust-crossterm-winapi")
+    (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 
"075z15gxm4rn5yywq46khbg29bf504ix0f06zq3hx8aa91db7q9a"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-winapi" ,rust-winapi-0.3))))
+    (home-page "https://github.com/crossterm-rs/crossterm-winapi";)
+    (synopsis "Basic simple abstractions around common WinAPI calls")
+    (description
+     "This package is a WinAPI wrapper that provides some basic simple
+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
@@ -14719,16 +14742,9 @@ terminals.")
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "01q57jwnlicqxa2igg5nig3916kf5w6sqgbxk40q6hr2frh6cs9s"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
-       #:cargo-inputs (("rust-winapi" ,rust-winapi-0.3))))
-    (home-page "https://github.com/crossterm-rs/crossterm-winapi";)
-    (synopsis "Basic simple abstractions around common WinAPI calls")
-    (description
-     "This package is a WinAPI wrapper that provides some basic simple
-abstractions around common WinAPI calls.")
-    (license license:expat)))
+       #:cargo-inputs (("rust-winapi" ,rust-winapi-0.3))))))
 
 (define-public rust-crossterm-winapi-0.7
   (package



reply via email to

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