From c425fd7c3df5a55a90ffeb9ffff2349a4bffa9f4 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 11 May 2023 16:54:54 +0300 Subject: [PATCH] gnu: rust-is-terminal-0.4: Update to 0.4.7. * gnu/packages/crates-io.scm (rust-is-terminal-0.4): Update to 0.4.7. [cargo-inputs]: Replace rust-hermit-abi-0.2 with 0.3, rust-rustix-0.36 with 0.37, rust-windows-sys-0.42 with 0.48. [cargo-development-inputs]: Add rust-atty-0.2, rust-libc-0.2, rust-tempfile-3. --- gnu/packages/crates-io.scm | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 4039de871e..04de6f4190 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -30584,21 +30584,25 @@ whether or not a given path points to an executable file.") (define-public rust-is-terminal-0.4 (package (name "rust-is-terminal") - (version "0.4.1") + (version "0.4.7") (source (origin (method url-fetch) (uri (crate-uri "is-terminal" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0c2322dg9s35h87ln33w6qsjlgplhzza89rwmkvac4r9ikvhjxlj")))) + "07xyfla3f2jjb666s72la5jvl9zq7mixbqkjvyfi5j018rhr7kxd")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-hermit-abi" ,rust-hermit-abi-0.2) + (("rust-hermit-abi" ,rust-hermit-abi-0.3) ("rust-io-lifetimes" ,rust-io-lifetimes-1) - ("rust-rustix" ,rust-rustix-0.36) - ("rust-windows-sys" ,rust-windows-sys-0.42)))) + ("rust-rustix" ,rust-rustix-0.37) + ("rust-windows-sys" ,rust-windows-sys-0.48)) + #:cargo-development-inputs + (("rust-atty" ,rust-atty-0.2) + ("rust-libc" ,rust-libc-0.2) + ("rust-tempfile" ,rust-tempfile-3)))) (home-page "https://github.com/sunfishcode/is-terminal") (synopsis "Test whether a given stream is a terminal") (description