guix-commits
[Top][All Lists]
Advanced

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

72/89: gnu: Add rust-maybe-rayon-0.1.


From: guix-commits
Subject: 72/89: gnu: Add rust-maybe-rayon-0.1.
Date: Thu, 23 Feb 2023 10:24:14 -0500 (EST)

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

commit 4e9325525c5c97beec1b0479778de7da519ae665
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 f37bd6f622..fe666c0981 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]