Subject: [bug#53315] [PATCH 085/150] gnu: rust-rustls-0.19: Inherit from rust-rustls-0.20.

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

* gnu/packages/crates-io.scm (rust-rustls-0.19): Inherit from rust-rustls-0.20.
---
 gnu/packages/crates-io.scm | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 21874790f0..1d0f5d5a3f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -47217,6 +47217,7 @@ (define-public rust-rustls-0.20
 
 (define-public rust-rustls-0.19
   (package
+    (inherit rust-rustls-0.20)
     (name "rust-rustls")
     (version "0.19.0")
     (source
@@ -47227,7 +47228,6 @@ (define-public rust-rustls-0.19
         (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "02wqas2pcxk75s9l9c9f1r5am7258bmqprh68pnqfvkwz0gx4kq6"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
@@ -47235,13 +47235,7 @@ (define-public rust-rustls-0.19
         ("rust-log" ,rust-log-0.4)
         ("rust-ring" ,rust-ring-0.16)
         ("rust-sct" ,rust-sct-0.6)
-        ("rust-webpki" ,rust-webpki-0.21))))
-    (home-page "https://github.com/ctz/rustls")
-    (synopsis "Modern TLS library written in Rust")
-    (description
-     "This package provides a modern TLS library written in Rust.")
-    (license
-     (list license:asl2.0 license:isc license:expat))))
+        ("rust-webpki" ,rust-webpki-0.21))))))
 
 (define-public rust-rustls-0.18
   (package
-- 
2.34.0

-- 

Aleksandr Vityazev