guix-commits
[Top][All Lists]
Advanced

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

34/299: gnu: Add rust-futures-select-macro-preview-0.3.


From: guix-commits
Subject: 34/299: gnu: Add rust-futures-select-macro-preview-0.3.
Date: Thu, 2 Jan 2020 13:19:06 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 14f2988004f390c22eb49ad776bb02faa196e4a4
Author: John Soo <address@hidden>
Date:   Sat Dec 14 10:13:26 2019 -0800

    gnu: Add rust-futures-select-macro-preview-0.3.
    
    * gnu/packages/crates-io.scm (rust-futures-select-macro-preview-0.3): New 
variable.
    
    Signed-off-by: Efraim Flashner <address@hidden>
---
 gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b15ce0d..7c6fd8d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1382,6 +1382,35 @@ library.")
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-futures-select-macro-preview-0.3
+  (package
+    (name "rust-futures-select-macro-preview")
+    (version "0.3.0-alpha.17")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "futures-select-macro-preview" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1a90ivjzkgz7msiz5si05xzi8xwsk5gar1gkrbmrgqpgkliqd7a6"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5)
+        ("rust-proc-macro2" ,rust-proc-macro2-0.4)
+        ("rust-quote" ,rust-quote-1.0)
+        ("rust-syn" ,rust-syn-0.15))))
+    (home-page "https://github.com/rust-lang/futures-rs";)
+    (synopsis
+     "Handle the first Future to complete")
+    (description
+     "The @code{select!} macro for waiting on multiple different
+@code{Future}s at once and handling the first one to complete.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-futures-sink-preview-0.3
   (package
     (name "rust-futures-sink-preview")



reply via email to

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