gnu: cargo-with: Remove #:cargo-inputs.

* gnu/packages/rust-apps.scm (cargo-with)[arguments]: Remove #:cargo-inputs.
[inputs]: Use ‘cargo-inputs’.
* gnu/packages/rust-crates.scm (lookup-cargo-inputs)[cargo-with]: New entry.

Change-Id: I47618addc1d67efcf2ccd6f9e553a99b4d5d123d
This commit is contained in:
Hilton Chain 2025-06-02 15:08:31 +08:00
parent 3bf7ebbf82
commit bdf67e77bd
No known key found for this signature in database
GPG key ID: ACC66D09CA528292
2 changed files with 60 additions and 8 deletions

View file

@ -606,14 +606,8 @@ Rust source code.")
(base32 "127ifblgp7v2vv8iafl88y1cjyskymqdi0nzsavnyab0x9jiskcr"))))
(build-system cargo-build-system)
(arguments
`(#:install-source? #f
#:cargo-inputs (("rust-clap" ,rust-clap-2)
("rust-env-logger" ,rust-env-logger-0.6)
("rust-failure" ,rust-failure-0.1)
("rust-log" ,rust-log-0.4)
("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1)
("rust-void" ,rust-void-1))))
`(#:install-source? #f))
(inputs (cargo-inputs 'cargo-with))
(home-page "https://github.com/cbourjau/cargo-with/")
(synopsis
"Cargo extension to run build artifacts through tools like `gdb`.")