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

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

* gnu/packages/crates-io.scm (rust-hkdf-0.9): Inherit from rust-hkdf-0.10.
---
 gnu/packages/crates-io.scm | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d3ca4f9f4d..53ab1589fd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -24158,6 +24158,7 @@ (define-public rust-hkdf-0.10
 
 (define-public rust-hkdf-0.9
   (package
+    (inherit rust-hkdf-0.10)
     (name "rust-hkdf")
     (version "0.9.0")
     (source
@@ -24168,7 +24169,6 @@ (define-public rust-hkdf-0.9
        (sha256
         (base32
          "1jdvmf8aadk3s0kn9kk3dj00nprjk9glks5f8dm55r43af34j4gy"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-digest" ,rust-digest-0.9)
@@ -24178,12 +24178,7 @@ (define-public rust-hkdf-0.9
         ("rust-crypto-tests" ,rust-crypto-tests-0.5)
         ("rust-hex" ,rust-hex-0.4)
         ("rust-sha-1" ,rust-sha-1-0.9)
-        ("rust-sha2" ,rust-sha2-0.9))))
-    (home-page "https://github.com/RustCrypto/KDFs/")
-    (synopsis "HMAC-based Extract-and-Expand Key Derivation Function (HKDF)")
-    (description "This package provides a HMAC-based Extract-and-Expand Key
-Derivation Function (HKDF).")
-    (license (list license:expat license:asl2.0))))
+        ("rust-sha2" ,rust-sha2-0.9))))))
 
 (define-public rust-hkdf-0.8
   (package
-- 
2.34.0

-- 

Aleksandr Vityazev