summary refs log tree commit diff
path: root/gnu/packages/kde-plasma.scm
diff options
context:
space:
mode:
authorPetr Hodina <phodina@protonmail.com>2022-08-23 20:13:56 +0200
committerMarius Bakke <marius@gnu.org>2022-11-21 22:01:10 +0100
commit848cd9950c2e85d4624de0d9fc854193ea300d72 (patch)
treedd013278886875998d3178b237de11e636ce9f83 /gnu/packages/kde-plasma.scm
parent05499412f56e7e5c16aa89313a65e357c3ca0ed5 (diff)
downloadguix-848cd9950c2e85d4624de0d9fc854193ea300d72.tar.gz
gnu: Add plasma-nm.
* gnu/packages/kde-plasma.scm (plasma-nm): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
Diffstat (limited to 'gnu/packages/kde-plasma.scm')
-rw-r--r--gnu/packages/kde-plasma.scm51
1 files changed, 51 insertions, 0 deletions
diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm
index 18ffaec6cb..0bfbae8f5f 100644
--- a/gnu/packages/kde-plasma.scm
+++ b/gnu/packages/kde-plasma.scm
@@ -38,12 +38,15 @@
   #:use-module (gnu packages compression)
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages glib)
+  #:use-module (gnu packages gnome)
   #:use-module (gnu packages gtk)
+  #:use-module (gnu packages kde)
   #:use-module (gnu packages kde-frameworks)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
   #:use-module (gnu packages video)
+  #:use-module (gnu packages vpn)
   #:use-module (gnu packages qt)
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xorg)
@@ -719,6 +722,54 @@ KDE Frameworks components.")
 on QtMultimedia and @command{yt-dlp}.")
     (license license:gpl3+)))
 
+(define-public plasma-nm
+  (package
+    (name "plasma-nm")
+    (version "5.25.5")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://kde/stable/plasma/"
+                                  version "/" name "-" version
+                                  ".tar.xz"))
+              (sha256
+               (base32
+                "036bx0qjrjanfxy8aiy6ab7rmm2h8l7wlkvlwhzw2hgl1w03xjps"))))
+    (build-system qt-build-system)
+    (arguments
+     (list #:phases #~(modify-phases %standard-phases
+                        (replace 'check
+                          (lambda* (#:key tests? #:allow-other-keys)
+                            (when tests?
+                              (invoke "ctest" "-E" "mobileproviderstest")))))))
+    (native-inputs (list extra-cmake-modules pkg-config))
+    (home-page "https://invent.kde.org/plasma/plasma-nm")
+    (inputs (list kconfigwidgets
+                  kcompletion
+                  kcoreaddons
+                  kdeclarative
+                  kdbusaddons
+                  kio
+                  ki18n
+                  networkmanager-qt
+                  knotifications
+                  kirigami
+                  plasma-framework
+                  modemmanager-qt
+                  network-manager
+                  qca
+                  kservice
+                  solid
+                  prison
+                  kwallet
+                  kwidgetsaddons
+                  kwindowsystem
+                  openconnect
+                  qtdeclarative-5))
+    (synopsis "Plasma applet for managing network connections")
+    (description "This package provides Plasma applet for managing network
+connections.")
+    (license (list license:lgpl2.1 license:lgpl3))))
+
 (define-public plasma-pass
   (package
     (name "plasma-pass")