From d9b2c855bfaeacbe02321b92705653a2b613551d Mon Sep 17 00:00:00 2001 From: John Soo Date: Thu, 16 Jan 2020 19:59:26 -0800 Subject: 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 --- gnu/packages/crates-io.scm | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7bbaf60324..e001c8bbbb 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -11413,10 +11413,10 @@ (define-public rust-thread-id-3.3 (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 @@ (define-public rust-thread-local-0.3 (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 @@ (define-public rust-thread-local-0.3 (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") -- cgit v1.2.3