guix-commits
[Top][All Lists]
Advanced

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

26/66: gnu: Add rust-ringbuf-0.2.


From: guix-commits
Subject: 26/66: gnu: Add rust-ringbuf-0.2.
Date: Tue, 24 Oct 2023 07:54:55 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit ad73edfc0a7b37486f4c7250abc77101347a2680
Author: Steve George <steve@futurile.net>
AuthorDate: Mon Oct 23 23:21:08 2023 +0100

    gnu: Add rust-ringbuf-0.2.
    
    * gnu/packages/crates-io.scm (rust-ringbuf-0.2): New variable.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
    Change-Id: I559d629733f14adaddd0dd2eac10eb8a1ec5f9f9
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 902e04b61e..22725393a0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -57840,6 +57840,28 @@ Digital Signature Algorithm} (ECDSA).")
                  (lambda _
                    (invoke "python" "make_curve25519_tables.py")))))))))))
 
+(define-public rust-ringbuf-0.2
+  (package
+    (name "rust-ringbuf")
+    (version "0.2.6")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "ringbuf" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1wxd2sb5b0kjwc5mcv8qrmzl0spfs0agznrxain3xhrr769g6q3c"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #:cargo-inputs `(("rust-cache-padded" ,rust-cache-padded-1))))
+    (home-page "https://github.com/agerasev/ringbuf";)
+    (synopsis
+     "Lock-free SPSC FIFO ring buffer with direct access to inner data")
+    (description
+     "Lock-free @acronym{SPSC, Single Producer Single Consumer} @acronym{FIFO,
+First In First Out} ring buffer with direct access to inner data.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-ripemd-0.1
   (package
     (name "rust-ripemd")



reply via email to

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