Subject: [bug#53315] [PATCH 006/150] gnu: rust-subtle-2: Update to 2.4.1.

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

* gnu/packages/crates-io.scm (rust-subtle-2): Update to 2.4.1.
[source]: Fix formatting.
[arguments]: Add #:cargo-development-inputs.
---
 gnu/packages/crates-io.scm | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f56d72c2bc..2668c3ab76 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -53633,17 +53633,19 @@ (define-public rust-strum-macros-0.18
 (define-public rust-subtle-2
   (package
     (name "rust-subtle")
-    (version "2.2.3")
+    (version "2.4.1")
     (source
-      (origin
-        (method url-fetch)
-        (uri (crate-uri "subtle" version))
-        (file-name
-         (string-append name "-" version ".tar.gz"))
-        (sha256
-         (base32
-          "1h9jd7v0imksyl5mvnjk2rw54sa3xrril76z0md61mq2gh056bah"))))
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "subtle" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "00b6jzh9gzb0h9n25g06nqr90z3xzqppfhhb260s1hjhh4pg7pkb"))))
     (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-development-inputs
+       (("rust-rand" ,rust-rand-0.7))))
     (home-page "https://dalek.rs/")
     (synopsis
      "Pure-Rust traits and utilities for cryptographic implementations")
-- 
2.34.0

-- 

Aleksandr Vityazev