Subject: [bug#70147] [PATCH 27/42] gnu: Add rust-t1ha-0.1.

From: Wilko Meyer <[email-masked]>
Date: Tue, 2 Apr 2024 18:22:44 +0200

* gnu/packages/crates-io.scm (rust-t1ha-0.1): New variable.

Change-Id: Ifdceddae71c7515ce8b584ee8a9ae451e93c44d9
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 18ca3b3734..2dc995a43b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -77208,6 +77208,31 @@ (define-public rust-tabled-0.14
 Rust @code{struct}s and @code{enum}s.")
     (license license:expat)))
 
+(define-public rust-t1ha-0.1
+  (package
+    (name "rust-t1ha")
+    (version "0.1.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "t1ha" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0lh4gjdjvmscmq0395zgphar5vadwgwivn8i1d9cxrcmaskb0njk"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
+                       ("rust-lazy-static" ,rust-lazy-static-1)
+                       ("rust-num-traits" ,rust-num-traits-0.2)
+                       ("rust-rustc-version" ,rust-rustc-version-0.4))))
+    (home-page "https://github.com/flier/rust-t1ha")
+    (synopsis
+     "An implementation of the T1AH (Fast Positive Hash) hash function.")
+    (description
+     "An implementation of the T1AH (Fast Positive Hash) hash function.")
+    (license license:zlib)))
+
 (define-public rust-tabled-derive-0.6
   (package
     (name "rust-tabled-derive")
-- 
2.41.0