aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Ignatev <valentignatev@gmail.com>2020-01-20 01:04:02 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-02-24 11:05:51 +0200
commitdd44f126bd82c2c0f817dae7a58582a01ce199db (patch)
tree7b290b95de1b1c2f8ecd9facb0b5adc54745778a
parent5213b6975aef23cca2fc9dd8d9f201907e5548f4 (diff)
downloadpatches-dd44f126bd82c2c0f817dae7a58582a01ce199db.tar
patches-dd44f126bd82c2c0f817dae7a58582a01ce199db.tar.gz
gnu: Add rust-thread-id-2.0.
* gnu/packages/crates-io.scm (rust-thread-id-2.0): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b11bf6c944..13e33b4731 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")