From edbf2070bf85f992478676b9f5817f73fca5a3af Mon Sep 17 00:00:00 2001 From: Jordan Moore Date: Mon, 2 Dec 2024 22:00:09 -0500 Subject: [PATCH] gnu: Add rust-arraydeque-0.5. * gnu/packages/crates-io.scm (rust-arraydeque-0.5): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2ff3c7c661..373824231c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3129,6 +3129,26 @@ (define-public rust-array-ops-0.1 structures.") (license license:mpl2.0))) +(define-public rust-arraydeque-0.5 + (package + (name "rust-arraydeque") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "arraydeque" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0dn2xdfg3rkiqsh8a6achnmvf5nf11xk33xgjzpksliab4yjx43x")))) + (build-system cargo-build-system) + (home-page "https://github.com/andylokandy/arraydeque") + (synopsis + "Ring buffer with a fixed capacity, which can be stored on the stack") + (description + "This package provides a ring buffer with a fixed capacity, which can be stored +on the stack.") + (license (list license:expat license:asl2.0)))) + (define-public rust-arrayref-0.3 (package (name "rust-arrayref")