guix-commits
[Top][All Lists]
Advanced

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

24/32: gnu: Add rust-blocking-0.4.


From: guix-commits
Subject: 24/32: gnu: Add rust-blocking-0.4.
Date: Mon, 4 Jan 2021 13:33:10 -0500 (EST)

ngz pushed a commit to branch master
in repository guix.

commit 9e17c5aed8b02c7709180d7ecac985a13be50b88
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon Dec 21 01:20:24 2020 +0100

    gnu: Add rust-blocking-0.4.
    
    * gnu/packages/crates-io.scm (rust-blocking-0.4): New variable.
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d6e5dcb..0986fd1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3261,6 +3261,27 @@ programs.")
         ("rust-once-cell" ,rust-once-cell-1)
         ("rust-waker-fn" ,rust-waker-fn-1))))))
 
+(define-public rust-blocking-0.4
+  (package
+    (inherit rust-blocking-0.6)
+    (name "rust-blocking")
+    (version "0.4.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "blocking" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0av1h5p6lb5bpzghmzsksx31icvdwrpxxzkq6r56n1l5pzvqyinj"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-async-channel" ,rust-async-channel-1)
+        ("rust-atomic-waker" ,rust-atomic-waker-1)
+        ("rust-futures-lite" ,rust-futures-lite-0.1)
+        ("rust-once-cell" ,rust-once-cell-1)
+        ("rust-parking" ,rust-parking-1)
+        ("rust-waker-fn" ,rust-waker-fn-1))))))
+
 (define-public rust-bresenham-0.1
   (package
     (name "rust-bresenham")



reply via email to

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