guix-commits
[Top][All Lists]
Advanced

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

309/330: gnu: Add rust-local-channel-0.1.


From: guix-commits
Subject: 309/330: gnu: Add rust-local-channel-0.1.
Date: Mon, 18 Mar 2024 07:16:46 -0400 (EDT)

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

commit 7de9adf87d6e262dca0ff6c95f6a85e5b7a60a96
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Mar 18 12:01:38 2024 +0200

    gnu: Add rust-local-channel-0.1.
    
    * gnu/packages/crates-io.scm (rust-local-channel-0.1): New variable.
    
    Change-Id: I1d6b27e03805623328894dea0c46165e73c6dfc7
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a91c5c2709..18ea61fb41 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36905,6 +36905,31 @@ can also be used outside of a proc-macro context.")
     (description "This package provides an LLVM Bitcode parser in Rust.")
     (license license:expat)))
 
+(define-public rust-local-channel-0.1
+  (package
+    (name "rust-local-channel")
+    (version "0.1.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "local-channel" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1j1ywn459kl4fdmjfyljm379k40qwwscd7mqp25lppxqd5gcijxn"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f      ; use of undeclared crate or module `futures_util`
+       #:cargo-inputs (("rust-futures-core" ,rust-futures-core-0.3)
+                       ("rust-futures-sink" ,rust-futures-sink-0.3)
+                       ("rust-local-waker" ,rust-local-waker-0.1))))
+    (home-page "https://github.com/actix/actix-net";)
+    (synopsis
+     "Non-threadsafe multi-producer, single-consumer, futures-aware, FIFO 
queue")
+    (description
+     "This package provides a non-threadsafe multi-producer, single-consumer,
+futures-aware, FIFO queue.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-local-waker-0.1
   (package
     (name "rust-local-waker")



reply via email to

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