Subject: [bug#53315] [PATCH 008/150] gnu: rust-digest-0.9: Inherit from rust-digest-0.10.

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

* gnu/packages/crates-io.scm (rust-digest-0.9): Inherit from rust-digest-0.10.
[source]: Fix formatting.
---
 gnu/packages/crates-io.scm | 25 ++++++++++---------------
 1 file changed, 10 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 54bf8c4c35..fec6568a45 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15796,27 +15796,22 @@ (define-public rust-digest-0.10
 
 (define-public rust-digest-0.9
   (package
+    (inherit rust-digest-0.10)
     (name "rust-digest")
     (version "0.9.0")
     (source
-      (origin
-        (method url-fetch)
-        (uri (crate-uri "digest" version))
-        (file-name
-         (string-append name "-" version ".tar.gz"))
-        (sha256
-         (base32
-          "0rmhvk33rgvd6ll71z8sng91a52rw14p0drjn1da0mqa138n1pfk"))))
-    (build-system cargo-build-system)
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "digest" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0rmhvk33rgvd6ll71z8sng91a52rw14p0drjn1da0mqa138n1pfk"))))
     (arguments
      `(#:cargo-inputs
        (("rust-blobby" ,rust-blobby-0.1)
-        ("rust-generic-array" ,rust-generic-array-0.14))))
-    (home-page "https://github.com/RustCrypto/traits")
-    (synopsis "Traits for cryptographic hash functions")
-    (description
-     "Traits for cryptographic hash functions.")
-    (license (list license:expat license:asl2.0))))
+        ("rust-generic-array" ,rust-generic-array-0.14))))))
 
 (define-public rust-digest-0.8
   (package
-- 
2.34.0

-- 

Aleksandr Vityazev