diff mbox series

[bug#69803,rust-team,22/37] gnu: Add rust-nohash-hasher-0.2.

Message ID 20240314211638.6190-22-herman@rimm.ee
State New
Headers show
Series [bug#69803,rust-team,01/37] gnu: Add rust-rename-item-0.1. | expand

Commit Message

Herman Rimm March 14, 2024, 9:16 p.m. UTC
* gnu/packages/crates-io.scm (rust-nohash-hasher-0.2): Add variable.

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

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6e959977b1..c8601c26e4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41733,6 +41733,25 @@  (define-public rust-nodrop-union-0.1
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-nohash-hasher-0.2
+  (package
+    (name "rust-nohash-hasher")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "nohash-hasher" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0lf4p6k01w4wm7zn4grnihzj8s7zd5qczjmzng7wviwxawih5x9b"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/paritytech/nohash-hasher")
+    (synopsis "`std::hash::Hasher` which does not hash at all")
+    (description
+     "This package provides an implementation of `std::hash::Hasher`
+which does not hash at all.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-nom-7
   (package
     (name "rust-nom")