Subject: [bug#53315] [PATCH 046/150] gnu: rust-mio-0.7: Inherit from rust-mio-0.8.

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

* gnu/packages/crates-io.scm (rust-mio-0.7): Inherit from rust-mio-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 f908dc54b3..875ac9980c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31695,6 +31695,7 @@ (define-public rust-mio-0.8
 
 (define-public rust-mio-0.7
   (package
+    (inherit rust-mio-0.8)
     (name "rust-mio")
     (version "0.7.11")
     (source
@@ -31704,7 +31705,6 @@ (define-public rust-mio-0.7
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "0mi9ah60l270761sz6qdhhn0hkn5msc8689b53bhnkmk0glx706g"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-libc" ,rust-libc-0.2)
@@ -31714,14 +31714,7 @@ (define-public rust-mio-0.7
         ("rust-winapi" ,rust-winapi-0.3))
        #:cargo-development-inputs
        (("rust-env-logger" ,rust-env-logger-0.6)
-        ("rust-rand" ,rust-rand-0.4))))
-    (home-page "https://github.com/tokio-rs/mio")
-    (synopsis "Lightweight non-blocking IO")
-    (description
-     "Mio is a fast, low-level I/O library for Rust focusing on non-blocking
-APIs and event notification for building I/O apps with as little overhead as
-possible over the OS abstractions.")
-    (license license:expat)))
+        ("rust-rand" ,rust-rand-0.4))))))
 
 (define-public rust-mio-0.6
   (package
-- 
2.34.0

-- 

Aleksandr Vityazev