guix-patches
[Top][All Lists]
Advanced

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

[bug#69257] [PATCH 028/228] gnu: Add rust-readlock-0.1.


From: Herman Rimm
Subject: [bug#69257] [PATCH 028/228] gnu: Add rust-readlock-0.1.
Date: Sun, 18 Feb 2024 22:02:26 +0100

* gnu/packages/crates-io.scm (rust-readlock-0.1): Add variable.

Change-Id: I5e058f07ceff79965473f27f3a22aa98cb0151a3
---
 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 f77ebc4520..b2cd3a7c9d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -53926,6 +53926,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<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")
-- 
2.41.0






reply via email to

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