summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve George <steve@futurile.net>2023-10-23 23:21:08 +0100
committerEfraim Flashner <efraim@flashner.co.il>2023-10-24 14:39:42 +0300
commitad73edfc0a7b37486f4c7250abc77101347a2680 (patch)
tree7fc29bba68e07b4e1f95608617cf5e062794c687
parent4d68caa26cc9d5b02283367d2c9dea5db7637d36 (diff)
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
-rw-r--r--gnu/packages/crates-io.scm22
1 files changed, 22 insertions, 0 deletions
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")