Subject: [PATCH 004/150] gnu: rust-block-buffer-0.9: Inherit from rust-block-buffer-0.10.

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

* gnu/packages/crates-io.scm (rust-block-buffer-0.9): Inherit from rust-block-buffer-0.10.
---
 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 7673a51f27..2d58bc7265 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6592,27 +6592,22 @@ (define-public rust-block-buffer-0.10
 
 (define-public rust-block-buffer-0.9
   (package
+    (inherit rust-block-buffer-0.10)
     (name "rust-block-buffer")
     (version "0.9.0")
     (source
-      (origin
-        (method url-fetch)
-        (uri (crate-uri "block-buffer" version))
-        (file-name
-         (string-append name "-" version ".tar.gz"))
-        (sha256
-         (base32
-          "1r4pf90s7d7lj1wdjhlnqa26vvbm6pnc33z138lxpnp9srpi2lj1"))))
-    (build-system cargo-build-system)
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "block-buffer" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1r4pf90s7d7lj1wdjhlnqa26vvbm6pnc33z138lxpnp9srpi2lj1"))))
     (arguments
      `(#:cargo-inputs
        (("rust-block-padding" ,rust-block-padding-0.2)
-        ("rust-generic-array" ,rust-generic-array-0.14))))
-    (home-page "https://github.com/RustCrypto/utils")
-    (synopsis "Fixed size buffer for block processing of data")
-    (description
-     "Fixed size buffer for block processing of data.")
-    (license (list license:expat license:asl2.0))))
+        ("rust-generic-array" ,rust-generic-array-0.14))))))
 
 (define-public rust-block-buffer-0.8
   (package
-- 
2.34.0

-- 

Aleksandr Vityazev