Subject: [bug#73753] [PATCH] gnu: Add swaysome

From: Luca Matei Pintilie <[email-masked]>
Date: Fri, 11 Oct 2024 23:14:59 +0200

Signed-off-by: Luca Matei Pintilie <[email-masked]>
Change-Id: I7e9b43b875cfdf68131b0fcff99721655c5af2d0
---
 First guix package, be gentle :D

 I am very new to guix, and as such I do not feel comfortable
 maintaining this package. Regardless, I have tested this both on
 void-linux and Guix System and it works as intended for me.

 gnu/packages/rust-apps.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 12205ef1aa..967d628d8a 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -3105,6 +3105,31 @@ (define-public swayr
 daemon which executes them.")
    (license license:gpl3+)))
 
+(define-public swaysome
+  (package
+    (name "swaysome")
+    (version "2.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "swaysome" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "02lvq4pr7dbslxvlhfha6rhbqfmj8a6kq0p41b25a56p0pwhd7qq"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1)
+                       ("rust-clap" ,rust-clap-4)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-serde-json" ,rust-serde-json-1))))
+    (home-page "https://gitlab.com/hyask/swaysome")
+    (synopsis
+     "Awesome way to manage your multiple outputs with the sway windows manager")
+    (description
+     "This package provides swaysome provides an awesome way to manage your multiple
+outputs with the sway windows manager.")
+    (license license:expat)))
+
 (define-public tealdeer
   (package
     (name "tealdeer")
-- 
2.46.2