gnu: swaysome: Remove #:cargo-inputs.

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

Change-Id: I9c94538b45e3759619b004cce63af9f4ddafaf03
This commit is contained in:
Hilton Chain 2025-04-21 19:31:13 +08:00
parent 17fbf4c6da
commit 603c85f2c7
No known key found for this signature in database
GPG key ID: ACC66D09CA528292
2 changed files with 38 additions and 4 deletions

View file

@ -3234,10 +3234,6 @@ daemon which executes them.")
(build-system cargo-build-system)
(arguments
`(#:install-source? #f
#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1)
("rust-clap" ,rust-clap-4)
("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1))
#:phases
(modify-phases %standard-phases
(add-after 'install 'install-more
@ -3245,6 +3241,7 @@ daemon which executes them.")
(let* ((out (assoc-ref outputs "out"))
(man1 (string-append out "/share/man/man1")))
(install-file "swaysome.1" man1)))))))
(inputs (cargo-inputs 'swaysome))
(home-page "https://gitlab.com/hyask/swaysome")
(synopsis "Manage your multiple outputs with the sway window manager")
(description