summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-10 10:55:09 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:50:10 +0100
commit595b1a819a8a34f3f31b8be350d164946d7b6243 (patch)
treeeefc97a59d4e0be8d158134a7dbd58534f9ed072 /gnu/packages
parent7b5ba8e50bded0a2af98cb675c31d2679a810f40 (diff)
downloadguix-595b1a819a8a34f3f31b8be350d164946d7b6243.tar.gz
gnu: Add rust-universal-hash-0.3.
* gnu/packages/crates-io.scm (rust-universal-hash-0.3): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index dd81b717cc..5a0cc513df 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -42700,6 +42700,24 @@ whitespace from a string.")
     (description "This package provides traits for universal hash functions.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-universal-hash-0.3
+  (package
+    (inherit rust-universal-hash-0.4)
+    (name "rust-universal-hash")
+    (version "0.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "universal-hash" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "00aa241pab99z66f0s464vdrxnk3igs8z1qm6j01chcv5w7r036z"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-generic-array" ,rust-generic-array-0.12)
+        ("rust-subtle" ,rust-subtle-2))))))
+
 (define-public rust-unix-socket-0.5
   (package
     (name "rust-unix-socket")