diff options
| author | Danny Milosavljevic <dannym@friendly-machines.com> | 2026-01-09 17:23:36 +0100 |
|---|---|---|
| committer | Danny Milosavljevic <dannym@friendly-machines.com> | 2026-01-23 00:39:19 +0100 |
| commit | 1f72aff5a6d332c8cebd7f13d10046346a62a158 (patch) | |
| tree | 78042ec03784ef9f3f3c17940b220745593a0335 /gnu | |
| parent | abcc8deb46f86c681c0fcd76688efec16e7c18ab (diff) | |
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
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/networking.scm | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 081bc0b6cea..ddf9ed3e979 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.") | |||
| 3148 | (arguments | 3148 | (arguments |
| 3149 | (list | 3149 | (list |
| 3150 | #:tests? #f ; TODO: Fix virustotal test (upstream) | 3150 | #:tests? #f ; TODO: Fix virustotal test (upstream) |
| 3151 | #:modules '((guix build pyproject-build-system) | ||
| 3152 | (guix build qt-utils) | ||
| 3153 | (guix build utils)) | ||
| 3154 | #:imported-modules `(,@%pyproject-build-system-modules | ||
| 3155 | (guix build qt-utils)) | ||
| 3151 | #:phases | 3156 | #:phases |
| 3152 | #~(modify-phases %standard-phases | 3157 | #~(modify-phases %standard-phases |
| 3153 | (add-after 'unpack 'chdir | 3158 | (add-after 'unpack 'chdir |
| @@ -3173,7 +3178,12 @@ a per-application basis whenever a new outbound connection is attempted.") | |||
| 3173 | (substitute* name | 3178 | (substitute* name |
| 3174 | (("^import ui_pb2") | 3179 | (("^import ui_pb2") |
| 3175 | "from . import ui_pb2"))) | 3180 | "from . import ui_pb2"))) |
| 3176 | (find-files "opensnitch/proto" "ui_pb2_grpc.py"))))))) | 3181 | (find-files "opensnitch/proto" "ui_pb2_grpc.py")))) |
| 3182 | (add-after 'install-rc 'wrap-qt | ||
| 3183 | (lambda* (#:key inputs #:allow-other-keys) | ||
| 3184 | (wrap-qt-program "opensnitch-ui" | ||
| 3185 | #:output #$output | ||
| 3186 | #:inputs inputs)))))) | ||
| 3177 | (native-inputs | 3187 | (native-inputs |
| 3178 | (list python-setuptools | 3188 | (list python-setuptools |
| 3179 | python-wheel | 3189 | python-wheel |
| @@ -3187,6 +3197,7 @@ a per-application basis whenever a new outbound connection is attempted.") | |||
| 3187 | python-protobuf | 3197 | python-protobuf |
| 3188 | python-requests | 3198 | python-requests |
| 3189 | python-slugify | 3199 | python-slugify |
| 3200 | qtsvg-5 | ||
| 3190 | qtwayland-5)) | 3201 | qtwayland-5)) |
| 3191 | (synopsis "UI for @code{opensnitch}"))) | 3202 | (synopsis "UI for @code{opensnitch}"))) |
| 3192 | 3203 | ||
