summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-10 10:56:34 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:50:10 +0100
commit548936076796b2c0f917049ab66dd2b09ff0560f (patch)
tree103a750ea06baf92dc8f1ed280c1eb4137425952
parentc30e299e67692f1668045c5fc94cd520fd67ed75 (diff)
downloadguix-548936076796b2c0f917049ab66dd2b09ff0560f.tar.gz
gnu: Add rust-ghash-0.2.
* gnu/packages/crates-io.scm (rust-ghash-0.2): New variable.
-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 029c8c7c4f..f099b216bc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14652,6 +14652,24 @@ for constructing a Message Authentication Code (MAC), as in the AES-GCM
 authenticated encryption cipher.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-ghash-0.2
+  (package
+    (inherit rust-ghash-0.3)
+    (name "rust-ghash")
+    (version "0.2.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "ghash" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0lijv1y6qcysnxv45ny5fjvc4v9gmpggxlj6xa4l065737nk02cz"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-polyval" ,rust-polyval-0.3)
+        ("rust-zeroize" ,rust-zeroize-1))))))
+
 (define-public rust-gimli-0.20
   (package
     (name "rust-gimli")