guix-commits
[Top][All Lists]
Advanced

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

03/23: gnu: Add rust-thread-local-0.2.


From: guix-commits
Subject: 03/23: gnu: Add rust-thread-local-0.2.
Date: Mon, 24 Feb 2020 04:06:11 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit a4a82cda205933d40c42f2e08ec74f5ac1887f6a
Author: Valentin Ignatev <address@hidden>
AuthorDate: Mon Jan 20 01:05:22 2020 +0300

    gnu: Add rust-thread-local-0.2.
    
    * gnu/packages/crates-io.scm (rust-thread-local-0.2): New variable.
    
    Signed-off-by: Efraim Flashner <address@hidden>
---
 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 13e33b4..002eb45 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15238,6 +15238,24 @@ different for every thread.")
      `(#:skip-build? #t
        #:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1))))))
 
+(define-public rust-thread-local-0.2
+  (package
+    (inherit rust-thread-local-0.3)
+    (name "rust-thread-local")
+    (version "0.2.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "thread_local" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1mgxikqvhpsic6xk7pan95lvgsky1sdxzw2w5m2l35pgrazxnxl5"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-thread-id" ,rust-thread-id-2.0))))))
+
 (define-public rust-threadpool-1.7
   (package
     (name "rust-threadpool")



reply via email to

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