guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

194/330: gnu: Add rust-no-std-net-0.6.


From: guix-commits
Subject: 194/330: gnu: Add rust-no-std-net-0.6.
Date: Mon, 18 Mar 2024 07:16:07 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 0c2b25fcb5fbaefc667c5526ca132293fdd1886b
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Sun Feb 18 22:02:48 2024 +0100

    gnu: Add rust-no-std-net-0.6.
    
    * 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
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++----------
 1 file changed, 23 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e5b32616f0..c427e00ff0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -42879,29 +42879,42 @@ prove a function can't ever panic.")
 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}.")
+    (synopsis "Rust's @code{std::net} without the @code{std}")
+    (description "This package provides Rust's @code{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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]