guix-commits
[Top][All Lists]
Advanced

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

17/31: gnu: Add rust-embedded-io-0.6.


From: guix-commits
Subject: 17/31: gnu: Add rust-embedded-io-0.6.
Date: Sun, 31 Mar 2024 14:27:54 -0400 (EDT)

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

commit 557dbdd85897718cb6c3c65bf9d264175b3f7376
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Mar 31 20:45:52 2024 +0300

    gnu: Add rust-embedded-io-0.6.
    
    * gnu/packages/crates-io.scm (rust-embedded-io-0.6): New variable.
    (rust-embedded-io-0.4): Inherit from rust-embedded-io-0.6.
    
    Change-Id: Ibabc9de0336c5e1b7e9f5cebec21d91525a20627
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++------
 1 file changed, 21 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4717608255..87f357eaa7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22942,8 +22942,28 @@ Emacs' support for dynamic modules.")
      "This crate provides an implementation of RFC 5322 email messages.")
     (license license:expat)))
 
+(define-public rust-embedded-io-0.6
+  (package
+    (name "rust-embedded-io")
+    (version "0.6.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "embedded-io" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0v901xykajh3zffn6x4cnn4fhgfw3c8qpjwbsk6gai3gaccg3l7d"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-defmt" ,rust-defmt-0.3))))
+    (home-page "https://github.com/rust-embedded/embedded-hal";)
+    (synopsis "Embedded IO traits")
+    (description "This package provides embedded IO traits.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-embedded-io-0.4
   (package
+    (inherit rust-embedded-io-0.6)
     (name "rust-embedded-io")
     (version "0.4.0")
     (source
@@ -22953,16 +22973,11 @@ Emacs' support for dynamic modules.")
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "1v9wrc5nsgaaady7i3ya394sik5251j0iq5rls7mrx7fv696h6pg"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs (("rust-defmt" ,rust-defmt-0.3)
                        ("rust-futures" ,rust-futures-0.3)
                        ("rust-log" ,rust-log-0.4)
-                       ("rust-tokio" ,rust-tokio-1))))
-    (home-page "https://github.com/rust-embedded/embedded-hal";)
-    (synopsis "Embedded IO traits")
-    (description "This package provides embedded IO traits.")
-    (license (list license:expat license:asl2.0))))
+                       ("rust-tokio" ,rust-tokio-1))))))
 
 (define-public rust-emojis-0.5
   (package



reply via email to

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