guix-commits
[Top][All Lists]
Advanced

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

41/54: gnu: Add rust-thread-local-1.0.


From: guix-commits
Subject: 41/54: gnu: Add rust-thread-local-1.0.
Date: Tue, 21 Jan 2020 09:35:31 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit d9b2c855bfaeacbe02321b92705653a2b613551d
Author: John Soo <address@hidden>
AuthorDate: Thu Jan 16 19:59:26 2020 -0800

    gnu: Add rust-thread-local-1.0.
    
    * gnu/packages/crates-io.scm (rust-thread-local-1.0): New variable.
    (rust-thread-local-0.3): Inherit from rust-thread-local-1.0.
    
    Signed-off-by: Efraim Flashner <address@hidden>
---
 gnu/packages/crates-io.scm | 20 +++++++++++++++++---
 1 file changed, 17 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7bbaf60..e001c8b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11413,10 +11413,10 @@ different for every thread.")
     (license (list license:asl2.0
                    license:expat))))
 
-(define-public rust-thread-local-0.3
+(define-public rust-thread-local-1.0
   (package
     (name "rust-thread-local")
-    (version "0.3.6")
+    (version "1.0.1")
     (source
       (origin
         (method url-fetch)
@@ -11424,7 +11424,7 @@ different for every thread.")
         (file-name (string-append name "-" version ".crate"))
         (sha256
          (base32
-          "06rzik99p8c5js8238yhc8rk6np543ylb1dy9nrw5v80j0r3xdf6"))))
+          "054vlrr1vsdy1h4b7n99mr24pnj8928ig9qwzg36wnkld4dns36l"))))
     (build-system cargo-build-system)
     (home-page "https://github.com/Amanieu/thread_local-rs";)
     (synopsis "Per-object thread-local storage")
@@ -11433,6 +11433,20 @@ different for every thread.")
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-thread-local-0.3
+  (package
+    (inherit rust-thread-local-1.0)
+    (name "rust-thread-local")
+    (version "0.3.6")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "thread_local" version))
+        (file-name (string-append name "-" version ".crate"))
+        (sha256
+         (base32
+          "06rzik99p8c5js8238yhc8rk6np543ylb1dy9nrw5v80j0r3xdf6"))))))
+
 (define-public rust-threadpool-1.7
   (package
     (name "rust-threadpool")



reply via email to

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