guix_mirror_bot pushed a commit to branch kde-team
in repository guix.

commit f57db5f96d8ad6424b27b1f97ba2520089a1653d
Author: Sughosha <[email protected]>
AuthorDate: Tue Oct 7 03:45:21 2025 +0530

    gnu: kalgebra: Move to kde-education.scm.
    
    * gnu/packages/kde.scm (kalgebra): Remove variable.
    * gnu/packages/kde-education.scm (kalgebra): New variable.
    
    Change-Id: If28ed85d5e4843beb54136da197420d6cf5507bd
---
 gnu/packages/kde-education.scm | 58 +++++++++++++++++++++++++++++++++++++++++-
 gnu/packages/kde.scm           | 56 ----------------------------------------
 2 files changed, 57 insertions(+), 57 deletions(-)

diff --git a/gnu/packages/kde-education.scm b/gnu/packages/kde-education.scm
index 01df1aa563..cd0f36b233 100644
--- a/gnu/packages/kde-education.scm
+++ b/gnu/packages/kde-education.scm
@@ -27,7 +27,10 @@
   #:use-module (gnu packages)
   #:use-module (gnu packages algebra)
   #:use-module (gnu packages kde-frameworks)
-  #:use-module (gnu packages qt))
+  #:use-module (gnu packages kde-plasma)
+  #:use-module (gnu packages ncurses)
+  #:use-module (gnu packages qt)
+  #:use-module (gnu packages readline))
 
 (define-public analitza
   (package
@@ -52,3 +55,56 @@ It adds mathematical features to your program, such as 
symbolic computations
 and some numerical methods; for instance the library can parse mathematical
 expressions and let you evaluate and draw them.")
     (license license:gpl2+)))
+
+(define-public kalgebra
+  (package
+    (name "kalgebra")
+    (version "24.12.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://invent.kde.org/education/kalgebra";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0g4rrq3csp0w6xhc5cbbilz7xhhq9zdngc8bc9d16p02xz61qd4i"))))
+    (build-system qt-build-system)
+    (arguments
+     (list
+      #:tests? #f
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'install 'wrap-qt-process-path
+            (lambda* (#:key inputs #:allow-other-keys)
+              (let ((bin (string-append #$output "/bin/kalgebra"))
+                    (qt-process-path
+                     (search-input-file
+                      inputs "/lib/qt6/libexec/QtWebEngineProcess")))
+                (wrap-program bin
+                  `("QTWEBENGINEPROCESS_PATH" = (,qt-process-path)))))))))
+    (native-inputs
+     (list extra-cmake-modules qttools))
+    (inputs
+     (list analitza
+           kconfigwidgets
+           kcoreaddons
+           kdoctools
+           ki18n
+           kio
+           kwidgetsaddons
+           kxmlgui
+           libplasma
+           ncurses
+           qtbase
+           qtdeclarative
+           qtsvg
+           qtwebengine
+           qtwebchannel
+           readline))
+    (home-page "https://invent.kde.org/education/kalgebra";)
+    (synopsis "Calculator and plotting tool")
+    (description "KAlgebra is a calculator that lets you plot different types
+of 2D and 3D functions and to calculate easy (and not so easy) calculations,
+such as addition, trigonometric functions or derivatives.")
+    (license license:gpl2+)))
diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index a56b9fa9d4..1d2812c328 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -72,7 +72,6 @@
   #:use-module (gnu packages gps)
   #:use-module (gnu packages graphics)
   #:use-module (gnu packages image)
-  #:use-module (gnu packages kde-education)
   #:use-module (gnu packages kde-frameworks)
   #:use-module (gnu packages kde-graphics)
   #:use-module (gnu packages kde-pim)
@@ -80,7 +79,6 @@
   ;; Including this module breaks the build.
   ;#:use-module ((gnu packages kde-systemtools) #:select (dolphin))
   #:use-module (gnu packages maths)
-  #:use-module (gnu packages ncurses)
   #:use-module (gnu packages pdf)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
@@ -88,7 +86,6 @@
   #:use-module (gnu packages pulseaudio)
   #:use-module (gnu packages python)
   #:use-module (gnu packages qt)
-  #:use-module (gnu packages readline)
   #:use-module (gnu packages scanner)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages video)
@@ -144,59 +141,6 @@ This package contains GUI widgets for baloo.")
     (description "This package provides a non-blocking Qt database framework.")
     (license license:lgpl2.1+)))
 
-(define-public kalgebra
-  (package
-    (name "kalgebra")
-    (version "24.12.3")
-    (source
-     (origin
-       (method git-fetch)
-       (uri (git-reference
-             (url "https://invent.kde.org/education/kalgebra";)
-             (commit (string-append "v" version))))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32 "0g4rrq3csp0w6xhc5cbbilz7xhhq9zdngc8bc9d16p02xz61qd4i"))))
-    (build-system qt-build-system)
-    (arguments
-     (list
-      #:tests? #f
-      #:phases
-      #~(modify-phases %standard-phases
-          (add-after 'install 'wrap-qt-process-path
-            (lambda* (#:key inputs #:allow-other-keys)
-              (let ((bin (string-append #$output "/bin/kalgebra"))
-                    (qt-process-path
-                     (search-input-file
-                      inputs "/lib/qt6/libexec/QtWebEngineProcess")))
-                (wrap-program bin
-                  `("QTWEBENGINEPROCESS_PATH" = (,qt-process-path)))))))))
-    (native-inputs
-     (list extra-cmake-modules qttools))
-    (inputs
-     (list analitza
-           kconfigwidgets
-           kcoreaddons
-           kdoctools
-           ki18n
-           kio
-           kwidgetsaddons
-           kxmlgui
-           libplasma
-           ncurses
-           qtbase
-           qtdeclarative
-           qtsvg
-           qtwebengine
-           qtwebchannel
-           readline))
-    (home-page "https://invent.kde.org/education/kalgebra";)
-    (synopsis "Calculator and plotting tool")
-    (description "KAlgebra is a calculator that lets you plot different types
-of 2D and 3D functions and to calculate easy (and not so easy) calculations,
-such as addition, trigonometric functions or derivatives.")
-    (license license:gpl2+)))
-
 (define-public kdsoap-ws-discovery-client
   (package
     (name "kdsoap-ws-discovery-client")

Reply via email to