Subject: [PATCH v1] gnu: Add sandbar.

From: Erik Eduardo <[email-masked]>
Date: Mon, 19 Feb 2024 07:02:55 +0000

* gnu/packages/wm.scm(sandbar): New package definition.

Change-Id: I81e109dc72a18adf8bfbb29632397fe4160b4489
---
 gnu/packages/wm.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 4efd98f11c..216745bed0 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -67,6 +67,7 @@
 ;;; Copyright © 2023 Jaeme Sifat <[email-masked]>
 ;;; Copyright © 2023 Josselin Poiret <[email-masked]>
 ;;; Copyright © 2024 Timotej Lazar <[email-masked]>
+;;; Copyright © 2024 Erik Eduardo <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1383,6 +1384,34 @@ (define-public keybinder
 (define-public keybinder-3.0
   (deprecated-package "keybinder-3.0" keybinder))
 
+(define-public sandbar
+  (package
+    (name "sandbar")
+    (version "0.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/kolunmi/sandbar")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0912cr2q2kg4nqdwy978kpmdcj2cjz3gnlcb28ny9z3cprxvyvxq"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f
+       #:make-flags (list (string-append "CC="
+                                         ,(cc-for-target))
+                          (string-append "PREFIX=" %output))
+       #:phases (modify-phases %standard-phases
+                  (delete 'configure))))
+    (inputs (list fcft wayland))
+    (native-inputs (list pkg-config wayland-protocols))
+    (synopsis "dwm-like bar for the river wayland compositor")
+    (description "A simple statusbar designed for the river window manager.")
+    (license (list license:gpl3 license:expat))
+    (home-page "https://github.com/kolunmi/sandbar")))
+
 (define-public spectrwm
   (package
     (name "spectrwm")

base-commit: 96a2357a8a19bd4a796fdf1a875f7f3e0c91030c
-- 
2.41.0