aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorValentin Ignatev <valentignatev@gmail.com>2020-01-20 01:05:22 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-02-24 11:05:51 +0200
commita4a82cda205933d40c42f2e08ec74f5ac1887f6a (patch)
treebab8bf8e8fcfd252c29c47ca12f75c16bcf3517e /gnu/packages
parentdd44f126bd82c2c0f817dae7a58582a01ce199db (diff)
downloadpatches-a4a82cda205933d40c42f2e08ec74f5ac1887f6a.tar
patches-a4a82cda205933d40c42f2e08ec74f5ac1887f6a.tar.gz
gnu: Add rust-thread-local-0.2.
* gnu/packages/crates-io.scm (rust-thread-local-0.2): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 13e33b4731..002eb458b9 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")