guix-commits
[Top][All Lists]
Advanced

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

02/23: gnu: Add rust-thread-id-2.0.


From: guix-commits
Subject: 02/23: gnu: Add rust-thread-id-2.0.
Date: Mon, 24 Feb 2020 04:06:10 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit dd44f126bd82c2c0f817dae7a58582a01ce199db
Author: Valentin Ignatev <address@hidden>
AuthorDate: Mon Jan 20 01:04:02 2020 +0300

    gnu: Add rust-thread-id-2.0.
    
    * gnu/packages/crates-io.scm (rust-thread-id-2.0): New variable.
    
    Signed-off-by: Efraim Flashner <address@hidden>
---
 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 b11bf6c..13e33b4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15180,6 +15180,25 @@ different for every thread.")
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-thread-id-2.0
+  (package
+    (inherit rust-thread-id-3.3)
+    (name "rust-thread-id")
+    (version "2.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "thread-id" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "00zzs2bx1xw8aqm5plqqgr7bc2zz6zkqrdxq8vpiqb8hc2srslx9"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-kernel32-sys" ,rust-kernel32-sys-0.2)
+        ("rust-libc" ,rust-libc-0.2))))))
+
 (define-public rust-thread-local-1.0
   (package
     (name "rust-thread-local")



reply via email to

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