From unknown Thu Aug 14 21:55:00 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#78535] [PATCH] gnu: Add networkmanager-dmenu. Resent-From: Junker Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 21 May 2025 13:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 78535 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 78535@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17478331915993 (code B ref -1); Wed, 21 May 2025 13:14:02 +0000 Received: (at submit) by debbugs.gnu.org; 21 May 2025 13:13:11 +0000 Received: from localhost ([127.0.0.1]:47291 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uHjFt-0001Y8-7W for submit@debbugs.gnu.org; Wed, 21 May 2025 09:13:11 -0400 Received: from lists.gnu.org ([2001:470:142::17]:59174) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uHjFp-0001Wc-EC for submit@debbugs.gnu.org; Wed, 21 May 2025 09:13:06 -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 1uHjFj-0003wG-Jy for guix-patches@gnu.org; Wed, 21 May 2025 09:12:59 -0400 Received: from mout-p-201.mailbox.org ([2001:67c:2050:0:465::201]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1uHjFh-0000Cs-0O for guix-patches@gnu.org; Wed, 21 May 2025 09:12:59 -0400 Received: from smtp102.mailbox.org (smtp102.mailbox.org [10.196.197.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4b2X0L2gwpz9sdB for ; Wed, 21 May 2025 15:12:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=junkeria.club; s=MBO0001; t=1747833170; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=7jIMMdj0Fn7g0wdoybsxtSAU4kl0pkOwKMuwpJwtiuo=; b=AXu82E2Y1vilHgPME0e7I7EdrkIxqD3nRhqVp/bE/gVwSAUgdua2LWbWuBWzmVRk3lRgyr wSmzUqpejFlIajBulmEQcycMY0HveJEarN14PiqRvnAW852l9a1PWqKqkYPK1O8Uag1c8z Dojp4kUjPmIXWNig2THOrzTpshooY+BjBtl5Bz1qo5DdHTTKyXychZvJ8ftVYw6h/+e1wV VQQXqPLkhtgxqMZ0+uJvv3S9va3NI4HKYketzidYa0l+KJwOZrbYGo77qU0sSzormcp+nK eW8vg1G7wPoSE+jLmXpqW/bp8BSEazJtV3QlvLsw/nJjpuw1LcoIYjISC5/JEw== Date: Wed, 21 May 2025 20:12:45 +0700 From: Junker Message-ID: <503e54b8f6be97c8627b049cd94445ea0005695c.1747833098.git.dk@junkeria.club> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2001:67c:2050:0:465::201; envelope-from=dk@junkeria.club; helo=mout-p-201.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) 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: -0.1 (/) * gnu/packages/networking.scm (networkmanager-dmenu): New variable. Change-Id: Id90b5e2190d2fe6417bee4dfb5b2de0ad5c33d54 --- gnu/packages/networking.scm | 50 +++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index aa69f3db75..63a24a2c12 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -67,6 +67,7 @@ ;;; Copyright © 2024 James Smith ;;; Copyright © 2025 Sughosha ;;; Copyright © 2025 B. Wilson +;;; Copyright © 2025 Junker ;;; ;;; This file is part of GNU Guix. ;;; @@ -1059,6 +1060,55 @@ (define-public blueman (home-page "https://github.com/blueman-project/blueman") (license license:gpl3+))) +(define-public networkmanager-dmenu + (package + (name "networkmanager-dmenu") + (version "2.6.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/firecat53/networkmanager-dmenu") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "00ys374sildafighd19q2mdbmrba283r0x0q0v59lpii3bsr9q1c")))) + (build-system copy-build-system) + (arguments + (list #:install-plan ''(("networkmanager_dmenu" "bin/")) + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'gi-wrap + (lambda _ + (let ((prog (string-append #$output "/bin/networkmanager_dmenu")) + (gi-typelib-path (getenv "GI_TYPELIB_PATH"))) + (wrap-program prog + `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))))))) + (inputs (list network-manager + python + bash-minimal)) + (native-inputs (list gobject-introspection)) + (home-page "https://github.com/firecat53/networkmanager-dmenu") + (synopsis "Dmenu interface for NetworkManager") + (description + "Manage NetworkManager connections with supported launchers instead of nm-applet. +Features: +@itemize +@item Connect to existing NetworkManager wifi or wired connections +@item Connect to new wifi connections. Requests passphrase if required +@item Connect to existing VPN, Wireguard, GSM/WWAN and Bluetooth connections +@item Enable/Disable wifi, WWAN, bluetooth and networking +@item Launch nm-connection-editor GUI +@item Support for multiple wifi adapters +@item Optional Pinentry support for secure passphrase entry +@item Delete existing connections +@item Rescan wifi networks +@item Uses notify-send for notifications if available +@item Start/stop/delete existing NetworkManager Hotspots +@item Show password/QR code for current Wifi network +@end itemize") + (license license:expat))) + (define-public nm-tray (package (name "nm-tray") base-commit: 11bc17c409d77cd1af91e30b5b9f6a73f873a152 -- 2.49.0