guix-commits
[Top][All Lists]
Advanced

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

378/470: gnu: Add rust-maybe-rayon-0.1.


From: guix-commits
Subject: 378/470: gnu: Add rust-maybe-rayon-0.1.
Date: Thu, 16 Mar 2023 03:02:19 -0400 (EDT)

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

commit 0723f7beb2c885faddce44687ae9353dbdf6a010
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Feb 23 17:15:10 2023 +0200

    gnu: Add rust-maybe-rayon-0.1.
    
    * gnu/packages/crates-io.scm (rust-maybe-rayon-0.1): 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 e8da7fbab6..d604b4a322 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33519,6 +33519,26 @@ parallelize and optimize.")
      `(#:cargo-inputs (("rust-rawpointer" ,rust-rawpointer-0.1))
        #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1))))))
 
+(define-public rust-maybe-rayon-0.1
+  (package
+    (name "rust-maybe-rayon")
+    (version "0.1.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "maybe-rayon" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32 
"06cmvhj4n36459g327ng5dnj8d58qs472pv5ahlhm7ynxl6g78cf"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-cfg-if" ,rust-cfg-if-1)
+        ("rust-rayon" ,rust-rayon-1))))
+    (home-page "https://github.com/shssoichiro/maybe-rayon";)
+    (synopsis "Either acts as rayon or creates a single-threaded facade")
+    (description "Either acts as rayon or creates a single-threaded facade")
+    (license license:expat)))
+
 (define-public rust-maybe-uninit-2
   (package
     (name "rust-maybe-uninit")



reply via email to

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