Subject: [PATCH 3/3] gnu: Add velox.
From: zamfofex <[email-masked]>
To: [email-masked]
Cc: zamfofex <[email-masked]>
Date: Thu, 20 Oct 2022 09:25:13 -0300
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/wm.scm (velox): New variable.
---
 gnu/packages/wm.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index d5c5dc4ed2..8a6f3684de 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -3011,3 +3011,37 @@ (define-public swc
 @item Can place borders around windows
 @end itemize")
       (license license:expat))))
+
+(define-public velox
+  (let ((commit "fcc041265539befd907a64ee3a536cb2489ffb99")
+        (revision "1"))
+    (package
+      (name "velox")
+      (version (git-version "0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                       (url "https://github.com/michaelforney/velox")
+                       (commit commit)))
+                (sha256
+                  (base32
+                    "0d11bmag5zwmas3rf1b7x5hjla7wpxq70nr86dz3x9r7cal04mym"))))
+      (build-system gnu-build-system)
+      (arguments
+       `(#:tests? #f ; no tests
+         #:make-flags
+         (list (string-append "CC=" ,(cc-for-target))
+               (string-append "PREFIX=" %output))
+         #:phases
+         (modify-phases %standard-phases
+           (delete 'configure))))
+      (inputs (list libinput
+                    libxkbcommon
+                    wayland
+                    wld))
+      (propagated-inputs (list swc))
+      (native-inputs (list pkg-config))
+      (home-page "https://github.com/michaelforney/velox")
+      (synopsis "A simple window manager based on swc")
+      (description "velox is a simple window manager based on swc.  It is inspired by dwm and xmonad.")
+      (license license:expat))))
-- 
2.38.0