Subject: [PATCH 005/150] gnu: Add rust-crypto-common-0.1.

From: Aleksandr Vityazev <[email-masked]>
Date: Mon, 17 Jan 2022 13:06:03 +0000

* gnu/packages/crates-io.scm (rust-crypto-common-0.1): 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 2d58bc7265..f56d72c2bc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12993,6 +12993,28 @@ (define-public rust-rusticata-macros-3
     (description "Helper macros for Rusticata")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-crypto-common-0.1
+  (package
+    (name "rust-crypto-common")
+    (version "0.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "crypto-common" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1l4q4ync13i056vjc775v0za8qh987da7yvrjj25q909cd9nngb8"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-generic-array" ,rust-generic-array-0.14)
+        ("rust-rand-core" ,rust-rand-core-0.6))))
+    (home-page "https://github.com/RustCrypto/traits")
+    (synopsis "Common cryptographic traits")
+    (description "This package provides common traits used by cryptographic
+algorithms.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-crypto-mac-0.11
   (package
     (name "rust-crypto-mac")
-- 
2.34.0

-- 

Aleksandr Vityazev