Subject: [bug#69257] [PATCH 050/228] gnu: Add rust-no-std-net-0.6.

From: Herman Rimm <[email-masked]>
Date: Sun, 18 Feb 2024 22:02:48 +0100

* gnu/packages/crates-io.scm (rust-no-std-net-0.6): Add variable.
(rust-no-std-net-0.5): Inherit rust-no-std-net-0.6.

Change-Id: I049b392a9f6d9ef0565b3bf2c1a2adb94a6acbca
---
 gnu/packages/crates-io.scm | 31 ++++++++++++++++++++++---------
 1 file changed, 22 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 24469da2e7..212829d65e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41431,29 +41431,42 @@ (define-public rust-no-std-compat-0.4
 make porting your crate to no_std *easy*.")
     (license license:expat)))
 
-(define-public rust-no-std-net-0.5
+(define-public rust-no-std-net-0.6
   (package
     (name "rust-no-std-net")
-    (version "0.5.0")
+    (version "0.6.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "no-std-net" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32
-         "0lkilh0wc7big3m5lsn9wqiz2xvj21kgmpbc15z92j93n51wxkhv"))))
+        (base32 "0ravflgyh0q2142gjdz9iav5yqci3ga7gbnk4mmfcnqkrq54lya3"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
-       (("rust-serde" ,rust-serde-1))))
+     `(#:cargo-inputs (("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs
+       (("rust-serde-test" ,rust-serde-test-1))))
     (home-page "https://github.com/dunmatt/no-std-net")
     (synopsis "Rust's std::net... without the @code{std}")
-    (description "This package provides Rust's std::net for environment
-without the @code{std}.")
+    (description "This package provides Rust's std::net in an environment
+without @code{std}.")
     (license license:expat)))
 
+(define-public rust-no-std-net-0.5
+  (package
+    (inherit rust-no-std-net-0.6)
+    (name "rust-no-std-net")
+    (version "0.5.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "no-std-net" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0lkilh0wc7big3m5lsn9wqiz2xvj21kgmpbc15z92j93n51wxkhv"))))))
+
 (define-public rust-nodrop-0.1
   (package
     (name "rust-nodrop")
-- 
2.41.0