guix-commits
[Top][All Lists]
Advanced

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

28/62: gnu: Add rust-readlock-0.1.


From: guix-commits
Subject: 28/62: gnu: Add rust-readlock-0.1.
Date: Wed, 13 Mar 2024 16:22:21 -0400 (EDT)

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

commit cabe1612bf23a7b72a51b8fdbfb11a24a050f4eb
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Sun Feb 18 22:02:26 2024 +0100

    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 <efraim@flashner.co.il>
---
 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 43bbbd7d2d..5f36ee6a5f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -53897,6 +53897,26 @@ reference counting.")
 @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<RwLock<T>>")
+    (description
+     "This package provides a weird alternative to @code{Arc<RwLock<T>>}.")
+    (license license:mpl2.0)))
+
 (define-public rust-recycler-0.1
   (package
     (name "rust-recycler")



reply via email to

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