From 2148a063fd300ce47352c918f4674d6ee53c3d3d Mon Sep 17 00:00:00 2001 From: Sughosha Date: Tue, 7 Oct 2025 03:40:35 +0530 Subject: [PATCH] gnu: analitza: Move to kde-education.scm. * gnu/packages/kde.scm (analitza): Remove variable. * gnu/packages/kde-education.scm: New file. * gnu/local.mk: Register it. Change-Id: I6360882f41d9c7ab7701091c0d5d5c4ac5c139cd --- gnu/local.mk | 1 + gnu/packages/kde-education.scm | 54 ++++++++++++++++++++++++++++++++++ gnu/packages/kde.scm | 25 +--------------- 3 files changed, 56 insertions(+), 24 deletions(-) create mode 100644 gnu/packages/kde-education.scm diff --git a/gnu/local.mk b/gnu/local.mk index 6e9e6e87f0f531ce6b327f1d1ea082b391521a06..b3d00de1a2852acc130e34503e7b36fec88a284c 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -404,6 +404,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/jupyter.scm \ %D%/packages/kawa.scm \ %D%/packages/kde.scm \ + %D%/packages/kde-education.scm \ %D%/packages/kde-frameworks.scm \ %D%/packages/kde-games.scm \ %D%/packages/kde-graphics.scm \ diff --git a/gnu/packages/kde-education.scm b/gnu/packages/kde-education.scm new file mode 100644 index 0000000000000000000000000000000000000000..77cbbca803772b6aba81e8ed66bb586b2bb00693 --- /dev/null +++ b/gnu/packages/kde-education.scm @@ -0,0 +1,54 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2025 Sughosha +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages kde-education) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix git-download) + #:use-module (guix build-system qt) + #:use-module (guix gexp) + #:use-module (guix utils) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (gnu packages) + #:use-module (gnu packages algebra) + #:use-module (gnu packages kde-frameworks) + #:use-module (gnu packages qt)) + +(define-public analitza + (package + (name "analitza") + (version "24.12.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://invent.kde.org/education/analitza") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "029n48pshcnyidnzv2ikyhamxg6j0ndbjavwrxdc29hrm00dmw8m")))) + (native-inputs (list extra-cmake-modules qttools)) + (inputs (list eigen qtbase qtdeclarative qtsvg)) + (build-system qt-build-system) + (home-page "https://invent.kde.org/education/analitza") + (synopsis "Library to add mathematical features to a program") + (description "Analitza is a library to work with mathematical objects. +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+))) diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm index 210e35b385486b0d961578a6705741fdcdc6fa73..a56b9fa9d418d5d5e6285d2fc8f456bb1b2cd005 100644 --- a/gnu/packages/kde.scm +++ b/gnu/packages/kde.scm @@ -72,6 +72,7 @@ #: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) @@ -143,30 +144,6 @@ This package contains GUI widgets for baloo.") (description "This package provides a non-blocking Qt database framework.") (license license:lgpl2.1+))) -(define-public analitza - (package - (name "analitza") - (version "24.12.3") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://invent.kde.org/education/analitza") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "029n48pshcnyidnzv2ikyhamxg6j0ndbjavwrxdc29hrm00dmw8m")))) - (native-inputs (list extra-cmake-modules qttools)) - (inputs (list eigen qtbase qtdeclarative qtsvg)) - (build-system qt-build-system) - (home-page "https://invent.kde.org/education/analitza") - (synopsis "Library to add mathematical features to a program") - (description "Analitza is a library to work with mathematical objects. -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")