From 2d9f83e14aca86d361857ac058ca3392a13ee5d1 Mon Sep 17 00:00:00 2001 From: Herman Rimm Date: Sun, 18 Feb 2024 22:02:26 +0100 Subject: [PATCH] gnu: Add rust-readlock-0.1. * gnu/packages/crates-io.scm (rust-readlock-0.1): Add variable. Change-Id: I5e058f07ceff79965473f27f3a22aa98cb0151a3 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 3d0587fb5e..46156a651d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -54102,6 +54102,26 @@ (define-public rust-rdrand-0.4 @code{rdrand} and @code{rdseed} instructions") (license license:isc))) +(define-public rust-readlock-0.1 + (package + (name "rust-readlock") + (version "0.1.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "readlock" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "18l0la7zxavbw1ppfigq84f994lyw65rbpl4hlf5gakd37kj7cyp")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-rclite" ,rust-rclite-0.2)))) + (home-page "https://github.com/jplatte/readlock") + (synopsis "Weird alternative to Arc>") + (description + "This package provides a weird alternative to @code{Arc>}.") + (license license:mpl2.0))) + (define-public rust-recycler-0.1 (package (name "rust-recycler")