ngz pushed a commit to branch master
in repository guix.
commit 548936076796b2c0f917049ab66dd2b09ff0560f
Author: Nicolas Goaziou <[email protected]>
AuthorDate: Wed Feb 10 10:56:34 2021 +0100
gnu: Add rust-ghash-0.2.
* gnu/packages/crates-io.scm (rust-ghash-0.2): New variable.
---
gnu/packages/crates-io.scm | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 029c8c7..f099b21 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")