Subject: [PATCH] gnu: Add nwg-launchers.

From: Sughosha <[email-masked]>
Date: Fri, 27 Jan 2023 16:44:38 +0000

I cannot merge the v2 patch into my local branch. I had nwg-launchers in my
local branch in xdisorg.scm but had not submitted the patch till now. The reason
for having it in xdisorg.scm is that I found similar packages like wofi and many
other launchers there. Here is the patch that I have.

* gnu/packages/xdisorg.scm (nwg-launchers): New variable.
---
 gnu/packages/xdisorg.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index f6f0157..5f7d63d 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -97,6 +97,7 @@
   #:use-module (gnu packages build-tools)
   #:use-module (gnu packages check)
   #:use-module (gnu packages compression)
+  #:use-module (gnu packages cpp)
   #:use-module (gnu packages datastructures)
   #:use-module (gnu packages documentation)
   #:use-module (gnu packages flex)
@@ -3061,6 +3062,29 @@ such as sway, similar to @command{rofi}.")
     (home-page "https://hg.sr.ht/~scoopta/wofi")
     (license license:gpl3+)))
 
+(define-public nwg-launchers
+  (package
+    (name "nwg-launchers")
+    (version "0.7.1.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/nwg-piotr/nwg-launchers")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0hq2qiqxvrw3g515ywcb676ljc8mdw3pyslgxr3vahizfljah1pv"))))
+    (build-system meson-build-system)
+    (native-inputs (list json-modern-cxx pkg-config))
+    (inputs (list gtk-layer-shell gtkmm-3 librsvg))
+    (home-page "https://github.com/nwg-piotr/nwg-launchers")
+    (synopsis "GTK-based launchers")
+    (description
+     "This package provides application grid, button bar and dmenu applications
+for sway and other window managers.")
+    (license license:gpl3+)))
+
 (define-public dex
   (package
     (name "dex")
--
libgit2 1.4.3