This is an automated email from the git hooks/post-receive script.
guix_mirror_bot pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 1f72aff5a6 gnu: opensnitch-ui: Enable Wayland wrapper.
1f72aff5a6 is described below
commit 1f72aff5a6d332c8cebd7f13d10046346a62a158
Author: Danny Milosavljevic <[email protected]>
AuthorDate: Fri Jan 9 17:23:36 2026 +0100
gnu: opensnitch-ui: Enable Wayland wrapper.
* gnu/packages/networking.scm (opensnitch-ui)[arguments]<#:phases>{wrap-qt}:
New phase.
<#:modules>: Add (guix build qt-utils).
<#:imported-modules>: Add (guix build qt-utils).
[inputs]: Add qtsvg-5.
Change-Id: Ifd4e97275c6477644bb4199e8d6a7853f41d2d44
---
gnu/packages/networking.scm | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 081bc0b6ce..ddf9ed3e97 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -3148,6 +3148,11 @@ a per-application basis whenever a new outbound
connection is attempted.")
(arguments
(list
#:tests? #f ; TODO: Fix virustotal test (upstream)
+ #:modules '((guix build pyproject-build-system)
+ (guix build qt-utils)
+ (guix build utils))
+ #:imported-modules `(,@%pyproject-build-system-modules
+ (guix build qt-utils))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'chdir
@@ -3173,7 +3178,12 @@ a per-application basis whenever a new outbound
connection is attempted.")
(substitute* name
(("^import ui_pb2")
"from . import ui_pb2")))
- (find-files "opensnitch/proto" "ui_pb2_grpc.py")))))))
+ (find-files "opensnitch/proto" "ui_pb2_grpc.py"))))
+ (add-after 'install-rc 'wrap-qt
+ (lambda* (#:key inputs #:allow-other-keys)
+ (wrap-qt-program "opensnitch-ui"
+ #:output #$output
+ #:inputs inputs))))))
(native-inputs
(list python-setuptools
python-wheel
@@ -3187,6 +3197,7 @@ a per-application basis whenever a new outbound
connection is attempted.")
python-protobuf
python-requests
python-slugify
+ qtsvg-5
qtwayland-5))
(synopsis "UI for @code{opensnitch}")))