guix-commits
[Top][All Lists]
Advanced

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

329/373: gnu: Add rust-ahash-0.8.


From: guix-commits
Subject: 329/373: gnu: Add rust-ahash-0.8.
Date: Sun, 16 Apr 2023 07:11:37 -0400 (EDT)

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

commit 99b7854496640b92f985984f18fb2529761f66ac
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Mar 22 14:14:40 2023 +0100

    gnu: Add rust-ahash-0.8.
    
    * gnu/packages/crates-io.scm (rust-ahash-0.8): New variable.
---
 gnu/packages/crates-io.scm | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0c1c8ee664..2539c1bd3b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2273,6 +2273,45 @@ This package is deprecated and was replaced by the 
@code{aes} crate.")
      "Fuzz Rust code with american-fuzzy-lop.")
     (license license:asl2.0)))
 
+(define-public rust-ahash-0.8
+  (package
+    (name "rust-ahash")
+    (version "0.8.3")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "ahash" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0bzcsxdl2wd6j2p4214qh9sqkqn69gi7f9lk1xi8yj063r6zd69c"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-atomic-polyfill" ,rust-atomic-polyfill-1)
+        ("rust-cfg-if" ,rust-cfg-if-1)
+        ("rust-const-random" ,rust-const-random-0.1)
+        ("rust-getrandom" ,rust-getrandom-0.2)
+        ("rust-once-cell" ,rust-once-cell-1)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-version-check" ,rust-version-check-0.9))
+       #:cargo-development-inputs
+       (("rust-criterion" ,rust-criterion-0.3)
+        ("rust-fnv" ,rust-fnv-1)
+        ("rust-fxhash" ,rust-fxhash-0.2)
+        ("rust-hashbrown" ,rust-hashbrown-0.12)
+        ("rust-hex" ,rust-hex-0.4)
+        ("rust-no-panic" ,rust-no-panic-0.1)
+        ("rust-rand" ,rust-rand-0.8)
+        ("rust-seahash" ,rust-seahash-4)
+        ("rust-serde-json" ,rust-serde-json-1))))
+    (home-page "https://github.com/tkaitchuck/ahash";)
+    (synopsis
+     "Non-cryptographic hash function using AES-NI")
+    (description
+     "This package provides a non-cryptographic hash function using AES-NI for
+high performance.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-ahash-0.7
   (package
     (name "rust-ahash")



reply via email to

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