GNU bug report logs - #71769
[PATCH] gnu: add sway-launcher-desktop

Previous Next

Package: guix-patches;

Reported by: JetpackJackson <jetpackjackson <at> disroot.org>

Date: Tue, 25 Jun 2024 05:59:03 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 71769 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#71769; Package guix-patches. (Tue, 25 Jun 2024 05:59:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to JetpackJackson <jetpackjackson <at> disroot.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 25 Jun 2024 05:59:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: JetpackJackson <jetpackjackson <at> disroot.org>
To: guix-patches <at> gnu.org
Cc: JetpackJackson <baileyannew <at> tutanota.com>
Subject: [PATCH] gnu: add sway-launcher-desktop
Date: Mon, 24 Jun 2024 21:59:08 -0400
From: JetpackJackson <baileyannew <at> tutanota.com>

---
This patch adds sway-launcher-desktop to Guix. I wasn't sure where exactly to put it since it didn't seem to match things in packages/xdisorg.scm. This is my first time contributing, so please let me know if there's anything I need to fix.

 gnu/packages/sway-launcher-desktop.scm | 41 ++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)
 create mode 100644 gnu/packages/sway-launcher-desktop.scm

diff --git a/gnu/packages/sway-launcher-desktop.scm b/gnu/packages/sway-launcher-desktop.scm
new file mode 100644
index 0000000000..81846b202f
--- /dev/null
+++ b/gnu/packages/sway-launcher-desktop.scm
@@ -0,0 +1,41 @@
+(define-module (sway-launcher-desktop)
+  #:use-module (gnu packages terminals)
+  #:use-module (gnu packages)
+  #:use-module (guix build-system copy)
+  #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix git-download)
+  #:use-module (guix packages))
+
+(define-public sway-launcher-desktop
+  (package
+    (name "sway-launcher-desktop")
+    (version "1.7.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/Biont/sway-launcher-desktop")
+             (commit (string-append "v" version))))
+       (file-name (string-append "v" version))
+       (sha256
+        (base32 "0vphplphxfbdiwq0yk8ph7zlwlnghisnbwqjx7k9h93cy8n4rzcn"))))
+
+    (build-system copy-build-system)
+    (propagated-inputs (list fzf))
+    (arguments
+     `(#:install-plan '(("sway-launcher-desktop.sh"
+                         "bin/sway-launcher-desktop"))
+       #:phases (modify-phases %standard-phases
+                  (add-after 'install 'wrap-script
+                    (lambda* (#:key outputs #:allow-other-keys)
+                      (wrap-program (string-append (assoc-ref outputs "out")
+                                     "/bin/sway-launcher-desktop")
+                        `("PATH" =
+                          (,(getenv "PATH")))))))))
+
+    (synopsis "TUI application launcher menu")
+    (description
+     "sway-launcher-desktop is a TUI launcher made with bash and fzf.")
+    (home-page "https://github.com/Biont/sway-launcher-desktop")
+    (license license:gpl3)))
+sway-launcher-desktop

base-commit: 78d946b01162fbe986c6768800e8cfd6e70e67e5
-- 
2.45.1





This bug report was last modified 74 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.