guix-patches
[Top][All Lists]
Advanced

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

[bug#51724] [PATCH 05/12] gnu: Add rust-no-std-net-0.5.


From: phodina
Subject: [bug#51724] [PATCH 05/12] gnu: Add rust-no-std-net-0.5.
Date: Tue, 09 Nov 2021 17:00:58 +0000

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c103f24440..8c3481d148 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31185,6 +31185,29 @@ (define-public rust-no-panic-0.1
 prove a function can't ever panic.")
     (license (list license:expat license:asl2.0))))

+(define-public rust-no-std-net-0.5
+  (package
+    (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"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-serde" ,rust-serde-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}.")
+    (license license:expat)))
+
 (define-public rust-nodrop-0.1
   (package
     (name "rust-nodrop")
--
2.33.1





reply via email to

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