diff mbox series

[bug#73094,08/10] gnu: Add rust-rayon-cond-0.3.

Message ID 20240907100908.25197-8-ngraves@ngraves.fr
State New
Headers show
Series [bug#73094,01/10] gnu: rust-darling-core-0.20: Update to 0.20.8. | expand

Commit Message

Nicolas Graves Sept. 7, 2024, 10:08 a.m. UTC
* gnu/packages/crates-io.scm (rust-rayon-cond-0.3): New variable.

Change-Id: I2683b5cb5c698380cd9485b0a6f090f827678c4d
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cebb27a408..36ecbe4430 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -61807,6 +61807,29 @@  (define-public rust-rawkey-0.1
      "This package provides support for raw key input in terminals.")
     (license license:expat)))
 
+(define-public rust-rayon-cond-0.3
+  (package
+    (name "rust-rayon-cond")
+    (version "0.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "rayon-cond" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1ybxppq84p3q60h9rng9j3dm79f6970hn4wljyf31lpgan5m77q5"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-either" ,rust-either-1)
+                       ("rust-itertools" ,rust-itertools-0.11)
+                       ("rust-rayon" ,rust-rayon-1))))
+    (home-page "https://github.com/cuviper/rayon-cond")
+    (synopsis "Experimental iterator wrapper")
+    (description
+     "This package provides a Rust experimental iterator wrapper that is
+conditionally parallel or serial.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-rayon-core-1
   (package
     (name "rust-rayon-core")