gnu: rust-async-process-1: Update to 1.8.1.

* gnu/packages/crates-io.scm (rust-async-process-1): Update to 1.8.1.
[arguments]: Adjust cargo-test-flags.
[cargo-inputs]: Add rust-async-lock-2, rust-async-signal-0.2,
rust-rustix-0.38, rust-windows-sys-0.48.  Replace rust-cfg-if-0.1 with
1, rust-event-listener-2 with 3.  Remove rust-once-cell-1,
rust-signal-hook-0.1 rust-winapi-0.3.
[cargo-development-inputs]: Add rust-async-io-1.
[home-page] Update to new home-page.

Change-Id: I979ab968624b62acd6f2ba568e1c01cac524d18f
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Herman Rimm 2024-01-30 16:25:19 +01:00 committed by Efraim Flashner
parent f7817b2c73
commit 6c12ef09a4
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351

View File

@ -4530,30 +4530,34 @@ asynchronously (via the AsyncPidFd type).")
(define-public rust-async-process-1
(package
(name "rust-async-process")
(version "1.0.1")
(version "1.8.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "async-process" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1nmvqwqxzy0gv7n8agknaijns9dsxqj81bxms4bs647vq44ym32c"))))
(base32 "126s968lvhg9rlwsnxp7wfzkfn7rl87p0dlvqqlibn081ax3hr7a"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-test-flags '("--release" "--"
"--skip=set_current_dir_works"
"--skip=signal_reported_right"
"--skip=stdin_works")
#:cargo-inputs
(("rust-async-io" ,rust-async-io-1)
("rust-blocking" ,rust-blocking-1)
("rust-cfg-if" ,rust-cfg-if-0.1)
("rust-event-listener" ,rust-event-listener-2)
("rust-futures-lite" ,rust-futures-lite-1)
("rust-once-cell" ,rust-once-cell-1)
("rust-signal-hook" ,rust-signal-hook-0.1)
("rust-winapi" ,rust-winapi-0.3))))
(home-page "https://github.com/stjepang/async-process")
`(#:cargo-test-flags
'("--release" "--"
"--skip=set_current_dir_works" ; assertion failed: p.is_ok()
;; No such file or directory
"--skip=signal_reported_right"
"--skip=stdin_works"
"--skip=test_spawn_multiple_with_stdio")
#:cargo-inputs (("rust-async-io" ,rust-async-io-1)
("rust-async-lock" ,rust-async-lock-2)
("rust-async-signal" ,rust-async-signal-0.2)
("rust-blocking" ,rust-blocking-1)
("rust-cfg-if" ,rust-cfg-if-1)
("rust-event-listener" ,rust-event-listener-3)
("rust-futures-lite" ,rust-futures-lite-1)
("rust-rustix" ,rust-rustix-0.38)
("rust-windows-sys" ,rust-windows-sys-0.48))
#:cargo-development-inputs (("rust-async-io" ,rust-async-io-1))))
(home-page "https://github.com/smol-rs/async-process")
(synopsis "Async interface for working with processes")
(description
"This crate is an async version of @code{std::process}. A background