guix-commits
[Top][All Lists]
Advanced

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

16/27: gnu: Add rust-easy-parallel-3.


From: guix-commits
Subject: 16/27: gnu: Add rust-easy-parallel-3.
Date: Sun, 3 Jan 2021 16:08:55 -0500 (EST)

ngz pushed a commit to branch master
in repository guix.

commit b5d659110cc209eab86c77fe752357aa68425d70
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun Dec 20 12:51:26 2020 +0100

    gnu: Add rust-easy-parallel-3.
    
    * gnu/packages/crates-io.scm (rust-easy-parallel-3): New variable.
---
 gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f9a1fbe..5fd5f20 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8450,6 +8450,26 @@ floating-point primitives to an @code{io::Write}.")
      "This package provides lightweight binding to DirectWrite.")
     (license license:mpl2.0)))
 
+(define-public rust-easy-parallel-3
+  (package
+    (name "rust-easy-parallel")
+    (version "3.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "easy-parallel" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1x28z540fc4g8fqm1sbpqbpdfbi40mkas4xr57s3yn0jjbbszm0x"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/stjepang/easy-parallel";)
+    (synopsis "Run closures in parallel")
+    (description
+     "This crate provides a simple primitive for spawning threads in bulk and
+waiting for them to complete.  Threads are allowed to borrow local variables
+from the main thread.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-ed25519-1
   (package
     (name "rust-ed25519")



reply via email to

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