gnu: Add swaysome.

* gnu/packages/rust-apps.scm (swaysome): New variable.

Change-Id: I7e9b43b875cfdf68131b0fcff99721655c5af2d0
This commit is contained in:
Luca Matei Pintilie 2024-10-25 21:23:25 +02:00 committed by Efraim Flashner
parent 72c308036d
commit 86a4604974
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -3269,6 +3269,38 @@ (define-public swayr
daemon which executes them.")
(license license:gpl3+)))
(define-public swaysome
(package
(name "swaysome")
(version "2.1.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "swaysome" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "12rqvjj9d12nm9zppgp4hvfw5l308gn9ljbbgbhi0cglpg11rnjk"))))
(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
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(man1 (string-append out "/share/man/man1")))
(install-file "swaysome.1" man1)))))))
(home-page "https://gitlab.com/hyask/swaysome")
(synopsis "Manage your multiple outputs with the sway window manager")
(description
"This package provides a way to manage your multiple outputs with the sway
window manager.")
(license license:expat)))
(define-public tealdeer
(package
(name "tealdeer")