diff mbox series

[bug#74233,PATCHv2,rust-team,08/40] gnu: Add rust-atomic-refcell-0.1.

Message ID 8af9c8b0176b0f826d558234b742f027fc2d8b26.1731018145.git.goodoldpaul@autistici.org
State New
Headers show
Series [bug#74233,PATCHv2,rust-team,01/40] gnu: Add rust-search-provider-0.8. | expand

Commit Message

Giacomo Leidi Nov. 7, 2024, 10:21 p.m. UTC
* gnu/packages/crates-io.scm (rust-atomic-refcell-0.1): New variable.

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

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5b42462be6..1c17d49611 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6258,6 +6258,26 @@  (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-inputs (("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1))))
+    (home-page "https://github.com/bholley/atomic_refcell")
+    (synopsis "Threadsafe RefCell")
+    (description "This package provides Threadsafe @code{RefCell}.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-atomic-take-1
   (package
     (name "rust-atomic-take")