mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 03:55:08 -06:00
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
This commit is contained in:
parent
abcc8deb46
commit
1f72aff5a6
1 changed files with 12 additions and 1 deletions
|
|
@ -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}")))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue