diff mbox series

[bug#69257,rust-team,v3,51/75] gnu: Add rust-atomic-refcell-0.1.

Message ID ea47c433c64db8acfdfda97195aac0cb6bc84261.1714820130.git.herman@rimm.ee
State New
Headers show
Series Finish packages. | expand

Commit Message

Herman Rimm May 4, 2024, 11:35 a.m. UTC
* gnu/packages/crates-io.scm (rust-atomic-refcell-0.1): Add variable.

Change-Id: I966d18d24b8669c97aa6c11b50f6a84d3907ee32
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b01becbbf1..c6054a716c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6155,6 +6155,27 @@  (define-public rust-atomic-polyfill-0.1
 they're not available.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-atomic-refcell-0.1
+  (package
+    (name "rust-atomic-refcell")
+    (version "0.1.13")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "atomic_refcell" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0z04ng59y22mwf315wamx78ybhjag0x6k7isc36hdgcv63c7rrj1"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-development-inputs
+       (("rust-serde-json" ,rust-serde-json-1))
+       #:cargo-inputs (("rust-serde" ,rust-serde-1))))
+    (home-page "https://github.com/bholley/atomic_refcell")
+    (synopsis "Threadsafe RefCell")
+    (description "This package provides a threadsafe @code{RefCell}.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-atomic-take-1
   (package
     (name "rust-atomic-take")