guix-commits
[Top][All Lists]
Advanced

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

15/19: gnu: Add rust-thread-local-0.3.4.


From: guix-commits
Subject: 15/19: gnu: Add rust-thread-local-0.3.4.
Date: Thu, 9 Dec 2021 18:27:15 -0500 (EST)

ngz pushed a commit to branch master
in repository guix.

commit cbd745912c510c1cfd269debd37fa704ce77f68e
Author: Petr Hodina <phodina@protonmail.com>
AuthorDate: Tue Nov 9 21:21:25 2021 +0100

    gnu: Add rust-thread-local-0.3.4.
    
    * gnu/packages/crates-io.scm (rust-thread-local-0.3.4): New variable.
    
    Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
 gnu/packages/crates-io.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0f79271..da5d30f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -54444,6 +54444,25 @@ different for every thread.")
      `(#:skip-build? #t
        #:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1))))))
 
+(define-public rust-thread-local-0.3.4
+  (package
+    (inherit rust-thread-local-0.3)
+    (name "rust-thread-local")
+    (version "0.3.4")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "thread_local" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32 "055vj0ddb6vh0zaqdlxssfqzzpgs4ll5l5j7nqvabdzfgasw95qn"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:skip-build? #t
+        #:cargo-inputs
+        (("rust-lazy-static" ,rust-lazy-static-0.2)
+         ("rust-unreachable" ,rust-unreachable-1))))))
+
 (define-public rust-thread-local-0.2
   (package
     (inherit rust-thread-local-0.3)



reply via email to

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