guix-commits
[Top][All Lists]
Advanced

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

74/188: gnu: Add rust-universal-hash-0.4.


From: guix-commits
Subject: 74/188: gnu: Add rust-universal-hash-0.4.
Date: Mon, 12 Oct 2020 02:24:57 -0400 (EDT)

arunisaac pushed a commit to branch master
in repository guix.

commit 284c427ca689cc0d605a86c3bdcb20944462a410
Author: Arun Isaac <arunisaac@systemreboot.net>
AuthorDate: Thu Sep 17 12:19:15 2020 +0530

    gnu: Add rust-universal-hash-0.4.
    
    * gnu/packages/crates-io.scm (rust-universal-hash-0.4): New variable.
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1d17a42..f827d4d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27229,6 +27229,28 @@ whitespace from a string.")
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-universal-hash-0.4
+  (package
+    (name "rust-universal-hash")
+    (version "0.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "universal-hash" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "00hljq64l0p68yrncvyww4cdgkzpzl49vrlnj57kwblkak3b49l3"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-generic-array" ,rust-generic-array-0.14)
+        ("rust-subtle" ,rust-subtle-2))))
+    (home-page "https://github.com/RustCrypto/traits";)
+    (synopsis "Trait for universal hash functions")
+    (description "This package provides traits for universal hash functions.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-unix-socket-0.5
   (package
     (name "rust-unix-socket")



reply via email to

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