From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 25 01:58:22 2024 Received: (at submit) by debbugs.gnu.org; 25 Jun 2024 05:58:22 +0000 Received: from localhost ([127.0.0.1]:36130 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sLzC9-00068Z-EG for submit@debbugs.gnu.org; Tue, 25 Jun 2024 01:58:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:59014) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sLvTD-0005Ar-Ji for submit@debbugs.gnu.org; Mon, 24 Jun 2024 21:59:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sLvTB-0005Wj-KO for guix-patches@gnu.org; Mon, 24 Jun 2024 21:59:41 -0400 Received: from layka.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sLvT9-0002QA-A1 for guix-patches@gnu.org; Mon, 24 Jun 2024 21:59:41 -0400 X-Virus-Scanned: SPAM Filter at disroot.org From: JetpackJackson DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1719280774; bh=00m43WAjI67YCAok/6+DPS176HmytYFUrnkyBXWxmk4=; h=From:To:Cc:Subject:Date; b=LiMp5+DOSr8+TNbLlR5rpWi3cxlUAr3TtjZI1to10xOd+axHNpU0CyRxL7liGh4Wp SLBBuhqsBP414L353wXmVWnIZfj5at7V+VJVs/QGg0MTZCR/PlP7goMpKtB6/UMEmn TusTBv3ef1LLkydeBWpqDowFyy4VvWd2+58gA1t09QV5fHkqDXbYFtAblvrMlmMJwm 55/PsRjJe/hmoa2usVFu5VuKwzVOWpIO0H2duEN/T5aPqqPLeRdbBfUDWIlj6Cbrz/ wYTc4P8cCv4uANAFlURb+5pTFgzhLAT7Sm5AnpsokFPjAcE3YQ5x4ppDE30cBuCCKl NS9Fu+AMufO1w== To: guix-patches@gnu.org Subject: [PATCH] gnu: add sway-launcher-desktop Date: Mon, 24 Jun 2024 21:59:08 -0400 Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=178.21.23.139; envelope-from=jetpackjackson@disroot.org; helo=layka.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 25 Jun 2024 01:58:19 -0400 Cc: JetpackJackson X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) From: JetpackJackson --- 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