guix-commits
[Top][All Lists]
Advanced

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

147/330: gnu: Add rust-ref-thread-local-0.1.


From: guix-commits
Subject: 147/330: gnu: Add rust-ref-thread-local-0.1.
Date: Mon, 18 Mar 2024 07:15:53 -0400 (EDT)

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

commit 7ee61788ae102f7ba38717967ea2328acfcc6b73
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sat Mar 16 21:59:58 2024 +0200

    gnu: Add rust-ref-thread-local-0.1.
    
    * gnu/packages/crates-io.scm (rust-ref-thread-local-0.1): New variable.
    
    Change-Id: Ied65f12f79d61ee621f416d807532bb59a356168
---
 gnu/packages/crates-io.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c6a3c85f5a..eee55e8c38 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -56131,6 +56131,24 @@ initial value.")
     (description "Test suite of the ref-cast crate.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-ref-thread-local-0.1
+  (package
+    (name "rust-ref-thread-local")
+    (version "0.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "ref_thread_local" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1w7zw42bzywh9jfhlj5dswdh79dk7bvh4mmsamw9jy40lrh1dmd0"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/Xeiron/ref_thread_local.rs";)
+    (synopsis "Macro for declaring thread-local `static`s")
+    (description "This package provides a macro for declaring thread-local
+`static`s like using both of `lazy_static!` and `@code{RefCell`}")
+    (license license:expat)))
+
 (define-public rust-refpool-0.4
   (package
     (name "rust-refpool")



reply via email to

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