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>
This commit is contained in:
Herman Rimm 2024-02-18 22:02:26 +01:00 committed by Efraim Flashner
parent f085ce32bb
commit 2d9f83e14a
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -54102,6 +54102,26 @@ (define-public rust-rdrand-0.4
@code{rdrand} and @code{rdseed} instructions") @code{rdrand} and @code{rdseed} instructions")
(license license:isc))) (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 (define-public rust-recycler-0.1
(package (package
(name "rust-recycler") (name "rust-recycler")