guix-commits
[Top][All Lists]
Advanced

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

75/189: gnu: Add rust-universal-hash-0.4.


From: guix-commits
Subject: 75/189: gnu: Add rust-universal-hash-0.4.
Date: Mon, 21 Sep 2020 06:01:17 -0400 (EDT)

arunisaac pushed a commit to branch wip-swc
in repository guix.

commit ca0da32a4a3acbde6da3db878b41c066d4257b96
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 0cfa6fc..56b1c51 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29046,6 +29046,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]