gnu: swayhide: Remove #:cargo-inputs.

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

Change-Id: I71abcf36b3fdb6761e95227129430bffa98f1e07
This commit is contained in:
Hilton Chain 2025-04-21 19:24:16 +08:00
parent 998eab6745
commit bb1b88a191
No known key found for this signature in database
GPG key ID: ACC66D09CA528292
2 changed files with 41 additions and 3 deletions

View file

@ -3144,9 +3144,6 @@ files.")
(build-system cargo-build-system)
(arguments
`(#:install-source? #f
#:cargo-inputs
(("rust-exitcode" ,rust-exitcode-1)
("rust-swayipc" ,rust-swayipc-2))
#:phases
(modify-phases %standard-phases
(add-after 'install 'install-completions
@ -3162,6 +3159,7 @@ files.")
(copy-file "completions/swayhide.zsh"
(string-append zsh "_swayhide"))
(install-file "completions/swayhide.fish" fish)))))))
(inputs (cargo-inputs 'swayhide))
(home-page "https://github.com/NomisIV/swayhide/")
(synopsis "Swallow windows on swaywm")
(description "swayhide hides the currently active terminal (by moving it