guix-commits
[Top][All Lists]
Advanced

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

53/135: gnu: Add rust-griddle-0.5.


From: guix-commits
Subject: 53/135: gnu: Add rust-griddle-0.5.
Date: Wed, 27 Mar 2024 04:54:53 -0400 (EDT)

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

commit 9ff385065f976b52ecfaca8b430bb35fe9852693
Author: VÖRÖSKŐI András <voroskoi@gmail.com>
AuthorDate: Sat Feb 24 21:40:13 2024 +0100

    gnu: Add rust-griddle-0.5.
    
    * gnu/packages/crates-io.scm (rust-griddle-0.5): New variable.
    
    Change-Id: Ibb0321fe5098aaf0d142ff4b9d3200865e0edfcd
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 87287a69a9..c163d316ab 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29483,6 +29483,36 @@ provides standard printing of search results, similar 
to grep itself.")
      "Fast line oriented regex searching as a library.")
     (license (list license:unlicense license:expat))))
 
+(define-public rust-griddle-0.5
+  (package
+    (name "rust-griddle")
+    (version "0.5.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "griddle" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0qv3ynh0dzfjqz3wxz8yfkda1jxz8jam9mhjrlbv328v34i1vf3b"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-ahash" ,rust-ahash-0.7)
+                       ("rust-hashbrown" ,rust-hashbrown-0.11)
+                       ("rust-rayon" ,rust-rayon-1)
+                       ("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs (("rust-fnv" ,rust-fnv-1)
+                                   ("rust-lazy-static" ,rust-lazy-static-1)
+                                   ("rust-quickcheck" ,rust-quickcheck-1)
+                                   ("rust-rand" ,rust-rand-0.8)
+                                   ("rust-rayon" ,rust-rayon-1)
+                                   ("rust-serde-test" ,rust-serde-test-1))))
+    (home-page "https://github.com/jonhoo/griddle.git";)
+    (synopsis "HashMap variant that spreads resize load across inserts")
+    (description
+     "This package provides a @code{HashMap} variant that spreads resize load
+across inserts.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-group-0.13
   (package
     (name "rust-group")



reply via email to

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