summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-05-10 15:32:42 +0300
committerEfraim Flashner <efraim@flashner.co.il>2022-05-10 15:34:47 +0300
commit2d8daae3bdc98cfe739a26808b59579ee122ea39 (patch)
tree47d2e85143bf7e71d223adbcae383b68132f2dbc
parentdde2e36394a07a863339950e18f384f4f2ce69fd (diff)
gnu: Add rust-thread-id-4.
* gnu/packages/crates-io.scm (rust-thread-id-4): New variable. (rust-thread-id-3): Inherit from rust-thread-id-4.
-rw-r--r--gnu/packages/crates-io.scm28
1 files changed, 23 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 54dfda90fa..c59ddca1c9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -62368,23 +62368,22 @@ handle Unicode characters correctly.")
@code{thiserror} crate.")
(license (list license:expat license:asl2.0))))
-(define-public rust-thread-id-3
+(define-public rust-thread-id-4
(package
(name "rust-thread-id")
- (version "3.3.0")
+ (version "4.0.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "thread-id" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "1h90v19fjz3x9b25ywh68z5yf2zsmm6h5zb4rl302ckbsp4z9yy7"))))
+ (base32 "0zvikdngp0950hi0jgiipr8l36rskk1wk7pc8cd43xr3g5if1psz"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-libc" ,rust-libc-0.2)
- ("rust-redox-syscall" ,rust-redox-syscall-0.1)
+ ("rust-redox-syscall" ,rust-redox-syscall-0.2)
("rust-winapi" ,rust-winapi-0.3))))
(home-page "https://github.com/ruuda/thread-id")
(synopsis "Get a unique ID for the current thread in Rust")
@@ -62394,6 +62393,25 @@ different for every thread.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-thread-id-3
+ (package
+ (inherit rust-thread-id-4)
+ (name "rust-thread-id")
+ (version "3.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "thread-id" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1h90v19fjz3x9b25ywh68z5yf2zsmm6h5zb4rl302ckbsp4z9yy7"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-redox-syscall" ,rust-redox-syscall-0.1)
+ ("rust-winapi" ,rust-winapi-0.3))))))
+
(define-public rust-thread-id-2
(package
(inherit rust-thread-id-3)