Subject: [PATCH 018/150] gnu: rust-aes-gcm-0.6: Inherit from rust-aes-gcm-0.8.

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

* gnu/packages/crates-io.scm (rust-aes-gcm-0.6): Inherit from rust-aes-gcm-0.8.
---
 gnu/packages/crates-io.scm | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0d1311fde1..7de6864d14 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1361,6 +1361,7 @@ (define-public rust-aes-gcm-0.8
 
 (define-public rust-aes-gcm-0.6
   (package
+    (inherit rust-aes-gcm-0.8)
     (name "rust-aes-gcm")
     (version "0.6.0")
     (source
@@ -1371,7 +1372,6 @@ (define-public rust-aes-gcm-0.6
        (sha256
         (base32
          "1lga8my3zlc0b1nhcpc1hrbykfm014fqs6d64bwrjqii05w01xc6"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-aead" ,rust-aead-0.3)
@@ -1384,14 +1384,7 @@ (define-public rust-aes-gcm-0.6
        (("rust-criterion" ,rust-criterion-0.3)
         ("rust-criterion-cycles-per-byte"
          ,rust-criterion-cycles-per-byte-0.1)
-        ("rust-hex-literal" ,rust-hex-literal-0.2))))
-    (home-page "https://github.com/RustCrypto/AEADs")
-    (synopsis "AES-GCM (Galois/Counter Mode) Authenticated Encryption")
-    (description "This package provides a pure Rust implementation of the
-AES-GCM (Galois/Counter Mode) Authenticated Encryption with Associated
-Data (AEAD) Cipher with optional architecture-specific hardware
-acceleration.")
-    (license (list license:asl2.0 license:expat))))
+        ("rust-hex-literal" ,rust-hex-literal-0.2))))))
 
 (define-public rust-aes-gcm-0.5
   (package
-- 
2.34.0

-- 

Aleksandr Vityazev